usage-meter
by Ernest Brenchley · ★ 0 · updated 9 days ago
0
A usage meter for Claude Code: a plain "5h 62%" button under the prompt that opens a compact sheet with your session, weekly and per-model weekly limits, and how long you have left at your current pace.
Install
/plugin marketplace add ErnestTramp/claude-usage-meter/plugin install usage-meter@claude-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.startsession.measureturn.stepcommand.runui.render- API calls
$.clock.after$.clock.every$.clock.now$.command.register$.mcp.call$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.invalidate$.ui.resolve$.ui.status- Draws
SessionModeAbovePrompt- Reach
- level 3 of 3 other: $.state.getother: $.state.setMCP serverspersists 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/ErnestTramp/claude-usage-meter
- Path in repo
- repository root
- Source commit
2a38f90the exact code the scan read- Author
- Ernest Brenchley @ErnestTramp
- 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.