All shelves / Mods / Usage
usage-meter
By mishgoldenberg
usage-meter is a Claude Code usage mod by mishgoldenberg.
Opens a pane of the 5-hour and 7-day plan limits with reset countdowns, burn rate and when a limit fills, session cost, cache hit ratio, and tokens per turn.
Draws
Install
The marketplace name is claude-mods.
claude plugin marketplace add mishgoldenberg/claude-mods claude plugin install "usage-meter@claude-mods"
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.1
- License
- MIT
- Repo stars
- 11
- Last change
- 2026-10-05
What it can reach
- Draws in the session
- Reads usage or context figures
Needs Claude Code 2.1.286 or newer. Restart Claude Code after installing. The README's main install adds mod-manager and picks mods from its /mods pane; this line is from its loop that installs every mod without the manager. Panels dock beside the chat in the desktop app or a terminal 144 columns wide or more, and open inline in narrower ones. Options appear in /config. Function hooks are early access, and a Claude Code update can break a mod. /meter opens the pane. It toasts when a plan window passes 80%, set by warnAt, and again at 95%. The desktop app draws the figures as charts.
The marketplace name is claude-mods. The marketplace also holds mod-manager, which installs the others from a pane, and ten more mods. This one installs on its own. The README's loop installs every mod with claude plugin install "$m@claude-mods"; this page puts this mod's name in place of $m. The install name is usage-meter. This page adds the author's name. Plan limits are why this page files it under usage. usage-meter, by hamzafer, draws the 5-hour and 7-day limits as small bars above the prompt. cost-meter draws session cost, context, and both windows on the status line. This one adds the burn rate, an estimate such as full in ~2.3h, why the cache hit ratio is low, and a sparkline of tokens per turn.
Demo
What it hooks into
session.startWhen a session startscommand.runWhen you run its slash command/meterturn.completeWhen a turn endsui.renderDraws into the sessionPane
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/meterOpen the usage meter (rate limits, cost, tokens per turn)
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- mishgoldenberg
- Category
- Usage
- Marketplace
- claude-mods
- Folder
- plugins/usage-meter
- Version
- 0.1.1
- License
- MIT
- Repo stars
- 11
- Last change
- 2026-10-05
- Language
- TypeScript
- Files
- 5
