token-usage

by Yann Fontana · ★ 0 · updated 8 days ago

Status lineReskinsvalidates

0

Shows each turn's input / cache write / cache read / output tokens and cache hit rate under its answer

install token-usage

Install

/plugin marketplace add Tekrunner/my-claude-mods
/plugin install token-usage@yann-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.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
8e4e00a the 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.

More from Tekrunner/my-claude-mods

limits-band

Tekrunner/my-claude-mods

Always-visible 5-hour and weekly usage limits above the prompt

★ 0Bands

md-review

Tekrunner/my-claude-mods

Review markdown files line by line, leaving comments in the file

★ 0PanesCommands