usage-bar

by Aethor1s · ★ 0 · updated 2 days ago

Bandsvalidates

0

常驻输入框上方的用量状态条:5h/7d 额度、token、缓存与会话花费

install usage-bar

Install

/plugin marketplace add y20061018y-collab/Claude-Mods
/plugin install usage-bar@aethor-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.startsession.measureturn.stepturn.completesession.endui.render
API calls
$.clock.after$.clock.every$.clock.now$.session.id$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.set$.ui.resolve
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/y20061018y-collab/Claude-Mods
Path in repo
usage-bar
Author
Aethor1s @y20061018y-collab
License
MIT
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

YHY Hacker@HackerYHY

Built a usage status bar for Claude Code mods: - 5h / 7d limit bars with a time marker - Live token counts - Session cost Install: paste the one-line prompt from image 2 into Claude Code. Open source, MIT. https://github.com/y20061018y-collab/Claude-Mods #ClaudeCode