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•54m 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•15m 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•22m ago
Made something similar a while back: https://www.clauderank.com/ Completely open source
ieie3366•21m 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

agentseal•3m ago
not $1,400 out of pocket, thats the API equivalent cost of the tokens. I am on the $200/month Max plan :D.

In my case I mostly consume every bit of the weekly subscription.

Isolated_Routes•7m 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.
agentseal•2m ago
already on that probably in an hour it will be published. will let you know once it does.

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

https://github.com/AgentSeal/codeburn
31•agentseal•2d ago•11 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

Show HN: Home Memory – A local DB of my house, down to cables and pipes

https://github.com/impactjo/home-memory
14•impactjo•4h ago•3 comments

Show HN: Stage – Putting humans back in control of code review

https://stagereview.app/
7•charleslpan•1h ago•2 comments

Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis

10•kaliades•6h ago•3 comments

Show HN: Libretto – Making AI browser automations deterministic

https://github.com/saffron-health/libretto
120•muchael•1d ago•47 comments

Show HN: Ilha – a UI library that fits in an AI context window

https://ilha.build/
15•ryuzyy•6h ago•7 comments

Show HN: Arrow. Point your phone, walk where it says, find out where

https://kouh.me/arrow
2•kouhxp•2h ago•2 comments

Show HN: SmallDocs - Markdown without the frustrations

29•FailMore•1d ago•13 comments

Show HN: I built a music theory course with games and spaced repetition

https://www.gitori.com/themes/music-theory?showTheoryTour=true
4•udit99•3h ago•3 comments

Show HN: Hiraeth – AWS Emulator

https://github.com/SethPyle376/hiraeth
33•ozarkerD•16h ago•6 comments

Show HN: A tool to calculate LLM model API costs when coding

https://the-designengineer.com/model-cost-estimator/
4•canxerian•4h ago•1 comments

Show HN: EDDI – Multi-agent AI engine where agent logic lives in JSON, not code

https://github.com/labsai/EDDI
2•ginccc•4h ago•0 comments

Show HN: Gave Claude a casino bankroll – it gambles till it's too broke to think

https://letaigamble.com/
32•mackbrowne•17h ago•8 comments

Show HN: German Abitur: More good grades, fewer bad grades

https://camminady.dev/abiturnoten/
3•k1next•6h ago•0 comments

Show HN: Silverfish IDP – a low cost, language‑first Internal Developer Portal"

https://dashboard.silverfishsoftware.com/
4•davidarno•6h ago•0 comments

Show HN: Every CEO and CFO change at US public companies, live from SEC

https://tracksuccession.com/explore
181•porsche959•1d ago•64 comments

Show HN: Omi – watches your screen, hears conversations, tells you what to do

https://github.com/BasedHardware/omi
15•kodjima33•22h ago•11 comments

Show HN: I rebuilt a 2000s browser strategy game on Cloudflare's edge

https://kampfinsel.com/
37•parzivalt•5d ago•30 comments

Show HN: P2 - Object Storage Server with S3 Compatible API, MIT License

https://github.com/Suleman-Elahi/p2
3•isuleman•7h ago•0 comments

Show HN: I'm building Eigen, a self-hosted Google Workspace alternative

https://reindernijhoff.net/2026/04/eigen-six-months-later/
2•reindernijhoff•7h ago•1 comments

Show HN: Fakecloud – Free, open-source AWS emulator

https://github.com/faiscadev/fakecloud
30•lucas_vieira•1d ago•9 comments

Show HN: I built a Wikipedia based AI deduction game

https://sleuththetruth.com/
8•brikym•18h ago•6 comments

Show HN: Open Finance Insurance sandbox (OAuth2, quotes → policies)

https://github.com/Rp12/uae-openfinance-test-backend
3•Renjit•9h ago•0 comments

Show HN: Stop Using LangChain

https://synapsekit.github.io/synapsekit-docs/
3•aminau•9h ago•0 comments

Show HN: LangAlpha – what if Claude Code was built for Wall Street?

https://github.com/ginlix-ai/langalpha
144•zc2610•2d ago•53 comments

Show HN: Object Storage Comparisons

https://storage.mixpeek.com
9•Beefin•17h ago•0 comments

Show HN: Plain – The full-stack Python framework designed for humans and agents

https://github.com/dropseed/plain
93•focom•2d ago•51 comments

Show HN: Flint – A 30B model fine-tuned for less repetition

https://springboards.ai/models/flint-alpha
6•thmsmxwll•17h ago•0 comments

Show HN: Ithihāsas – a character explorer for Hindu epics, built in a few hours

https://www.ithihasas.in
174•cvrajeesh•2d ago•45 comments