claudemods

All Claude Code modsejklock/claude-usage-mod

token-usage

A Claude Code mod in ejklock/claude-usage-mod

A Claude Code mod that draws a band above the prompt with the whole session's prompt cache reads and writes, token usage, cost and subscription rate limits.

token-usage reaches L0 (draws and remembers) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.

Install hint

/plugin install token-usage --marketplace ejklock/claude-usage-mod

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 Reads filesother: $.state.get, other: $.state.set, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
the system prompt
Hooks
prompt.context, turn.step, session.start, session.measure, ui.render {component=AbovePrompt}
API calls
$.clock.now, $.session.usage, $.state.get, $.state.set, $.ui.resolve
Validation on 2.1.302
Passed
Scanned revision
e2ec56c1f10b
Marketplace passed
token-usage

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. How the scan works.

Badge for your README

Reach badge for token-usage Validation badge for token-usage

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/ejklock--claude-usage-mod--token-usage-reach.svg)](https://mods.aidojo.si/mods/ejklock--claude-usage-mod--token-usage/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/ejklock--claude-usage-mod--token-usage-validates.svg)](https://mods.aidojo.si/mods/ejklock--claude-usage-mod--token-usage/)