usage-bar
by abyigiter · ★ 2 · updated today
See your Claude Code session at a glance: context left, cost and today's spend, rate limits, git diff and PR status, right above the prompt. Set /budget limits and get a toast before you go over. Open the detail panel for context breakdown, turns, cache hit rate and top tools. Works in the CLI and the desktop Code tab.
Install
/plugin marketplace add abyigiter/claude-usage-bar/plugin install usage-bar@abyigiter-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.runprompt.submittool.callsession.measureturn.completeui.render- API calls
$.clock.every$.command.register$.process.run$.session.id$.session.model$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.resolve$.ui.toast
Origin
- How it got here
- Found through a post on X by @abyigiter_, then checked on GitHub: the repo has a plugin manifest and function hooks. Listed .
- Repository
- github.com/abyigiter/claude-usage-bar
- Path in repo
usage-bar- Source commit
646fd7athe exact code the scan read- Author
- @abyigiter
- License
- No license declared — ask the author before reusing code.
- 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
I don't know if anybody did this already, but I was playing with Claude Code mods and made a small usage bar. Context, cost, today's spend, git diff, PR status and a budget alert, right above the prompt. https://github.com/abyigiter/claude-usage-bar