All Claude Code modsSynthesizzz/claude-code-token-usage
token-usage
A band above the prompt with context fill, the 5-hour and weekly windows, reset countdowns, a burn-rate forecast and cost. /tokens opens a detail pane; /tokens style, or words such as /tokens bars, change the layout, colours and labels.
token-usage reaches L2 (writes or runs) and passed claude plugin validate.
- Events hooked: 14
- API methods referenced: 27
- Access from classified calls: L2, writes or runs: runs processes, writes files, drives Claude, reads files, reads env vars, reads mod state, persists state, draws
- Reads mod state: the scan does not record whose state, so this does not show that it reads another mod’s values
- Static scan, not a runtime test
Install hint
/plugin install token-usage --marketplace Synthesizzz/claude-code-token-usageFrom 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
L2 Writes or runsruns processes, writes files, drives Claude, reads files, reads env vars, reads mod state, persists state, drawsValidation
PassedListed 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, compaction, subagent spawns, every tool call
- Hooks
session.start, classic.SessionStart, classic.UserPromptSubmit, classic.Stop, session.measure, session.compact, session.end, turn.step, turn.start, agent.spawn, tool.call, turn.complete, command.run {command=tokens}, ui.render {component=AbovePrompt}, ui.render {component=Pane, requestId=?}, ui.render {component=Pane, requestId=?}, ui.render {component=Pane, requestId=?}, ui.render {component=Pane, requestId=?}- API calls
$.agent.list, $.clock.after, $.clock.every, $.clock.now, $.command.list, $.command.register, $.command.run, $.env.get, $.fs.list, $.fs.read, $.fs.write, $.model.fork, $.process.run, $.prompt.submit, $.session.compact, $.session.id, $.session.usage, $.state.get, $.state.set, $.store.delete, $.store.get, $.store.set, $.turn.abort, $.ui.notify, $.ui.open, $.ui.resolve, $.ui.toast- Surface modules
hooks/ring.tsx- Validation
- Passed
- Scanned revision
ffa431b8957e- Marketplace passed
- local-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.
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/Synthesizzz--claude-code-token-usage--token-usage/)
[](https://mods.aidojo.si/mods/Synthesizzz--claude-code-token-usage--token-usage/)