claudemods

All Claude Code modsgreeneggwham/token-meter

token-meter

A Claude Code mod in greeneggwham/token-meter

Shows API token usage under every answer, above the prompt and in a /tokens pane: input, output, cache read and cache write, per request, turn and session.

token-meter reaches L1 (reads) and passed claude plugin validate on Claude Code 2.1.312.

Install hint

/plugin install token-meter --marketplace greeneggwham/token-meter

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L1 Readsreads mod state, persists state, draws

Validation

Passed on Claude Code 2.1.312

Listed under Context and usage meters for Claude Code.

View the source on GitHub Back to the list

What the scan recorded

Observed events
classic hooks
Hooks
session.start, classic.SessionStart {source=clear|resume|fork}, turn.start, turn.step, turn.complete, ui.render {component=AbovePrompt}, command.run {command=tokens}, ui.render {component=Pane, requestId=token-meter}, ui.render {component=AssistantMessage}
API calls
$.clock.now, $.command.register, $.session.usage, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.log, $.ui.open, $.ui.resolve
Validation on 2.1.312
Passed
Scanned revision
43fd4548f867
Marketplace passed
token-meter

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

Badge for your README

Reach badge for token-meter Validation badge for token-meter

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/greeneggwham--token-meter--token-meter-reach.svg)](https://mods.aidojo.si/mods/greeneggwham--token-meter--token-meter/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/greeneggwham--token-meter--token-meter-validates.svg)](https://mods.aidojo.si/mods/greeneggwham--token-meter--token-meter/)