session-usage-band

by Hossein Marzban · ★ 4 · updated 3 days ago

BandsCommandsvalidates

0

See what your next message costs: a live band above the prompt with the prompt-cache countdown, the re-warm price, session cost, context and your 5h/7d limits.

install session-usage-band

Install

/plugin marketplace add HMarzban/claude-mod
/plugin install session-usage-band@hossein-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.endclassic.SessionStartturn.startturn.completeturn.stepsession.compactsession.measurecommand.runui.render
API calls
$.clock.every$.clock.now$.command.register$.env.get$.fs.read$.fs.stat$.process.run$.session.id$.session.model$.session.repo$.session.root$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.invalidate$.ui.resolve$.ui.toast
Draws
AbovePrompt
Can see
classic hookscompaction
Reach
level 2 of 3 runs processesreads filesreads env varsreads mod statepersists 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/HMarzban/claude-mod
Path in repo
plugins/session-usage-band
Source commit
cc69a4e the exact code the scan read
Author
Hossein Marzban @HMarzban
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.