Got inspired by one of Brandon's videos and built something to fix the token burn issue with Claude Code.
Claude Ignore Optimizer - auto-generates an optimized .claudeignore file for your project.
What it does:
- Detects your framework/stack automatically,
- Finds duplicate AI configs (.cursor, .windsurf, etc.),
- Ignores build artifacts, lock files, git history,
- Keeps your actual code visible,
Just ran it on my Next.js project: went from 236 files to 90 relevant ones. 75% token reduction.
Takes like 2 minutes to run. Open source.
I haven't quite figured out how to get it to work with Claude Code CLI quite yet however that works great with desktop and Claude web