Connect Clawsmith to your coding agent. Ship products like crazy.Unlimited usage during betaGet API Key →
← Back to ideas
clawsmith.com/idea/detect-idle-turn-waste-across-claude-code-codex-sessions
IdeaCompetitiveCLIDEVTOOLCOST-ANALYTICSLive

A CLI tool that reads Claude Code and Codex CLI session logs, quantifies token spend burned on idle turns, and shows per-session cost breakdowns devs can actually act on

Claude Code and Codex CLI ship with no native cross-session cost visibility. Devs spending $1,400+/week have zero built-in way to see where that money went. A community ecosystem filled the gap fast: Claude-Code-Usage-Monitor hit 8.2k GitHub stars and CodeBurn's HN launch (245 pts, 135 comments) found that 56% of spend goes to idle turns where the agent is waiting, retrying, or stalled. The existing tools surface totals but stop there. This CLI parses the raw session logs from both tools, classifies each turn as productive vs idle, ranks the sessions and workflows burning the most waste, and outputs a daily cost breakdown devs can use to cut their bill without changing their workflow.

Demand Breakdown

GitHub
8,623
HN
519

Gap Assessment

CompetitiveMultiple tools exist but differentiation opportunities remain

3 tools exist (Claude-Code-Usage-Monitor, CodeBurn, ccusage) but gaps remain: No idle-turn classification. No cross-session history. No per-workflow breakdown. No Codex CLI support. Shows you the number but not what drove it or what to cut.; Single-session only. No real-time view. No daily/weekly trend. No actionable per-turn waste ranking. No Codex CLI support..

Features2 agent-ready prompts

Session log parser that reads Claude Code and Codex CLI JSONL logs, classifies each turn as productive or idle, and outputs per-session token cost with idle-turn breakdown
Daily cost digest generator that ranks sessions and workflows by idle-turn waste and emails or prints a human-readable report devs can act on

Competitive LandscapeFREE

ProductDoesMissing
Claude-Code-Usage-MonitorReal-time token usage display for Claude Code with cutoff predictions and color-coded warnings. Shows running totals per session.No idle-turn classification. No cross-session history. No per-workflow breakdown. No Codex CLI support. Shows you the number but not what drove it or what to cut.
CodeBurnPost-session analysis of Claude Code token spend by task. Identified the 56% idle-turn finding.Single-session only. No real-time view. No daily/weekly trend. No actionable per-turn waste ranking. No Codex CLI support.
ccusageCLI that reads Claude Code local logs and displays aggregated token counts and cost estimates.No idle vs productive turn classification. No waste ranking. No cross-tool support (Codex). Totals only, no actionable breakdown.

Leads41BUILDER

@Maciek-roboblog
@ryoppippi
@agentseal
@joshmlewis
@momentmaker
@rpotluri
@visarga
@WXLCKNO
41 people already want this

Sign in to unlock full access.