All Claude Code modsKRNL-Studio/usage-meter
usage-meter
See where every Claude token goes, live: plan-limit % used and left, burn rate, tokens and API-equivalent $, by session, subagent, model and machine
usage-meter reaches L2 (writes or runs) and passed claude plugin validate with warnings.
- Events hooked: 11
- API methods referenced: 22
- Access from classified calls: L2, writes or runs: runs processes, writes files, drives Claude, reads files, reads env vars, reads mod 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 usage-meter --marketplace KRNL-Studio/usage-meterFrom 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, drawsValidation
Passed with warningsListed under Context and usage meters for Claude Code.
View the source on GitHub Back to the list
What the scan recorded
- Observed events
- subagent spawns, Bash calls, compaction
- Hooks
session.start, turn.start, agent.spawn, turn.step, tool.call {tool=Bash}, turn.complete, session.compact, session.measure, session.end, command.run {command=burn}, ui.render {component=AbovePrompt}, ui.render {component=Pane, requestId=usage-meter}- API calls
$.clock.after, $.clock.every, $.clock.now, $.command.register, $.env.get, $.fs.read, $.fs.stat, $.fs.write, $.process.run, $.session.compact, $.session.id, $.session.model, $.session.usage, $.state.get, $.state.set, $.ui.invalidate, $.ui.log, $.ui.open, $.ui.panes, $.ui.resolve, $.ui.status, $.ui.toast- Validation
- Passed with warnings
- Scanned revision
0c8bc64633c7- Marketplace passed
- usage-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
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/KRNL-Studio--usage-meter--usage-meter/)
[](https://mods.aidojo.si/mods/KRNL-Studio--usage-meter--usage-meter/)