cc-usage-hud

by Bing2000me · ★ 0 · updated 10 days ago

BandsGuardsTools & agentsvalidates

0

A chip bar above the prompt: cache hit rate, rate limits, cost (session/day/week/month) and TPS, with hover cards.

install cc-usage-hud

Install

/plugin marketplace add Bing2000me/cc-usage-hud
/plugin install cc-usage-hud@cc-usage-hud

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.startturn.startturn.steptool.callsession.measureturn.completesession.endui.render
API calls
$.clock.every$.clock.now$.env.get$.fs.list$.fs.read$.fs.write$.process.run$.session.id$.session.usage$.state.get$.state.set$.tool.register$.ui.resolve
Draws
AbovePrompt
Can see
every tool callmcp__cc-usage-hud__hud_dev calls
Reach
level 2 of 3 runs processeswrites filesdrives Claudereads filesreads env varsreads mod 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/Bing2000me/cc-usage-hud
Path in repo
repository root
Source commit
874e98b the exact code the scan read
Author
@Bing2000me
License
No license declared — ask the author before reusing code.
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.