ClaudeCodeMod

All shelves / Mods / Usage

context-meter

By noash-xrc

context-meter is a Claude Code usage mod by noash-xrc.

Draws two rows at the right of the band above the prompt: context fill, the rate-limit windows, session cost, the prompt cache, the model, and its effort.

Draws

Install

The marketplace name is noash-tools.

In Claude Code
/plugin install context-meter --marketplace noash-xrc/claude-tools
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.4.2
License
MIT
Repo stars
3
Last change
2026-10-09

What it can reach

  • Draws in the session
  • Reads usage or context figures

Answer y to add the marketplace, then pick a scope. Restart Claude Code after an update. The cache countdown assumes the 1-hour cache Claude Code uses on subscriptions. On a terminal under 144 columns a resume can't seat the cold cache pane, so a toast gives the same figures. The author says it costs no tokens, since every figure comes from what Claude Code already tracks.

The marketplace, noash-tools, also lists reminders, auto-effort, output-trimmer, subagent-router, savings-meter, idle-compact, and project-memory. Context and limit figures are why this page files it under usage. context-meter, by midudev, draws only how full the context window is at the right end of the band. limits-meter, by ice-lfernandes, draws plan limits and context in tokens and percent. This one adds the session's cost and the cache: the share of the last request's input read from cache and the minutes until it expires, then cache cold. Each figure turns yellow at 60% and red at 85%, and a /model switch shows within a second. With 120k tokens or more on a cold cache, a Cold cache pane puts what sending as is would cost at list price next to /compact first, with c to compact and x to close.

Demo

The top of the context meter README: the two rows at the right of the band, context 42% of 200k with the 5-hour window at 24% and the week at 7%, then $1.24, cache 97% with 52 minutes left, and Opus 5.5 at high; then what each row shows, the colours, the cold cache pane, and that it costs no tokens.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • prompt.submitWhen you send a prompt
  • session.measureWhen usage is measured
  • turn.stepAt each step of a turn
  • session.compactWhen the context is compacted
  • ui.renderDraws into the sessionPaneAbovePrompt

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
noash-xrc
Category
Usage
Marketplace
noash-tools
Repo
noash-xrc/claude-tools
Folder
context-meter
Version
0.4.2
License
MIT
Repo stars
3
Last change
2026-10-09
Language
TypeScript
Files
6

Other mods in Usage

idle-compactnoash-xrcRuns /compact on a session idle for 55 minutes with 120k tokens or more, just before the prompt cache expires, and shows a toast when it did.swiss-knifenocodehackHolds a commandChimes and turns its strip red when Claude needs you, forecasts when plan limits run out, writes handoffs, and asks before destructive commands.sesscloneNotTahaAliReports each turn's tokens, model, and timings to a SessClone dashboard, with a line above the prompt that shows whether this session is synced.context-widgetoMaN-RodDraws the context window as a stacked bar, one color per /context category, on a card under the prompt or docked beside the transcript.cost-visibilitypatitowHolds a commandDraws a two-line band above the prompt with the plan windows, this chat's list-price cost split into main and subagents, and context. /spend opens a pane.usage-barspepperonasShows the 5-hour and 7-day limits as animated bars under the prompt, with a reset countdown, a pace mark, a projection, and six styles.clawd-dashpinkpixel-devDraws a session dashboard under the prompt: plan limits, context, cost, model, effort, git status, and file changes, beside a pixel Clawd who reacts.usage-paneT-AI-LabsOpens a /tokens pane that adds up tokens, cache hit rate, and API price by day, model, and project, and lists each session's prompts by cost and why.ribbonrobonuggetsDraws a slim band above the prompt with the 7-day and 5-hour usage left and when each resets, and whether the prompt cache is warm or cold with the next cost.hudlycfyiDraws a heads-up display above the prompt: context fill, repo state, turn progress with time estimates, and a recap with an automatic /whats-next after a break.automodemralexivyHolds a commandPicks the model and effort for each prompt, draws a bar above the prompt with context, cache countdown, cost, and savings, and denies git writes from subagents.agent-tracekrika2810Draws a pane beside the chat that lists every step after a prompt: each model request, tool call, and subagent, with time, tokens, context, and API-rate cost.
All 183 in Usage