nextcost
by Hossein Marzban · ★ 5 · updated today
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
/plugin marketplace add HMarzban/claude-mod/plugin install nextcost@hossein-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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$.settings.read$.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 settingsreads 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/nextcost- Source commit
0846c5bthe 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.