Fictional data. Generated by the same engine as the CLI. No files on your device were read. These figures are list-price estimates, not a bill or promised savings.
Run the free audit on your own machine
A transparent heuristic from observed setup signals, not an Anthropic grade.
Your CLAUDE.md is 40 characters, about 10 tokens loaded on every turn.
Do this: Add the conventions, commands, and constraints the agent keeps getting wrong so it stops re-deriving them every session.
You wrote 1.00 cache tokens for every one read; healthy caching reads far more than it writes.
Do this: You are writing cache faster than you read it back. Stop editing CLAUDE.md mid-session and keep the opening reads identical, so one write serves many turns.
$0.02 of your $0.18 main-session spend went to input your setup could have served from cache, on top of the $0.00 first turns must pay whatever you do. Biggest contributors: sample-project.
Most of it sits in sample-project. Open that project the same way every time (same CLAUDE.md, same first reads) so turn two onward reads the prefix at about a tenth of the input price instead of re-paying for it.
Uncached input priced at the gap between the input and cache-read rates, plus cache writes the same session never read back, summed across main sessions. Cache writes that earned reads are excluded: they are the price of having a cache.
Your CLAUDE.md is thin. Add the conventions, commands, and constraints the agent keeps getting wrong so it stops re-deriving them every session.
CLAUDE.md quality gap (Size).
Put any workflow you have typed twice into .claude/skills/<name>/SKILL.md and invoke it with /name. Delegate broad investigation to a subagent so the reading stays out of your main context.
Prompting patterns gap (Reusable workflows).
Amounts are list-price estimates from logged token fields using the current pricing snapshot. Cache-miss exposure is a bounded counterfactual, not savings or a billing reconciliation. Activity windows use 15-minute activity bins and do not measure work time. Pricing snapshot: 2026-09-14; accounting method: v2.
This audit estimates $0.02 of recoverable waste at current API list prices. costclaw optimize turns this audit into the files that recover it: a filled-in CLAUDE.md, a ranked fix playbook, a suggested settings.json allowlist, a work order your own Claude Code applies, and a dashboard showing your CLAUDE.md before and after.
Then, once the key arrives:
npx costclaw activate <key>
cd <your-project>
npx costclaw optimizeEvery audit snapshots the derived record locally. Rerun in a week and compare: new valuation estimates, the cache hit rate for just that period, pillar movement, and which fixes resolved.
npx costclaw audit
npx costclaw diffA 600x315 score card for a post, and a shields-style badge for a README. Both are static SVGs with only derived numbers.
npx costclaw audit --card
npx costclaw badge| costclaw audit | Cost report, setup score, ranked fixes, this HTML report. Free. |
| costclaw audit --plan <p> | Declare api, pro, max5x, or max20x; remembered for later runs. |
| costclaw diff | Compare the latest two audits, or two --json records. Free. |
| costclaw badge | Fresh audit plus a README badge SVG. Free. |
| costclaw optimize | Write the optimized CLAUDE.md, playbook, settings, work order, and dashboard. Licensed. |
| costclaw activate / deactivate | Install or move the license on this machine. Offline. |
| costclaw --help | Every flag, per command. |
Docs and pricing: costclaw.io. A hosted dashboard with history and team views is in progress; the waitlist is on the pricing section. It will only ever receive the derived record, never your logs.