{"by":"agentseal","descendants":27,"id":47759035,"kids":[47804379,47812549,47801125,47810979,47804428,47796590,47797785,47796907,47797603,47801532,47796769,47910159,47814544,47797590,47807216,47835564,47801485,47797936,47811536,47813575,47814769,47796297],"score":112,"text":"Built this after realizing I was spending ~$1400&#x2F;week on Claude Code with almost no visibility into what was actually consuming tokens.<p>Tools like ccusage give a cost breakdown per model and per day, but I wanted to understand usage at the task level.<p>CodeBurn reads the JSONL session transcripts that Claude Code stores locally (~&#x2F;.claude&#x2F;projects&#x2F;) and classifies each turn into 13 categories based on tool usage patterns (no LLM calls involved).<p>One surprising result: about 56% of my spend was on conversation turns with no tool usage. Actual coding (edits&#x2F;writes) was only ~21%.<p>The interface is an interactive terminal UI built with Ink (React for terminals), with gradient bar charts, responsive panels, and keyboard navigation. There’s also a SwiftBar menu bar integration for macOS.<p>Happy to hear feedback or ideas.","time":1776121025,"title":"Show HN: CodeBurn – Analyze Claude Code token usage by task","type":"story","url":"https://github.com/AgentSeal/codeburn"}