quota-meter

Reviewed at commit 6de1b69

The 5-hour and 7-day plan windows as a pinned status line.

Made by
Arunjay
What we checked

Pins a status line with your plan's 5-hour, 7-day and spend limit usage, a reset countdown and a projection of when you would hit 100%, plus a /quota pane with bars and burn rate. It reads the limits Claude Code already reports and stores percentage samples locally. No files, programs or network.

Review details

Static review of the source at the pinned commit; not run. Registers session.start (loads saved samples with $.store.get, registers /quota, starts a 60 s $.clock.every tick), turn.complete, command.run for /quota, ui.close and ui.render for the Pane. Samples come from $.session.usage().rateLimits and are saved with $.store.set (up to 240 readings per window: time, whole percent, reset time). Output goes to $.ui.status and a pane. All engine calls are wrapped so failures keep the last reading.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events
Screenshot of quota-meter

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.

Made this mod? Add a badge to your README

modsforClaude badge for quota-meter

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/quota-meter.svg)](https://modsforclaude.com/mods/quota-meter/)

← All mods