Sample CostClaw audit

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

Source: Synthetic Claude Code logs (1 session across 1 project)

CLAUDE.md: Synthetic CLAUDE.md

Pricing snapshot: 2026-09-14

Current API-equivalent valuation (estimate)
$0.18
Cache hit rate
45.8%
Session hours (timestamp union)
0.1
Model spend
sonnet 100%
Cache writes that earned their reads
$0.12
working cost, not waste

Pricing caution: Values are estimated at the current list-price snapshot; records without explicit pricing metadata use standard rates.

Pricing caution: Cache writes without TTL metadata were estimated at the standard five-minute rate.

Projects by estimated current API-equivalent valuation

sample-project$0.18

Rule-based setup score

58 / 100 Leaky

A transparent heuristic from observed setup signals, not an Anthropic grade.

CLAUDE.md quality61
Weakest: Size (24)

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.

Context hygiene23
Weakest: Cache churn (0)

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.

Prompting patternsn/a
Session management100
Tool and MCP confign/a
Cost disciplinen/a

Top changes, ranked by what they recover

Other issues to tighten

Methodology

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.

What to do next

  1. 1

    Apply the fixes with optimize

    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.

    $39 one-time
    • Key emailed in about a minute
    • Verified offline on your machine, no license server
    • Every project, unlimited runs
    • Move it between machines with activate and deactivate
    See pricing and next steps

    Then, once the key arrives:

    npx costclaw activate <key>
    cd <your-project>
    npx costclaw optimize
  2. 2

    Track the movement

    Every 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 diff
  3. 3

    Share the score

    A 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

Command reference

costclaw auditCost report, setup score, ranked fixes, this HTML report. Free.
costclaw audit --plan <p>Declare api, pro, max5x, or max20x; remembered for later runs.
costclaw diffCompare the latest two audits, or two --json records. Free.
costclaw badgeFresh audit plus a README badge SVG. Free.
costclaw optimizeWrite the optimized CLAUDE.md, playbook, settings, work order, and dashboard. Licensed.
costclaw activate / deactivateInstall or move the license on this machine. Offline.
costclaw --helpEvery 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.