$ npx codeburn copy
What it does
CodeBurn is an interactive TUI dashboard for Claude Code usage. Instead of reading a plain text table, you get gradient charts, keyboard navigation, and an at-a-glance view of where your tokens are going — plus automatic categorization of tasks into 13 buckets and a one-shot success rate metric.

Features
- Interactive dashboard — gradient charts + keyboard navigation for visual exploration
- 13 task categories — coding, debugging, testing, refactoring, brainstorming, and more — auto-classified
- One-shot success rate — detects edit → test → edit cycles to measure AI accuracy
- Multi-model support — unified tracking across Claude (Opus/Sonnet/Haiku), GPT-4o, Gemini
- macOS menu-bar widget — SwiftBar plugin for menu-bar token monitoring
- Data export — CSV and JSON reports
Usage
codeburn # interactive dashboard (default: 7 days)
codeburn today # today's usage
codeburn month # this month's usage
codeburn status # one-line summary
codeburn export # generate a report
Notes
- No API key — reads local JSONL session files from
~/.claude/projects/directly. - Deterministic classification — task categorization runs without LLM calls, so no extra cost.
- Requires Node.js 20 or later.
- Overlaps with ccusage but focuses on interactive visualization and task classification.
- MIT licensed.