Skip to content

claude-code

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

Claude News

{"telegram":"CostClaw audits Claude Code logs locally and prices the waste\n\nA Show HN project called CostClaw is a console tool that parses Claude Code session logs in JSONL straight off disk, including the sublogs from subagents and workflows. Parsing happens in memory and nothing leaves the machine; you run it with npx costclaw audit.\n\nThe report hunts four kinds of waste: cache misses (cache reads run $0.30 per million tokens against $3.00 for input), sessions that hammer a single tool a hundred times, short tasks sent to Opus at $15 per million tokens instead of Sonnet's $3, and long sessions where caching stops paying for itself. It also scores six areas separately, from CLAUDE.md quality to spending discipline.\n\nEvery build seeds the test logs with traps: a fake prompt and a client path. The CLI is free, and costclaw optimize unlocks with a one-time $39 license."}

Related stories

  1. AI Usage Ball shows Claude quota as liquid orbs on macOS
  2. ctx2img packs whole repos into image tiles, cutting token use 60-75%
  3. 57% of public Claude Code subagents inherit Bash
  4. Toolog keeps a forensic log of Claude Code tool calls
  5. Stemma compiles agent rules into CLAUDE.md and AGENTS.md
  6. Spotify's shunt blocks Claude Code reads over 350 lines

Comments

No comments yet. Be the first.

Join the conversation

Sign in with Google to leave a comment. Your name and avatar come from your Google profile, and the comment appears after moderation.

We only use your name and avatar from Google. We never store your email address.