[FEATURE] .claudeignore
Resolved 💬 3 comments Opened Jan 21, 2026 by dabreaks Closed Jan 25, 2026
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
I often struggle with credential management, and I'm unwilling to delegate reading and utilizing credentials to my agents directly.
Proposed Solution
similar to .gitignore, I'd like explicitly set Claude not to be able to read/interact with certain filesystem paths or names
Alternative Solutions
I've tried putting some things into my prompts, claude.md, or agents, but my tolerance for leaking credentials is at 0, so having something clear and always applied matters to me.
Priority
Medium - Would be very helpful
Feature Category
Developer tools/SDK
Use Case Example
I'm working a on a react front end.
I have production and local keys. I'd like claude to be able to interact with my local keys, but not my production ones directly.
Additional Context
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗