usage-hud

usage-hud is a Claude Code mod by chandan84 that three-box HUD above the prompt: tokens and API-equivalent cost across all sessions (daily and per-session breakdown), context-window meter with a soft limit, and prompt-cache warmth.

Updated 2026-10-11

What is usage-hud?

usage-hud is a Claude Code mod by chandan84 that three-box HUD above the prompt: tokens and API-equivalent cost across all sessions (daily and per-session breakdown), context-window meter with a soft limit, and prompt-cache warmth. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authorchandan84
Repositorychandan84/cache-time-pending-usage-limit-mod
Popularityno public popularity data yet
CategoryCost & usage
SecurityReview before installing (64/100)
Rank#2,889 of 5,272 Claude Code mods; #498 in Cost & usage
LicenseMIT
Last commit2026-10-11
Hooks9 events
Seesclassic hooks, every prompt
Draws onAbovePrompt, Pane

Is usage-hud safe to install?

usage-hud scores 64/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables; watches every prompt or event. It passed 5 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Watches every prompt or eventReview
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.command.register
$.env.getreads env vars
$.process.runruns processes
$.session.id
$.session.surfaces
$.session.usage
$.settings.readreads settings
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.askdraws interface
$.ui.closedraws interface
$.ui.invalidatedraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface

How do I install usage-hud?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/chandan84/cache-time-pending-usage-limit-mod
    claude plugin validate ./cache-time-pending-usage-limit-mod/plugins/usage-hud
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add chandan84/cache-time-pending-usage-limit-mod && claude plugin install usage-hud@usage-hud-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs usage-hud for you:

Install the "usage-hud" Claude Code mod from https://github.com/chandan84/cache-time-pending-usage-limit-mod/tree/main/plugins/usage-hud. Run claude plugin validate on it first and show me what it can access before you enable it.