token-panel
by JunsuChoi · ★ 1 · updated 2 days ago
0
A pane listing each prompt's token usage and its cost at standard API (Enterprise usage) rates; /token-panel turns it on and off
Install
/plugin marketplace add JSUYA/claude-token-panel-mod/plugin install token-panel@claude-token-panelThen 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.runui.closeclassic.SessionStartclassic.UserPromptSubmitclassic.PostToolUsesession.measureturn.completeui.renderui.scroll- API calls
$.clock.after$.clock.every$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.session.id$.session.root$.session.usage$.state.get$.state.set$.ui.close$.ui.open$.ui.panes$.ui.resolve$.ui.scroll$.ui.toast- Draws
PaneAbovePromptUserMessage- Can see
classic hooks- Reach
- level 1 of 3 other: $.state.getother: $.state.setreads filesreads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/JSUYA/claude-token-panel-mod
- Path in repo
- repository root
- Source commit
3e62398the exact code the scan read- Author
- JunsuChoi @JSUYA
- 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.