cost-bar

by Hyeonseong Shin · ★ 0 · updated 20 days ago

BandsGuardsPromptvalidates

0

Shows model, session cost, context, 5h/7d plan usage and cache countdown in a bar above the prompt.

install cost-bar

Install

/plugin marketplace add HyeonseongShin/claude-usage-bar
/plugin install cost-bar@claude-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.startsession.measureprompt.submittool.callui.render
API calls
$.clock.every$.clock.now$.env.get$.session.model$.session.turns$.session.usage$.settings.read$.state.get$.state.set$.ui.invalidate$.ui.resolve
Draws
AbovePrompt
Can see
every promptevery tool call
Reach
level 1 of 3 reads env varsreads settingsreads mod 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/HyeonseongShin/claude-usage-bar
Path in repo
repository root
Source commit
a4644b5 the exact code the scan read
Author
Hyeonseong Shin @HyeonseongShin
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.

Other mods in Bands, close to this one by stars.