Claude-ignore is a pre-tool-use hook that prevents Claude from reading files matching patterns in .claudeignore files. It benefits developers and operations teams by controlling file access, similar to .gitignore. It integrates with Claude Code and is useful for managing sensitive or irrelevant files in automated workflows.
git clone https://github.com/li-zhixin/claude-ignore.gitClaude-ignore is a pre-tool-use hook that prevents Claude from reading files matching patterns in .claudeignore files. It benefits developers and operations teams by controlling file access, similar to .gitignore. It integrates with Claude Code and is useful for managing sensitive or irrelevant files in automated workflows.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/li-zhixin/claude-ignoreCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Create a .claudeignore file for a [COMPANY] project in the [INDUSTRY] sector. The project contains [DATA] files that should not be processed by Claude. Include patterns to exclude sensitive files, temporary files, and irrelevant directories.
# .claudeignore for [COMPANY] project in the [INDUSTRY] sector # Sensitive files *.env *.secrets *.credentials # Temporary files *.tmp *.log *.swp # Irrelevant directories node_modules/ dist/ build/ # Specific data files to exclude [data]/raw/ [data]/temp/ # Example of a specific file to exclude config/production.json
AI assistant built for thoughtful, nuanced conversation
Agents that listen, think and act for you.
Automated Meeting Reports Transcripts Notes Video Coaching
Build custom sales tools fast
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan