ClaudeCodeMod

All shelves / Mods / Usage

usage-meter

By LeeHigma0201

usage-meter is a Claude Code usage mod by LeeHigma0201.

Shows context fill, the 5-hour and 7-day plan windows, and session cost on the status line, and toasts when a plan window crosses 80% and 95%.

Draws

Install

The marketplace name is claude-code-mods.

In your shell
claude plugin marketplace add LeeHigma0201/claude-code-mods
claude plugin install usage-meter@claude-code-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
License
MIT
Repo stars
4
Last change
2026-10-01

What it can reach

  • Draws in the session
  • Reads usage or context figures

New sessions load it; in an open session run /reload-plugins. Claude Code 2.1.287 or later. Plan windows show only on a subscription, after the session's first response. Cost is the API-equivalent figure, not subscription usage. /usage-meter prints the same readings with reset times, for Remote Control, where the status line isn't drawn.

The install name is usage-meter. This page adds the author's name. The marketplace name is claude-code-mods. The marketplace also holds mod-scout, check-ledger, and resume-nudge. This one installs on its own. The context, plan windows, and cost are why this page files it under usage. cost-meter, by Singh-AP, draws session cost, context fill, and the plan windows on the status line, with an optional budget. usage-meter, by hamzafer, draws the plan limits as small bars above the prompt with the reset countdown. This one is one read-only status line, ctx, 5h, 7d, and cost, with a toast the first time a window crosses 80% and again at 95%, and it never nudges you to wrap up.

Demo

The top of the usage-meter README: the status line drawn as text, ctx 42% · 5h 81% · 7d 23% · $3.10, a toast at 80% and 95% of a plan window, and /usage-meter for Remote Control.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • session.measureWhen usage is measured
  • command.runWhen you run its slash command/usage-meter

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

Slash commands 1

  • /usage-meterShow context fill, plan-limit windows and session cost

Files

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

Facts

Author
LeeHigma0201
Category
Usage
Marketplace
claude-code-mods
Repo
LeeHigma0201/claude-code-mods
Folder
mods/usage-meter
Version
0.1.0
License
MIT
Repo stars
4
Last change
2026-10-01
Language
TypeScript
Files
6

Other mods in Usage

subagent-meterNarenDawarShows on the status line how many subagents ran, their share of output tokens and of all tokens, and the agent type that used the most.usage-weatherptpmediabrDraws one line above the prompt with the context as a weather icon, the 5-hour and weekly limits with resets, cache warmth, and a Clear & continue button.am-context-barromnycristopherDraws a card above the prompt with context use against where quality drops, what fills it, turns left, limits, git status, and the phase of a plan you're on.compactlyswapnildahiphaleOpens a cost and cache pane with each turn's cost and when the cache goes cold, and compacts at a natural break a Sonnet judge picks, with a handoff summary.cache-meterT-AI-LabsDraws one row above the prompt with how much of the last turn the prompt cache served, how long it stays warm, and a Keep warm switch that refreshes it.context-meterT-AI-LabsDraws one row above the prompt with the context fill against an auto-compact threshold you pick, and Compact and Clear buttons.usage-limitsT-AI-LabsDraws one row above the prompt with how much of the 5-hour and weekly limits is used, with the time until each resets.context-usageT-AI-LabsDraws the context fill with an auto-compact threshold, Compact and Clear buttons, and the 5-hour and weekly limits in two rows above the prompt.rich-statuslineTheBabaYagaDraws one line above the prompt with the directory, git branch and changes, model and effort, and bars for context and the 5-hour and 7-day limits.cachebeat404MayankKeeps the prompt cache warm while you are away with a small background request, and draws a beating heart under the prompt and a beat count under your turn.tokensaverAGregDevPuts Clawd in a pane and a band above the prompt, trims noisy shell output before Claude reads it, warns as the context fills, and routes subagents by tier.colorwheelAlexeyHRDesignDraws a band in the desktop app with your 5-hour and 7-day limits on its edges and the context as weather, and redraws replies with full-width diagrams.
All 183 in Usage