ClaudeCodeMod

All shelves / Mods / Usage

limits-meter

By ice-lfernandes

limits-meter is a Claude Code usage mod by ice-lfernandes.

Draws plan limits and context above the prompt, in tokens and percent, with the model, effort, and a toast on a costly switch.

Draws

Install

The marketplace name is lfernandes-mods.

In Claude Code
/plugin install limits-meter --marketplace ice-lfernandes/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.4.1
License
MIT
Repo stars
7
Last change
2026-10-09

What it can reach

  • Draws in the session
  • Reads usage or context figures

The repository README says these mods require Claude Code 2.1.287 or later. The README says the figures are tokens and percent, never money. The band shows the main thread's model, its effort as a five-step gauge, the 5-hour and weekly plan windows with their reset times, how full the context window is, and the last turn's cache hit rate. format defaults to full, which draws bars. compact is one line of numbers. warnAt defaults to 70 and dangerAt to 90. language defaults to auto, Portuguese when the system language is Portuguese. cells defaults to all. density defaults to auto, and below 90 columns each bar shrinks to one cell. Figures come after each turn, so nothing polls. Plan windows appear on a subscription after the first response. With an API key the band shows context only. From 85 percent context, compact puts /compact with a blank in the prompt. The README says nothing runs until you send it. /limits opens a pane with the same figures, context in tokens, recent main-thread turns, each window's pace, and a sparkline of context. A toast fires once at 80 percent, once at 90, and once at 100, and once when context hits 85 percent. A costly switch, a step up in model or effort turning to max, toasts once when the 5-hour window is at the threshold or above. That threshold defaults to 70 percent. /limits warn changes it. /limits hide hides the band in later sessions too. /limits show brings it back. The plugin store keeps whether the band is hidden and that threshold. If the hook fails, the switch goes on. The README says it is a warning, not a guard. From a clone, one session is claude --plugin-dir ./limits-meter. Its reach table marks network, processes, files, model calls, and sending data anywhere as no.

The install line has no @suffix. The marketplace name is lfernandes-mods. The marketplace also holds allowlist-coach, agent-watch, test-hud, launchpad, and plain-view. This one installs on its own. Plan limits and context above the prompt are why this page files it under usage. quota-meter pins the 5-hour and 7-day windows and whether the current pace fills them first. usage-meter draws those windows with the reset countdown and what this session cost. pro-hud draws the 5-hour session, the week, and context in the desktop app. This one is the model, the effort, the plan windows, the context, and a toast on a costly switch.

Demo

A rendered sample of the band above the prompt through a request, then the /limits pane with the plan windows and recent turns, then a toast after a costly switch to opus, then an install line typed in the prompt.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • session.measureWhen usage is measured
  • turn.completeWhen a turn ends
  • classic.PostModelSwitchA Claude Code event
  • turn.stepAt each step of a turn
  • classic.StopA Claude Code event
  • command.runWhen you run its slash command
  • ui.renderDraws into the sessionAbovePromptPane

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
ice-lfernandes
Category
Usage
Marketplace
lfernandes-mods
Repo
ice-lfernandes/claude-code-mods
Folder
limits-meter
Version
0.4.1
License
MIT
Repo stars
7
Last change
2026-10-09
Language
TypeScript
Files
11

Other mods in Usage

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.usage-headerSzotaszDraws the context window above the prompt, a color per category, with the 5-hour and weekly limits under it.green-lanternvogiaan1904Draws the 5-hour and 7-day limits as Green Lantern charge that drains as you use it, with a power-ring spinner and an emerald theme.long-live-the-claudeLapis0x0Draws the 5-hour and 7-day limits, context, and cache time above the prompt. Long-run, off by default, keeps the cache warm and pauses near the limit.usage-petmanson341349-beepDraws context, the 5-hour and weekly limits, and the cache hit rate above the prompt. The desktop Code tab draws four rings, with a pixel pet beside them.context-alarmmutlumehmetWarns when the context window fills, with a status line under the prompt, and suggests /save-context before compaction.cache-watchernikisgeDraws the cache time, the context, the plan limits, and this session's API value above the prompt, and a press can keep the cache warm.fast-jev-outputtamaratranSends a long Bash result to TypeSafe's Jev, which trims it before Claude reads it, and toasts the cut. The full output stays in the project.
All 183 in Usage