All shelves / Mods / Usage
token-meter
By midudev
token-meter is a Claude Code usage mod by midudev.
Ends the hint line under the prompt with the last turn's input, output, and cache tokens, and the session's running total, in color.
Draws
Install
The marketplace name is better-claude.
/plugin marketplace add midudev/better-claude /plugin install token-meter@better-claude
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.1.0
- License
- MIT
- Repo stars
- 194
- Last change
- 2026-10-22
What it can reach
- Draws in the session
- Reads usage or context figures
After each turn, the hint line under the prompt ends with ↑ input in blue, ↓ output in green, and cache, the tokens read from or written to the prompt cache, in Claude orange. The session total is dim, and it starts over when the session starts. The author says the status line only takes plain text, so the meter draws in the hint line to have colors.
The marketplace name is better-claude. The marketplace also holds after, use-haiku, think-hard, sub-meter, context-meter, image-preview, commit, narrator, and time-machine. This one installs on its own. The token counts are why this page files it under usage. turn-footer draws tool calls, subagents, requests, tokens, and cache hit rate under each answer. token-ledger pins this session's cost and the last turn's tokens and cache hit. This one adds only the token counts, in color, to the hint line.
Demo

What it hooks into
session.startWhen a session startsturn.completeWhen a turn endsui.renderDraws into the sessionPromptHint
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- midudev
- Category
- Usage
- Marketplace
- better-claude
- Folder
- plugins/token-meter
- Version
- 0.1.0
- License
- MIT
- Repo stars
- 194
- Last change
- 2026-10-22
- Language
- TypeScript
- Files
- 7