Hidden Directory Listing Failure in LS Tool Compared to Bash ls

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

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

View original on GitHub ↗

6 Comments

burchbobby · 1 year ago

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.

jakswa · 1 year ago

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

eighteyes · 1 year ago

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

rcdailey · 1 year ago

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

  • #2336
  • #1818
  • #611
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.