Jackson LamoureuxBack

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.

When
Oct 2026
Role
Designer and developer
Runs in
Claude Code, desktop and terminal
Install
One 25 KB file

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
The Claude Code desktop app with claude-stats: the strip above the prompt, a tag under the reply, and the pane at the right

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.

The strip: 4.8B tokens, 964 h Claude, 212 h you, 128 days, an 11 day streak and 412K of context
A reply with its tag: 1m 57s, 2.2M tokens, 3.4K written

How it counts

  1. TranscriptsThe session logs Claude Code already keeps on your machine
  2. ScanA Python scanner reads only what changed since the last reply
  3. LedgerEach reply counted once, and kept after Claude Code clears old transcripts
  4. On screenThe strip, the reply tags and the pane, in the desktop app and the terminal
The top of the pane: This chat, Tokens, Activity and Time cards
The rest of the pane: Records, Rhythm, Projects and Models cards
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