ClaudeCodeMod

All shelves / Mods / Usage

usage-band

By JetsonChan

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

Draws one line above the prompt for the 5-hour and 7-day limits, the context, and the last turn's cache hit.

Draws

Install

The marketplace name is cc-usage-band.

In Claude Code
/plugin marketplace add JetsonChan/CC-Usage-Band
/plugin install usage-band@cc-usage-band
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
1.0.6
License
MIT
Repo stars
14
Last change
2026-10-03

What it can reach

  • Draws in the session
  • Reads usage or context figures

Open a new session, or run /reload-plugins. Nothing to configure. Best in Ghostty, which ships the icon font. Terminal icons follow the terminal: Nerd Font in Ghostty, plain Unicode elsewhere. To override, set USAGE_BAND_ICONS in your shell profile to auto, nerd, unicode, or ascii. /usage-band-preview shows the band in every terminal style. The 5-hour and 7-day figures come from the subscription rate-limit headers, after the first response, and only on a subscription. A limit or the context turns red past 80 percent, and a cache hit under 50 percent turns red. On a narrow terminal the bars drop first, then the countdowns. The desktop Code tab draws one SVG row. It reads the session's usage figures, TERM_PROGRAM, and USAGE_BAND_ICONS, registers the preview command, and draws the band. It reads no files, runs no processes, and makes no network requests.

The marketplace name is cc-usage-band. usage-meter draws the 5-hour and 7-day limits with a reset countdown and this session's cost. context-bar draws the context window as one stacked bar. burn-meter draws session spend as a fuse, with the same limits and a cost in burritos and McDoubles. This line adds the last turn's cache hit.

Demo

The usage-band section on the author's GitHub page
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • session.measureWhen usage is measured
  • turn.completeWhen a turn ends
  • command.runWhen you run its slash command
  • 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.

Files

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

Facts

Author
JetsonChan
Category
Usage
Marketplace
cc-usage-band
Repo
JetsonChan/CC-Usage-Band
Folder
usage-band
Version
1.0.6
License
MIT
Repo stars
14
Last change
2026-10-03
Language
TypeScript
Files
8

Other mods in Usage

burn-meterOneWave-AIDraws session spend as a fuse above the prompt, with the plan limits and a cost in burritos and McDoubles.cache-warmerpaulbkim-devResends the last request to keep the prompt cache warm when that saves at least $0.05, and draws a band with Clawd while it runs.token-weather-usageaugiefraDraws a band above the prompt for context size, the 5-hour and weekly limits, cache warmth, session cost, and running agents.agent-dietVedantAndhaleStarts Explore subagents, and other agent types you list, on Haiku or a model you pick instead of the main model, and counts how many it moved.budget-guardVedantAndhaleKeeps a prompt from being sent while the 5-hour or weekly usage is at or over your limit, until you send it again, and shows the limit with /budget.context-xrayVedantAndhaleDraws a pane with the exact breakdown of what fills the context window, opened with /xray.output-dietVedantAndhaleTrims what Claude reads from a long shell, search, or subagent result, saves the full text, and counts the savings on the status line.pro-hudVedantAndhaleDraws the 5-hour session, the week, and context above the prompt in the desktop app, plus this turn and finished tool calls as one line.session-receiptVedantAndhaleOpens a pane of every turn's tokens, with the five that spent the most, and toasts after a turn that used 3 or more session points.skill-dietVedantAndhaleLists skills unused lately in this project by name only, so their descriptions leave the prompt, and counts those characters on the status line.turn-budgetVedantAndhaleStops a turn that passes the limit you set, writes a handoff, and copies it for a new session, leaving the old one in place. It can ask first instead.context-lensArunjay4213Pins how full the context window is and what the last turn added, and /context-lens opens the breakdown by category.
All 183 in Usage