ClaudeCodeMod

All shelves / Mods / Usage

usage-band-mod

By jonathanlocks

usage-band-mod is a Claude Code usage mod by jonathanlocks.

Draws one line above the prompt with the model, session cost, context, the 5-hour and weekly limits, and a per-model weekly limit, led by a pixel crab mascot.

Draws

Install

The marketplace name is usage-band-mod.

In Claude Code
/plugin install usage-band-mod --marketplace jonathanlocks/usage-band-mod
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.4
Repo stars
5
Last change
2026-10-23

What it can reach

  • Draws in the session
  • Reads usage or context figures
  • Reaches the network or an outside service
  • Calls another program on this machine

Early release, maintained by one person, in daily use on macOS 26. In the Claude desktop app, where /plugin is not available, click + next to the prompt box, then Plugins, Add marketplace with jonathanlocks/usage-band-mod, then Add plugin. From a shell, claude plugin install usage-band-mod --marketplace jonathanlocks/usage-band-mod does the same. The install screen asks for the language, the currency (USD, BRL, or EUR), the mascot (animated, still, or hidden), and the per-model weekly limit; change them later in /config. The 5-hour and weekly bars only appear in subscription sessions. The cost is what the session would cost at API prices. The per-model limit reads an internal Anthropic endpoint with no public documentation. /usage-band shows or hides the band, and /usage-settings opens a settings window on macOS 26, or on Windows 10 or 11 as a preview; the Windows executable is not code-signed. With CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC set, the mod makes no requests at all.

The marketplace name is usage-band-mod, and it holds only this plugin. The plan limits and the context are why this page files it under usage. usage-band draws one line for the 5-hour and 7-day limits, the context, and the last turn's cache hit. pixel-buddy draws the two windows with what each cost, a cache timer, and a pixel creature. This one adds a per-model weekly limit such as Fable's and reset times, shows the cost in dollars, reais, or euros, and has a settings window on macOS and Windows. In the source, the code and its names are in Portuguese, and the band is an AbovePrompt render.

Demo

The author's screenshot of the usage-band-mod band in the Claude desktop app: a pixel crab, Opus 5.5 and a cost of R$ 372,71, then bars for the context (Contexto, in Portuguese) at 32%, the 5h limit at 36%, the 7d limit at 48%, and Fable at 13%, with a gear and a close button. The figures are the author's sample.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • session.measureWhen usage is measured
  • command.runWhen you run its slash command/uso-barra/usage-band/uso-ajustes/usage-settings
  • ui.renderDraws into the sessionAbovePrompt

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

Slash commands 4

  • /uso-barra
  • /uso-ajustes
  • /usage-band
  • /usage-settings

Files

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

Facts

Author
jonathanlocks
Category
Usage
Marketplace
usage-band-mod
Repo
jonathanlocks/usage-band-mod
Version
0.4.4
Repo stars
5
Last change
2026-10-23
Language
TypeScript
Files
89

Other mods in Usage

usage-statsconnorchuang32Opens /usage-stats in the desktop app: a heat map of tokens per day, trends and models tabs, and a Wrapped-style card you can save as an SVG.session-infodougcunhaHolds a commandOpens a pane of the session: context, cost, prompt cache, plan usage, agents, checks, CI runs, and Git, and holds a prompt that would rewrite an expired cache.ccbaremaballarinDraws a quiet band above the prompt: model and effort, the GitHub repo and branch with lines changed, a context bar split as /context, tokens, and plan limits.token-monitor-hudfractal-manifoldDraws the 5-hour and 7-day windows above the prompt with reset times and where each lands at this pace, plus Codex and Antigravity quotas if they're signed in.cost-ledgerFynnXlandKeeps a ledger of what every chat cost, plus other mods' model calls, and draws /ledger: today, 7 and 30 days, projects, top chats, models, and plan limits.limit-barsFynnXlandDraws the 5-hour and weekly limits as two slim bars above the prompt, a ring for how long the prompt cache stays warm, and asks before a costly cold send.claude-loadGerruxOpens a /load pane of CPU and memory per Claude Code session, with orphaned dev servers you can end, and draws a load line above the prompt under high load.smart-compacthellosverreOffers /compact in a dialog above the prompt at good moments: after a commit, when tests go green, before the prompt cache expires, or when Claude asks.tideHula-Hoop-AIDraws the context window as a tide above the prompt: a fill bar by phase, a sparkline of recent turns, the rise per turn, and turns left before compaction.cache-ttl-statuslineJerrettDavisDraws session, plan-limit, and Headroom lines with model, cost, context, and a cache TTL that turns yellow then red, below the prompt or, in mod mode, above it.usage-meterLeeHigma0201Shows 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%.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.
All 183 in Usage