ClaudeCodeMod

All shelves / Mods / Usage

dashband

By EgonLeitner

dashband is a Claude Code usage mod by EgonLeitner.

Draws how long the prompt cache has left, the context fill, and the 5-hour and weekly limits against their pace, in the footer and as a band above the prompt.

Draws

Install

The marketplace name is egonleitner.

In your shell
claude plugin marketplace add EgonLeitner/claude-code-mods
claude plugin install dashband@egonleitner
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.2.0
License
MIT
Repo stars
3
Last change
2026-10-28

What it can reach

  • Draws in the session
  • Reads usage or context figures
  • Calls another program on this machine

Claude Code 2.1.287 or later, in the terminal or the desktop app's Code tab; mods do not draw in VS Code, on mobile, or in claude -p. Run /reload-plugins in an open session, or start a new one. In the desktop app, add EgonLeitner/claude-code-mods as a marketplace under Settings, Plugins. macOS or Linux for the cache lifetime, which it reads from the transcript with sh and tail; elsewhere it assumes one hour. The plan limits appear only on a Claude subscription. In the desktop app a new chat shows it after the first message, and the settings are there only.

The marketplace, egonleitner, is in another repository, EgonLeitner/claude-code-mods, and lists dashband, from EgonLeitner/dashband, and mirada. The cache, the context, and the limits are why this page files it under usage. cache-timer, by arasovic, draws a countdown above the prompt until the prompt cache expires. context-card-nongfsq, by Nongfsq, draws context fill, the prompt cache, and weekly usage in one line above the prompt. This one colors each limit by pace, how far usage is above or below where it would be if spread evenly over the window, marks that point on the bar, and shows the time to reset and the share of the last request read from the cache. Two minutes before the cache expires a notice names the session and the tokens the next request would write again.

Demo

The author's screenshot of dashband in the terminal: a band above the prompt with bars for the cache, 54 minutes left, the context at 5% of 48k, the 5-hour limit at 35/77% with its reset in 1h 10m, and the week at 31/31% with its reset in 4d 20h, and the same figures as one coloured item in the footer.
From the author's repo.

What it hooks into

  • classic.SessionStartA Claude Code event
  • session.startWhen a session starts
  • session.attachA Claude Code event
  • session.detachA Claude Code event
  • session.measureWhen usage is measured
  • turn.startWhen Claude starts a turn
  • turn.stepAt each step of a turn
  • turn.completeWhen a turn ends
  • ui.renderDraws into the sessionSessionModeAbovePrompt
  • ui.pressA Claude Code event

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
EgonLeitner
Category
Usage
Marketplace
egonleitner
Repo
EgonLeitner/dashband
Version
0.2.0
License
MIT
Repo stars
3
Last change
2026-10-28
Language
TypeScript
Files
16

Other mods in Usage

codemodeejklockGives Claude one tool that runs a JavaScript script calling the session's own tools, so only the output returns, and draws its nested calls live in the row.sidebarFayequePDocks a stats sidebar beside the chat: tasks, context, tokens, the limits or cost a session used, cache hit rate and expiry, output speed, and git.subagent-statusline-desktopGerardoFC8Draws the subagent statusline as a band above the prompt in the desktop app: model, effort, cost, context, running subagents, and the 5-hour and weekly limits.pulselineGregoryHoDraws a band above the prompt when a tool fails three times in a row, a call runs past a minute, or autocompact is a few turns off; /pulseline opens a ledger.session-radaribrahimkobeissyDocks a sidebar of limits, context, subagents, MCP servers, skills, background shells, and the task list, with a toast when a shell or agent ends.token-speedliuyejinghongDraws a line above the prompt for the main agent and each running subagent: model, effort, context fill, and the last and 24-hour output speed from Magpie.effort-routernextscapePicks the main thread's effort for each prompt with a Haiku judgment, raises it a level when a turn runs long, and shows the level on the status line.quality-routernextscapeHolds a commandPicks each prompt's effort and each subagent's model and effort with Haiku, refuses rule-breaking Workflow scripts, and shows its state on the status line.context-meternoash-xrcDraws 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.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.
All 183 in Usage