CLAUDE.md Generator & Auditor
Create a high-signal CLAUDE.md with @import references or paste your existing /init output to score token bloat, missing test gates, and secret leaks.
CLAUDE.md
Live Quality Score
Paste Your CLAUDE.md or /init Output
Frequently Asked Questions
- Why audit an auto-generated /init CLAUDE.md file?
- Automated /init scripts frequently dump obvious file listings and generic advice that consume 2,000+ tokens on every Claude Code session. Trimming it under 150 lines improves instruction adherence and reduces prompt cache overhead.
- How do @file imports work in CLAUDE.md?
- Claude Code resolves lines starting with @path/to/file.md (up to 5 hops) to load detailed runbooks or schemas only when referenced, keeping your root CLAUDE.md short.
- What does the 0–100 CLAUDE.md Auditor check?
- It checks line count (<= 150 target), estimated tokens (<= 1,500 target), executable build/test commands, negative boundaries ("Never / Do not"), directory maps, vague filler phrases, duplicate headings, and accidental API keys.