cd /news/developer-tools/show-hn-costclaw-a-local-cli-that-fi… · home topics developer-tools article
[ARTICLE · art-87245] src=costclaw.io ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Show HN: CostClaw, a local CLI that finds your Claude Code spend leaks

CostClaw, a new local CLI tool, analyzes Claude Code usage and found $1,284.50 in recoverable spend from cache misses across 1,840 sessions and 41 projects, with a total spend of $6,240.18 and a 95.1% cache hit rate. The tool provides an overall setup score of 88/100 and recommends stabilizing session starts to reuse the prompt cache, potentially saving $1,284.50.

read1 min views1 publishedAug 5, 2026
Show HN: CostClaw, a local CLI that finds your Claude Code spend leaks
Image: source

~/.claude/projects 1840 sessions · 41 projects · CLAUDE.md found

Recoverable spend $1,284.50 cache-miss exposure

  • Spend analyzed

  • $6,240.18

  • Cache hit

  • 95.1%

  • Active hours

  • 538

Model spend opus 58% / sonnet 33% / haiku 9%

Overall setup score 88 / 100 Tight

  • CLAUDE.md quality 78
  • Context hygiene 95
  • Prompting patterns 92
  • Session management 84
  • Tool and MCP config 100
  • Cost discipline 70

Top fix by recoverable spend

$1,284.50 Recover spend lost to cache misses Keep the start of each session stable so the prompt cache is reused instead of rebuilt.

  • $52.40 Use a cheaper model for 61 small sessions
  • $18.90 Compact four long sessions that lost the cache
  • warn Workflow and subagent runs cost $214
  • warn Three projects fire one tool 100+ times per session
── more in #developer-tools 4 stories · sorted by recency
── more on @costclaw 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-costclaw-a-l…] indexed:0 read:1min 2026-08-05 ·