usage-band
by Jetson Chan · ★ 5 · updated 2 days ago
A band above the prompt showing your 5-hour and 7-day limits, context window and prompt-cache hit rate, styled for the terminal and the desktop app
Install
/plugin marketplace add JetsonChan/CC-Usage-Band/plugin install usage-band@cc-usage-bandThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.startsession.measureturn.completecommand.runui.render- API calls
$.clock.every$.clock.now$.command.register$.env.get$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.resolve$.ui.toast- Draws
CommandOutputAbovePrompt- Reach
- level 1 of 3 other: $.state.getother: $.state.setreads env varspersists 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/JetsonChan/CC-Usage-Band
- Path in repo
usage-band- Author
- Jetson Chan @JetsonChan
- License
- MIT
- First published
- Last pushed
- First listed here
- On X
- Mentioned in 1 post on X
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.
Posts about this repo
今天花一下午给 Claude Code 做了一个额度监测和上下文窗口 Mod https://github.com/JetsonChan/CC-Usage-Band 顺手也让 Opus 做一个产品展示视频 虽然桌面端右下角点开就能看,但是懒人连点都不想点... 支持桌面版浅色/深色模式以及 CLI 端,欢迎大佬们 Star 和 PR🎉