usage-bar
by Richard Suwandi · ★ 0 · updated 2 days ago
Usage bars (context, 5h, 7d, cost) above the prompt plus an auto-compact nudge; toggle with /usage-bar
Install
/plugin marketplace add richardcsuwandi/claude-mods/plugin install usage-bar@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.startcommand.runturn.completeui.render- API calls
$.command.register$.session.compact$.session.usage$.state.get$.state.set$.ui.resolve$.ui.toast- Draws
AbovePrompt- Reach
- level 2 of 3 other: $.state.getother: $.state.setdrives Claudedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/richardcsuwandi/claude-mods
- Path in repo
plugins/usage-bar- Author
- Richard Suwandi @richardcsuwandi
- 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.
More from richardcsuwandi/claude-mods
context-bar
richardcsuwandi/claude-mods
Stacked context-window bar above the prompt, colored like /context; toggle with /context-bar
deadlines
richardcsuwandi/claude-mods
Live deadline countdowns in the Claude Code status line. /ddl to list, add, remove.
monitor
richardcsuwandi/claude-mods
A control room above the prompt: background agents and shells (running, done, failed), blocked tool calls and context usage. /monitor pins it.