cost-pane
by anthonyhungnguyen · ★ 0 · updated 3 days ago
Pane of token and USD spend: this session, today, last 7 days
Install
git clone https://github.com/anthonyhungnguyen/claude-code-modsclaude --plugin-dir ./claude-code-mods/cost-paneThen 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.startcommand.runturn.completeui.render- API calls
$.clock.every$.clock.now$.command.register$.session.id$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.open$.ui.resolve$.ui.status- Draws
Pane- 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/anthonyhungnguyen/claude-code-mods
- Path in repo
cost-pane- Author
- @anthonyhungnguyen
- License
- No license declared — ask the author before reusing code.
- 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 anthonyhungnguyen/claude-code-mods
cache-watch
anthonyhungnguyen/claude-code-mods
Toast when a turn rebuilt the prompt cache, with what it cost and the likely cause
context-guard
anthonyhungnguyen/claude-code-mods
Context window fill in the status line, with a heads-up before it runs out
turn-timer
anthonyhungnguyen/claude-code-mods
Speaks and toasts when a long turn finishes