usage-bars
by a-bine · ★ 0 · updated 5 days ago
0
Context, 5h and 7d usage bars above the prompt, colored by fill and refreshed from the account's live usage, plus folder, model, effort and thinking
Install
/plugin marketplace add a-bine/claude-mods/plugin install usage-bars@claude-modsThen 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.startturn.startconfig.setsession.measureui.render- API calls
$.clock.every$.clock.now$.config.list$.env.get$.http.fetch$.session.authorize$.session.cwd$.session.model$.session.usage$.settings.read$.state.get$.state.set$.store.get$.store.set$.ui.resolve- Draws
AbovePrompt- Reach
- level 3 of 3 other: $.state.getother: $.state.setnetworkreads env varsreads settingsreads the transcriptpersists 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/a-bine/claude-mods
- Path in repo
usage-bars- Source commit
94d5decthe exact code the scan read- Author
- @a-bine
- 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.