ClaudeCodeMod

All shelves / Mods / Usage

quota-meter

By Arunjay4213

quota-meter is a Claude Code usage mod by Arunjay4213.

Pins the 5-hour and 7-day plan limits when they are reported, with the reset and whether the current pace fills them first.

Draws

Install

The marketplace name is claude-mods.

In your shell
claude plugin marketplace add Arunjay4213/claude-mods
claude plugin install quota-meter@claude-mods
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.1.0
Repo stars
9
Last change
2026-10-16

What it can reach

  • Draws in the session
  • Reads usage or context figures

Needs Claude Code 2.1.269 or newer, in an interactive terminal. Restart Claude Code. quota-meter needs a Claude subscription: Pro, Max, Team, or Enterprise. The README turns function hooks on by setting CLAUDE_CODE_ENABLE_FUNCTION_HOOKS to 1 under env in ~/.claude/settings.json; the official docs say 2.1.287 and later ignore that flag. A line is pinned under the prompt for the whole session. It shows the windows Claude Code reports, a countdown to each reset, and one ending: a window fills before it resets, nothing hits 100 percent before the reset, or the pace is still collecting. A window that is still collecting is left out of that ending, and it never hides a window that has a rate. When no windows are reported the line reads no plan limits reported yet. That is normal for an API-key session, and for the first seconds before Claude has answered once. /quota opens and closes a pane with one block per window: the bar, the reset as a clock time and a countdown, the burn, and the projection. A rate is quoted once the readings span 5 percent of the window, which is 15 minutes for the 5-hour window and about 8.4 hours for the 7-day one. Until then the line and the pane say collecting. The 7-day window can stay on collecting for that long, and the pane prints the span a rate was measured over. Restarting Claude Code inside the same window keeps the rate. From 110 columns the pane docks beside the transcript. Narrower, it sits above the prompt. A checkout starts with CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 claude --plugin-dir plugins/quota-meter.

The marketplace name is claude-mods. The same marketplace also lists context-lens, token-ledger, and budget-guard. This page installs quota-meter. usage-meter draws the 5-hour and 7-day limits with the reset countdown and what this session cost. cost-meter adds context fill, a per-turn cost, and, once you set a budget, asks before the next tool call. session-meter adds the pace and the last 30 tool calls. pro-hud draws the plan, the context, and this turn in the desktop app. This one pins the plan windows and whether the current pace fills them before they reset. The readings are the ones Claude Code already reports, so this page does not list network access.

Demo

The quota pane: the 5-hour limit at 23 percent, resetting in 46 minutes, with a burn rate, and the 7-day limit at 8 percent still collecting a burn rate, with the pinned line under the prompt
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • turn.completeWhen a turn ends
  • command.runWhen you run its slash command
  • ui.closeWhen its pane closes
  • ui.renderDraws into the sessionPane

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
Arunjay4213
Category
Usage
Marketplace
claude-mods
Repo
Arunjay4213/claude-mods
Folder
plugins/quota-meter
Version
0.1.0
Repo stars
9
Last change
2026-10-16
Language
TypeScript
Files
6

Other mods in Usage

token-ledgerArunjay4213Pins this session's cost and the last turn's tokens and cache hit, and /ledger lists each turn.mod-packaz9713Holds a commandSeven mods in one install: a context forecast, a cache countdown, a follow-up queue, a plain retell, two holds on risky commands, and Snake.taxi-meterdevbrother2024Draws this session's cost as a taxi fare, in won at API list price, with context fill and the plan limits.agent-routeralexandernicholsonHolds a commandAssigns a model and effort to each subagent role from your endpoint's catalog, and draws that model beside the prompt.keepalivealexandernicholsonDraws a prompt-cache bar for each conversation, and can keep an idle cache warm or compact it before it expires.hudhoobnnDraws model, context, and plan-usage gauges above the prompt, with git, the running tools, and a one-line task summary.limits-meterice-lfernandesDraws plan limits and context above the prompt, in tokens and percent, with the model, effort, and a toast on a costly switch.elizabeth-progressYaxin9LuoDraws Elizabeth from Gintama walking a context-window bar above the prompt, with the usage split, turns left, and rate limits.spending-effort-with-jevYaxin9LuoAsks TypeSafe's Jev which /effort level a message needs, sends that message to api.typesafe.ai, and switches on your OK.cache-paneldanyuchnAfter 50 idle minutes, draws a prompt-cache line and a panel to keep it warm, ping it once, or compact, with a cost for each.context-cardNongfsqDraws context fill, the prompt cache, and weekly plan usage in one line above the prompt, with a breakdown on click. One of two mods for running many sessions.statuslineryanclarkDraws context, the 5-hour and 7-day limits, and extra usage under the prompt, from statusline, a status-line binary you install first.
All 183 in Usage