claude-optimizer
Installation
SKILL.md
Claude Optimizer
Why This Matters
CLAUDE.md is loaded into context on every single turn. Bloated or poorly structured instructions compete with the user's actual request for attention. A well-structured CLAUDE.md dramatically improves compliance; a 10K-token wall of prose does the opposite.
Workflow
Step 1 — Always read and measure
find . -name CLAUDE.md -print
wc -w path/to/CLAUDE.md
rg -n '(^|\s)@[^\s]+' $(find . -name CLAUDE.md -print)
# Rough token estimate: word count ÷ 0.75
Also inspect nested CLAUDE.md files and @-referenced files because they may
load into context too. Report any referenced file you did not inspect.