usage-meter
by rohit3a · ★ 16 · updated 24 days ago
0
See where every Claude token goes, live: plan-limit % used and left, burn rate, tokens and API-equivalent $, by session, subagent, model and machine
Install
/plugin marketplace add KRNL-Studio/usage-meter/plugin install usage-meter@usage-meterThen 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.startagent.spawnturn.steptool.callturn.completesession.compactsession.measuresession.endcommand.runui.render- API calls
$.clock.after$.clock.every$.clock.now$.command.register$.env.get$.fs.read$.fs.stat$.fs.write$.process.run$.session.compact$.session.id$.session.model$.session.usage$.state.get$.state.set$.ui.invalidate$.ui.log$.ui.open$.ui.panes$.ui.resolve$.ui.status$.ui.toast- Draws
AbovePromptPane- Can see
subagent spawnsBash callscompaction- Reach
- level 2 of 3 runs processeswrites filesdrives Claudereads filesreads env varsreads mod 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/KRNL-Studio/usage-meter
- Path in repo
mod- Source commit
0c8bc64the exact code the scan read- Author
- rohit3a @KRNL-Studio
- 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.