token-meter
by Bryan Henson · ★ 0 · updated 4 days ago
0
This session's token use, Claude vs local LLMs: status line, live spinner count, and a /tokens pane with a Pac-Man context-window maze. Plus a Haiku-first subagent guard.
Install
/plugin marketplace add an80sPWNstar/claude-mods/plugin install token-meter@claude-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startturn.stepagent.spawnui.rendercommand.run- API calls
$.clock.every$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.session.id$.store.get$.store.set$.ui.invalidate$.ui.open$.ui.resolve$.ui.status- Draws
SpinnerPane- Can see
subagent spawns- Reach
- level 1 of 3 reads filesreads env varspersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/an80sPWNstar/claude-mods
- Path in repo
token-meter- Source commit
bb073acthe exact code the scan read- Author
- Bryan Henson @an80sPWNstar
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.