usage-hud

by Chandan Mishra · ★ 0 · updated 2 days ago

PanesBandsCommandsvalidates

0

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 countdown with last-turn tokens and cost.

install usage-hud

Install

/plugin marketplace add chandan84/cache-time-pending-usage-limit-mod
/plugin install usage-hud@usage-hud-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startclassic.SessionStartturn.startturn.stepturn.completecommand.runui.renderui.close
API calls
$.clock.after$.clock.every$.command.register$.env.get$.process.run$.session.id$.session.surfaces$.session.usage$.settings.read$.store.get$.store.set$.ui.close$.ui.invalidate$.ui.open$.ui.resolve
Draws
AbovePromptPane
Can see
classic hooks
Reach
level 2 of 3 runs processesreads env varsreads settingspersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/chandan84/cache-time-pending-usage-limit-mod
Path in repo
plugins/usage-hud
Author
Chandan Mishra @chandan84
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.