usage-meter
by HolyGrail · ★ 15 · updated 2 days ago
Shows context, 5-hour and weekly limit usage above the prompt
Install
/plugin marketplace add HolyGrail/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.endclassic.SessionStartsession.measureui.render- API calls
$.clock.every$.clock.now$.session.id$.session.usage$.store.delete$.store.get$.store.keys$.store.set$.ui.invalidate$.ui.resolve- Draws
AbovePrompt- Can see
classic hooks- Reach
- level 0 of 3 persists 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/HolyGrail/claude-mods
- Path in repo
plugins/usage-meter- Author
- @HolyGrail
- License
- No license declared — ask the author before reusing code.
- First published
- Last pushed
- First listed here
- On X
- Mentioned in 1 post on X
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.
Posts about this repo
デスクトップアプリでもこういうの表示できるようになったの便利だ https://github.com/HolyGrail/claude-mods/tree/main/plugins/usage-meter
More from HolyGrail/claude-mods
notice-board
HolyGrail/claude-mods
Shares notices with every session in the same repository, or on the machine
pr-relay
HolyGrail/claude-mods
Watches the session's pull request and wakes the session when it is merged or Codex reviews it
zsh-safe
HolyGrail/claude-mods
Lets Bash commands written for bash run under zsh: unmatched globs, leading =, and a missing timeout