token-meter

by dumorro · ★ 0 · updated 8 days ago

PanesCommandsvalidates

0

Live pane with tokens read, written and the context window fill

install token-meter

Install

/plugin marketplace add Dumorro/token-meter
/plugin install token-meter@token-meter

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.startcommand.runturn.completesession.measuresession.endui.render
API calls
$.clock.every$.clock.now$.command.register$.env.get$.fs.exists$.fs.list$.process.run$.session.cwd$.session.id$.session.root$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.open$.ui.resolve
Draws
Pane
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processesreads filesreads env varspersists 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/Dumorro/token-meter
Path in repo
repository root
Source commit
9f058e5 the exact code the scan read
Author
dumorro @Dumorro
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.