token-meter

by Wahiduzzaman Khan · ★ 0 · updated 27 days ago

PanesBandsCommandswarnings

0

Token, context window and quota meters above the prompt

install token-meter

Install

git clone https://github.com/WahiduzzamanKhan/wahid-claude-tweaks
claude --plugin-dir ./wahid-claude-tweaks/plugins/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.startclassic.SessionStartsession.measureturn.stepcommand.runui.render
API calls
$.clock.every$.clock.now$.command.register$.session.id$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.invalidate$.ui.open$.ui.resolve
Draws
PaneAbovePrompt
Can see
classic hooks
Reach
level 1 of 3 reads mod statepersists 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/WahiduzzamanKhan/wahid-claude-tweaks
Path in repo
plugins/token-meter
Source commit
9345fdf the exact code the scan read
Author
Wahiduzzaman Khan @WahiduzzamanKhan
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.

More from WahiduzzamanKhan/wahid-claude-tweaks

color-preview

WahiduzzamanKhan/wahid-claude-tweaks

Paints each colour code in Claude's replies with the colour it names

★ 0PanesReskinsCommands