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 L1 (reads) and passed claude plugin validate with warnings.

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 Readsreads mod state, draws

Validation

Passed with warnings

Listed under Prompt cache mods for Claude Code, Context and usage meters for Claude Code.

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
Passed with warnings
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. What a mod can access and 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/)