usage-bar

by timothylok · ★ 0 · updated 5 days ago

BandsCommandswarnings

0

A band above the prompt showing your 5-hour and weekly rate-limit usage, with warnings as you approach them.

install usage-bar

Install

/plugin marketplace add timothylok/ClaudeCodeModsByTimLok
/plugin install usage-bar@cc-mods

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.measureui.render
API calls
$.clock.now$.command.register$.session.usage$.state.get$.state.set$.ui.resolve$.ui.toast
Draws
AbovePrompt
Reach
level 1 of 3 other: $.state.getother: $.state.setdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/timothylok/ClaudeCodeModsByTimLok
Path in repo
usage-bar
Source commit
9f622bb the exact code the scan read
Author
@timothylok
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.

More from timothylok/ClaudeCodeModsByTimLok

context-bar

timothylok/ClaudeCodeModsByTimLok

Draws the context window as a stacked bar above the prompt, one colour per /context category; toggle with /context-bar

★ 0BandsCommands

research-offloader

timothylok/ClaudeCodeModsByTimLok

Spots research prompts and keeps them out of the main context: sends them to your own research endpoint (e.g. a NotebookLM bridge) if configured, otherwise makes Claude delegate to a cheap subagent.

★ 0ToastsGuardsPrompt

smart-model-router

timothylok/ClaudeCodeModsByTimLok

Routes each main-thread turn to a heavy or light model based on the prompt, and falls back to the light model near your rate limits.

★ 0Status lineCommandsPrompt