usage-meter
by Viktor Åkerskog · ★ 2 · updated 7 days ago
0
Directory, branch, worktree, model and effort, with 5h and weekly limits (subscription) or cost (pay-per-token), above the prompt; context below it
Install
/plugin marketplace add akerskuuug/claude-mods/plugin install usage-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.startsession.measuretool.callturn.stepturn.completeui.render- API calls
$.clock.every$.clock.now$.process.run$.session.cwd$.session.model$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.resolve- Draws
AbovePromptPromptHint- Can see
Bash calls- Reach
- level 2 of 3 other: $.state.getother: $.state.setruns processespersists 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/akerskuuug/claude-mods
- Path in repo
plugins/usage-meter- Source commit
5e388f3the exact code the scan read- Author
- Viktor Åkerskog @akerskuuug
- 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.