token-meter

by bogdanbatranut · ★ 0 · updated 8 days ago

BandsStatus lineCommandswarnings

0

Band above the prompt: tokens used by the last prompt, since /clear, the live context-window fill, and the dollar cost

install token-meter

Install

/plugin marketplace add bogdanbatranut/bog-mods
/plugin install token-meter@bog-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.startcommand.runturn.startturn.stepsession.measuresession.endui.render
API calls
$.clock.every$.session.model$.session.usage$.settings.read$.state.get$.state.set$.ui.resolve$.ui.status$.ui.toast
Draws
AbovePrompt
Reach
level 1 of 3 other: $.state.getother: $.state.setreads settingsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/bogdanbatranut/bog-mods
Path in repo
token-meter
Source commit
5e3f60f the exact code the scan read
Author
@bogdanbatranut
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.