claude-stats
A Claude Code mod that keeps a lifetime count of your tokens, hours and streak beside the prompt, counted on your own machine.
Claude Code keeps a transcript of every session, but nothing adds them up: how many tokens you’ve gone through, how many hours Claude has worked for you, how many days in a row you’ve shown up. I wanted those numbers in front of me while I work, so I built a mod that keeps them.
It adds a strip above the prompt box, a tag under each reply and a pane with the details. A small Python scanner reads the transcripts Claude Code already keeps, and nothing leaves the machine. It’s open source and installs as a single file.
- TypeScript
- Python
- Claude Code

A strip above the prompt
Lifetime tokens, Claude’s working hours, your hours at the keyboard, the days you’ve used Claude Code and your current streak, with a bar for how full this chat’s context is. A click opens the pane.
A tag under each reply
How long Claude worked on that turn, every token it took, and how many of them it wrote.
The pane
Docked beside the chat: this chat, tokens, a six-month activity grid that switches between your hours and Claude’s, records, your hours by time of day, and splits by project and model.
Your numbers only
It reads your own transcripts and starts from zero, so a friend who installs it sees their own count. A setting adds tokens from before the transcripts begin.


How it counts
- TranscriptsThe session logs Claude Code already keeps on your machine
- ScanA Python scanner reads only what changed since the last reply
- LedgerEach reply counted once, and kept after Claude Code clears old transcripts
- On screenThe strip, the reply tags and the pane, in the desktop app and the terminal


- 0
- bytes sent anywhere: it counts on your own machine
- 1
- file to install, unzipped into your skills folder
- 8
- cards in the pane, each one foldable