frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: CodeBurn – Analyze Claude Code token usage by task

https://github.com/AgentSeal/codeburn
31•agentseal•2d ago
Built this after realizing I was spending ~$1400/week on Claude Code with almost no visibility into what was actually consuming tokens.

Tools like ccusage give a cost breakdown per model and per day, but I wanted to understand usage at the task level.

CodeBurn reads the JSONL session transcripts that Claude Code stores locally (~/.claude/projects/) and classifies each turn into 13 categories based on tool usage patterns (no LLM calls involved).

One surprising result: about 56% of my spend was on conversation turns with no tool usage. Actual coding (edits/writes) was only ~21%.

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.

Happy to hear feedback or ideas.

Comments

giancarlostoro•1h ago
> The interface is an interactive terminal UI built with Ink (React for terminals)

Just like Claude Code btw.

I'm working on a custom harness because I don't like or trust some of the ones out there, so I'm going to build one purely for myself and my own needs to see just how they work, and figure out some of what you've learned by looking at how Claude works, so I might add your project to my list of tooling to look at.

agentseal•1h ago
yeah Ink, it was the fastest path to something that felt native next to Claude Code itself
halostatue•1h ago
Doesn't seem to work with Cursor Agent (which may store its data in ~/.cursor).
agentseal•52m ago
you are right. thats cursor-agent (the CLI), not the Cursor IDE. CodeBurn only parses the IDE's state.vscdb right now. cursor agent keeps transcripts under ~/.cursor/projects/*/agent-transcripts/ which we dont read yet.

filed an issue to add it: https://github.com/AgentSeal/codeburn/issues/55

cursor support only landed yesterday, so CLI is next. thanks for catching it.

halostatue•14m ago
Cursor Agent itself suggests that this probably won't be easy as some of the data is missing.
hmokiguess•1h ago
Very cool! I saw a similar product recently that I liked but I much prefer your approach to theirs[1]

[1] https://github.com/cordwainersmith/Claudoscope

coatol5•21m ago
Made something similar a while back: https://www.clauderank.com/ Completely open source
ieie3366•19m ago
"Built this after realizing I was spending ~$1400/week on Claude Code with almost no visibility into what was actually consuming tokens."

holy slop. the $200/month plan has NEVER hit rate limits for me and I often run 5+ tabs of concurrent agents in a large 300k LoC codebase

Isolated_Routes•6m ago
I like this a lot An interesting next iteration would be to add a functionality that evaluates a user's work for inefficiencies and suggests where they can improve cut cost. Might be outside the scope of your project, but it could be interesting.

Claude Opus 4.7

https://www.anthropic.com/news/claude-opus-4-7
970•meetpateltech•4h ago•752 comments

Codex for Almost Everything

https://openai.com/index/codex-for-almost-everything/
264•mikeevans•1h ago•116 comments

Qwen3.6-35B-A3B: Agentic coding power, now open to all

https://qwen.ai/blog?id=qwen3.6-35b-a3b
630•cmitsakis•5h ago•302 comments

Cloudflare's AI Platform: an inference layer designed for agents

https://blog.cloudflare.com/ai-platform/
156•nikitoci•5h ago•36 comments

PCI Express over Fiber [video]

https://www.youtube.com/watch?v=XaDa9bBucEI
21•mmastrac•5d ago•2 comments

The future of everything is lies, I guess: Where do we go from here?

https://aphyr.com/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here
336•aphyr•5h ago•314 comments

Launch HN: Kampala (YC W26) – Reverse-Engineer Apps into APIs

https://www.zatanna.ai/kampala
37•alexblackwell_•3h ago•36 comments

Artifacts: Versioned storage that speaks Git

https://blog.cloudflare.com/artifacts-git-for-agents-beta/
76•jgrahamc•5h ago•4 comments

Six Characters

https://ajitem.com/blog/iron-core-part-2-six-characters/
44•Airplanepasta•3d ago•6 comments

We gave an AI a 3 year retail lease and asked it to make a profit

https://andonlabs.com/blog/andon-market-launch
121•lukaspetersson•3h ago•176 comments

Darkbloom – Private inference on idle Macs

https://darkbloom.dev
433•twapi•14h ago•211 comments

Show HN: CodeBurn – Analyze Claude Code token usage by task

https://github.com/AgentSeal/codeburn
31•agentseal•2d ago•11 comments

IPv6 traffic crosses the 50% mark

https://www.google.com/intl/en/ipv6/statistics.html?yzh=28197
701•Aaronmacaron•1d ago•484 comments

Show HN: MacMind – A transformer neural network in HyperCard on a 1989 Macintosh

https://github.com/SeanFDZ/macmind
78•hammer32•5h ago•19 comments

Cloudflare Email Service

https://blog.cloudflare.com/email-for-agents/
321•jilles•5h ago•137 comments

The paper computer

https://jsomers.net/blog/the-paper-computer
241•jsomers•3d ago•72 comments

FSF trying to contact Google about spammer sending 10k+ mails from Gmail account

https://daedal.io/@thomzane/116410863009847575
328•pabs3•15h ago•193 comments

AI cybersecurity is not proof of work

https://antirez.com/news/163
158•surprisetalk•8h ago•68 comments

Codex Hacked a Samsung TV

https://blog.calif.io/p/codex-hacked-a-samsung-tv
167•campuscodi•8h ago•96 comments

Japan implements language proficiency requirements for certain visa applicants

https://www.japantimes.co.jp/news/2026/04/15/japan/society/jlpt-visa-requirement/
48•mikhael•2h ago•23 comments

Modern Microprocessors – A 90-Minute Guide

https://www.lighterra.com/papers/modernmicroprocessors/
152•Flex247A•4d ago•18 comments

Qwen3.6-35B-A3B on my laptop drew me a better pelican than Claude Opus 4.7

https://simonwillison.net/2026/Apr/16/qwen-beats-opus/
24•simonw•1h ago•2 comments

ChatGPT for Excel

https://chatgpt.com/apps/spreadsheets/
300•armcat•21h ago•186 comments

PHP 8.6 Closure Optimizations

https://wiki.php.net/rfc/closure-optimizations
75•moebrowne•2d ago•16 comments

Mozilla Thunderbolt

https://www.thunderbolt.io/
274•dabinat•5h ago•241 comments

Claude Opus 4.7 Model Card

https://anthropic.com/claude-opus-4-7-system-card
129•adocomplete•4h ago•63 comments

Laravel raised money and now injects ads directly into your agent

https://techstackups.com/articles/laravel-raised-money-and-now-injects-ads-directly-into-your-agent/
154•mooreds•4h ago•85 comments

Cybersecurity looks like proof of work now

https://www.dbreunig.com/2026/04/14/cybersecurity-is-proof-of-work-now.html
528•dbreunig•2d ago•197 comments

€54k spike in 13h from unrestricted Firebase browser key accessing Gemini APIs

https://discuss.ai.google.dev/t/unexpected-54k-billing-spike-in-13-hours-firebase-browser-key-wit...
358•zanbezi•6h ago•251 comments

RamAIn (YC W26) Is Hiring

https://www.ycombinator.com/companies/ramain/jobs/bwtwd9W-founding-gtm-operations-lead
1•svee•11h ago