usage-bar

by chenkai · ★ 0 · updated 2 days ago

BandsCommandsvalidates

0

Shows what is left of your 5-hour and 7-day rate-limit windows, plus this session's tokens and cost, above the prompt. Works in the Claude desktop app's Code tab.

install usage-bar

Install

/plugin marketplace add kaicodedocument/claude-code-usage-bar
/plugin install usage-bar@claude-code-usage-bar

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.startcommand.runsession.measureturn.completeui.render
API calls
$.clock.every$.clock.now$.command.register$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.invalidate$.ui.resolve$.ui.toast
Draws
AbovePrompt
Reach
level 1 of 3 other: $.state.getother: $.state.setpersists 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/kaicodedocument/claude-code-usage-bar
Path in repo
repository root
Source commit
d6bc6e1 the exact code the scan read
Author
chenkai @kaicodedocument
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.