can't reference folders and files starting with `.` , e.g., `.claude`

Status Fixed / completed
Maintainer reply ✓ Yes — ThariqS
Activity 13 comments · opened Jun 11, 2025 · closed Aug 22, 2025
💡 Likely answer: A maintainer (ThariqS, collaborator) responded on this thread — see the highlighted reply below.

running on macOS 15.5 in Ghostty. latest claude code version.

I am able to reference with @ just fine most of the files in repo. however, files located in .claude or any other folder starting with . are not being picked up by @ command.

is that a bug or by design?

View original on GitHub ↗

13 Comments

ZachHandley · 1 year ago

^ I am also requesting this

AppFzx · 1 year ago

Same. Autocomplete doesn't recognize the .github folder so Claude can modify github actions BUT if I write out the reference, it can access the files and modify them as requested.
This is definitely a bug - either the files should be hidden from referencing AND hidden from access by Claude or they should be accessible and referenceable.

tomascufaro · 1 year ago

I'm having the same issue. It does not find the file when using @, but the agent works when writing the relative path or the reference.

christiaan-bronkhorst · 1 year ago

+1

ahmedqasid · 1 year ago

+1

ZachK543 · 1 year ago

+1

RealmX1 · 1 year ago

+1

Jropp · 1 year ago

+1

ariel-rahmane · 1 year ago

+1

luiz00martins · 1 year ago

+1

valentin-demange · 1 year ago

+1

ThariqS collaborator · 1 year ago

This is fixed now! ty @dicksontsai

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.