Tools / In the browser
Claude Code. setup checker.
Paste your CLAUDE.md and see what it costs each session, which rules are too vague to follow, which repeat, and which a hook could enforce instead.
- Runs in your browser
- Nothing is uploaded
- Token count is an estimate
- Tokens (estimate)
- ~0
- Lines
- 0 / 200
- Characters
- 0
Paste a CLAUDE.md, or try the example, and the results appear here as you type.
How it checks
Plain pattern rules, a few of each kind, each with its reason. Headings and code blocks are skipped. It reads one file, the text you paste; it does not run Claude Code or ask a model.
- Size Tokens are characters divided by four, an estimate and not Anthropic's counter. Lines are held against the 200 that Anthropic's memory docs suggest.
- Vague rules Wording Claude cannot check, like "write clean code", "be careful" or "where possible".
- Repeated rules The same rule on two lines, ignoring case, bullets and punctuation.
- Rules a hook could enforce CLAUDE.md is advice. Rules like "never push to main" or "run prettier after edits" can be hooks, which run every time. Why I run new hooks in warn mode first: Claude Code hooks: warn mode.
- Why size matters The file loads into every session. What sessions really cost: What Claude Code really costs.
Frequently Asked Questions
Is the token count exact?+
No. It is an estimate: characters divided by four, which is close for English prose and low for code or other languages. It is not Anthropic's tokenizer. Use it to compare versions of your file, not as a bill.
Is my CLAUDE.md uploaded anywhere?+
No. The checks run in your browser while you type. Nothing is sent to a server and nothing is stored.
Why under 200 lines?+
Anthropic's Claude Code memory docs suggest keeping each CLAUDE.md under 200 lines: every line loads into every session, and longer files are followed less reliably. The token line at about 2,500 is our own rule of thumb.
Does it read files my CLAUDE.md imports?+
No. It lists the @path imports it finds, because those files load with yours and cost tokens too. Paste their text below yours to count them.
Are the rules complete?+
No. There are a few rules on purpose, each with its reason shown. Claude Code changes fast, so a finding is a hint to look at that line, not a verdict. Claude Code's own /doctor prompt-audit checks things this page cannot, such as files that no longer exist.