claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Hidden Directory Listing Failure in LS Tool Compared to Bash ls

Open lkingland opened this issue 11 months ago • 4 comments

Bug Description It appears that when Claude uses its internal LS tool wrapper it is unable to list contents of hidden directories (starting with .). When instructed to instead use the standard ls command directly, it functions correctly.

Environment Info

  • Platform: linux
  • Terminal: tmux
  • Version: 0.2.53
  • Feedback ID: 21a8bb82-9980-41f9-bcfd-b47fa5f235c5

lkingland avatar Mar 25 '25 02:03 lkingland

Relatedly, I notice that when I use the @ command to import a file, files within hidden directories are not included. I have become partial to creating an .ai directory to store agent context and directives, as well as project planning documentation. Claude Code does not seem to see these files nor is it able to interact with them.

burchbobby avatar May 07 '25 19:05 burchbobby

This one is getting pretty annoying for me. Might be time for a all-time CLAUDE.md way up high that is always ingested...

jakswa avatar Jun 14 '25 01:06 jakswa

big time annoying for sure, lots of configuration files are stored in hidden directories

eighteyes avatar Jun 16 '25 16:06 eighteyes

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

  • #2336
  • #1818
  • #611

rcdailey avatar Jun 29 '25 15:06 rcdailey

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

Image

ollie-anthropic avatar Jul 31 '25 07:07 ollie-anthropic

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.

github-actions[bot] avatar Aug 07 '25 14:08 github-actions[bot]