Hidden Files Not Displayed with '@.hidden' Command

Status Fixed / completed
Maintainer reply ✓ Yes — ollie-anthropic
Activity 12 comments · opened Jun 19, 2025 · closed Jul 31, 2025
💡 Likely answer: A maintainer (ollie-anthropic, collaborator) responded on this thread — see the highlighted reply below.

Bug Description
Hidden Files/Directories not shown using '@' command

using @.hidden doesn't work, hidden files/dirs not shown if preceeded by '.' I expect it to follow .gitignore or possibly VS code's ignore settings and them to be overidden by explicitly writing a '.'

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 1.0.30
  • Feedback ID: fbe40168-20d6-4db8-9433-d15049063971

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at NZ (file:///Users/sean.middleton/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:699:3921)\n    at file:///Users/sean.middleton/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:9014\n    at Q (file:///Users/sean.middleton/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n    at QX (file:///Users/sean.middleton/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:8160)\n    at kS (file:///Users/sean.middleton/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:7241)\n    at L9 (file:///Users/sean.middleton/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:11408)","timestamp":"2025-06-19T21:07:52.233Z"}]

View original on GitHub ↗

12 Comments

adawalli · 1 year ago

agree with you @MiddSea - this seems like a bug - there are a lot of files that we want claude to look at in hidden directories (even outside of .claude but you have to just type it out by hand

ghost · 1 year ago

Adding

!.*
!.config/
!.config/**/*

to my .gitignore allowed claude to discover hidden files with @

ghost · 1 year ago

^ well that worked for a day, i don't know why but no longer works

johnnyshankman · 1 year ago

I am also experiencing this issue. Can't reference my .github/ workflows.

zbeyens · 1 year ago

Adding !.* at the top of .gitignore fixed it for me.

rcdailey · 1 year ago

Linking related issues for visibility - please upvote if you're experiencing this too:

  • #2336
  • #1818
  • #611
npupko · 1 year ago

Feels like this might be relevant too:

plattenschieber · 1 year ago

You can still reference hidden files e.g. @.github/workflows/ci.yml - but only by typing them out 😅

whrit · 1 year ago
Adding !.* at the top of .gitignore fixed it for me.

This worked for me too!

dragonworx · 1 year ago
Adding !.* at the top of .gitignore fixed it for me.

Can confirm this too.

ollie-anthropic collaborator · 1 year ago

Hey all, hidden files should be available now for searching in the latest release (v1.0.64) :)

<img width="229" height="67" alt="Image" src="https://github.com/user-attachments/assets/34f84fa4-e217-427e-a186-d3717148b9eb" />

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.