token-usage
by Yann Fontana · ★ 0 · updated 8 days ago
0
Shows each turn's input / cache write / cache read / output tokens and cache hit rate under its answer
Install
/plugin marketplace add Tekrunner/my-claude-mods/plugin install token-usage@yann-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.startturn.completeui.render- API calls
$.state.get$.state.set$.ui.resolve$.ui.status- Draws
AssistantMessage- Reach
- level 1 of 3 other: $.state.getother: $.state.setdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/Tekrunner/my-claude-mods
- Path in repo
mods/token-usage- Source commit
8e4e00athe exact code the scan read- Author
- Yann Fontana @Tekrunner
- 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.