usage-meter
by Arafat Husayn · ★ 0 · updated 2 days ago
0
Shows your plan's 5-hour and weekly usage limits in one line above the prompt, with the time to each reset; /usage-meter opens a pane with your pace and when you would run out
Install
git clone https://github.com/arafathusayn/cc-modsclaude --plugin-dir ./cc-mods/mods/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.measurecommand.runui.render- API calls
$.clock.every$.clock.now$.command.register$.http.fetch$.session.authorize$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.close$.ui.log$.ui.open$.ui.panes$.ui.resolve- Draws
AbovePromptPane- Reach
- level 3 of 3 other: $.state.getother: $.state.setnetworkreads the transcriptpersists 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/arafathusayn/cc-mods
- Path in repo
mods/usage-meter- Source commit
bd016dethe exact code the scan read- Author
- Arafat Husayn @arafathusayn
- License
- AGPL-3.0
- 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.