claudemods

All Claude Code modsJoseph-Ayoub/claude-mods

usage-gauge

A Claude Code mod in Joseph-Ayoub/claude-mods

(superseded by rd-ledger) A live cost chip in the prompt footer and a /spend Usage pane: the session's cost, context by category, rate limits, tokens and cache hit per model, subagent share and code changes, without /usage landing in the transcript.

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

Install hint

/plugin install usage-gauge --marketplace Joseph-Ayoub/claude-mods

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 on Claude Code 2.1.312

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
Edit|Write|NotebookEdit calls
Hooks
session.start, session.measure, turn.step, turn.complete, tool.call {tool=Edit|Write|NotebookEdit}, command.run {command=spend}, ui.render {component=PromptHint}, ui.render {component=SessionMode}, ui.render {component=Pane, requestId=usage-gauge}
API calls
$.agent.list, $.clock.now, $.command.register, $.session.surfaces, $.session.usage, $.state.get, $.state.set, $.ui.close, $.ui.log, $.ui.open, $.ui.resolve
Validation on 2.1.312
Passed
Scanned revision
86951e26d68a
Marketplace warnings
joseph-mods

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.

More from Joseph-Ayoub/claude-mods

Badge for your README

Reach badge for usage-gauge Validation badge for usage-gauge

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