Skip to content

How to tell claude CLI agent to ignore directories (i.e. is there a ".claudeignore"?) #79

Description

@dannguyen

Was playing around with the CLI tool and noticed that for a relatively small project (<5000 tokens), Claude was regularly making queries using 120,000+ input tokens. I thought it would ignore ancillary code and cache folders (e.g. node_modules/) but I'm not so sure now; asking it if it ignores node_modules/ gives me inconsistent answers

Is there a way to specify that certain folders in a project codebase be ignored?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions