quota-meter
by Arunjay · ★ 4 · updated 20 days ago
Shows the subscription plan limits - the 5-hour window, the 7-day window and a gateway spend limit - as a pinned status line under the prompt, with a reset countdown and a projection of when you would hit 100% at the pace of the last few samples. /quota opens a pane with a bar, the reset clock time and the burn rate for each window.
Install
/plugin marketplace add Arunjay4213/claude-mods/plugin install quota-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.startturn.completecommand.runui.closeui.render- API calls
$.clock.every$.clock.now$.command.register$.session.usage$.store.get$.store.set$.ui.close$.ui.invalidate$.ui.open$.ui.resolve$.ui.status- Draws
Pane- 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/Arunjay4213/claude-mods
- Path in repo
plugins/quota-meter- Author
- Arunjay @Arunjay4213
- License
- No license declared — ask the author before reusing code.
- 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.
More from Arunjay4213/claude-mods
budget-guard
Arunjay4213/claude-mods
Stops a session before it runs past a budget. Three figures are guarded, each with a limit you set: the session cost in dollars, the 5-hour plan window and the 7-day plan window. It says nothing until a figure nears its limit, then pins a status line and warns once; past the limit it refuses tool calls and asks before sending another prompt. /guard shows the state and changes the limits.
context-lens
Arunjay4213/claude-mods
A live /context: a pinned line under the prompt with the window fill and the growth per turn, and /context-lens for a pane with the per-category bars and how many turns are left before auto-compaction.
token-ledger
Arunjay4213/claude-mods
A per-turn cost and token ledger: a pinned status line with the session cost, the last turn's tokens and the cache hit ratio, and /ledger for a table of the recent turns with their model, tokens, cache reads and writes, duration and cost.