All Claude Code modsMarnel8/claude-mods-
usage-guard
Asks before a large or token-heavy prompt is sent, showing your 5-hour and weekly usage and an estimate of what it may cost
usage-guard reaches L2 (writes or runs) and passed claude plugin validate with warnings on Claude Code 2.1.308.
- Events hooked: 7
- API methods referenced: 10
- Access from classified calls: L2, writes or runs: drives Claude, writes the prompt box, 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 usage-guard --marketplace Marnel8/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
L2 Writes or runsdrives Claude, writes the prompt box, reads mod state, persists state, drawsValidation
Passed with warnings on Claude Code 2.1.308View the source on GitHub Back to the list
What the scan recorded
- Observed events
- every prompt
- Hooks
session.start, session.measure, prompt.submit, turn.start, turn.complete, command.run {command=usage-guard}, ui.render {component=CommandOutput, props has {command=usage-guard}}, ui.render {component=AbovePrompt}- API calls
$.clock.now, $.command.register, $.prompt.fill, $.prompt.submit, $.session.usage, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.resolve- Validation on 2.1.308
- Passed with warnings
- Scanned revision
7e3812cde5ef- Marketplace warnings
- 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.
More from Marnel8/claude-mods-
- model-badgeShows the model in use above the prompt, colored by family: Sonnet in blues, Opus and the latest model in red…
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/Marnel8--claude-mods---usage-guard/)
[](https://mods.aidojo.si/mods/Marnel8--claude-mods---usage-guard/)