All Claude Code modsArunjay4213/claude-mods
budget-guard
Stops a session before it runs past a budget. Three figures are guarded, each with a limit you set: the session cost in dollars, the 5-hour plan window and the 7-day plan window. It says nothing until a figure nears its limit, then pins a status line and warns once; past the limit it refuses tool calls and asks before sending another prompt. /guard shows the state and changes the limits.
budget-guard reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 6
- API methods referenced: 10
- Access from classified calls: L2, writes or runs: changes config, drives Claude, persists state, draws
- Static scan, not a runtime test
Install hint
/plugin install budget-guard --marketplace Arunjay4213/claude-modsFrom 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 runschanges config, drives Claude, persists state, drawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- every tool call, every prompt
- Hooks
session.start, turn.complete, tool.call, turn.start, prompt.submit, command.run {command=guard}- API calls
$.clock.after, $.command.register, $.config.set, $.session.usage, $.store.get, $.store.set, $.turn.abort, $.ui.ask, $.ui.status, $.ui.toast- Validation on 2.1.302
- Passed
- Scanned revision
6de1b69a555a- Marketplace passed
- claude-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. How the scan works.
More from Arunjay4213/claude-mods
- context-lensA live /context: a pinned line under the prompt with the window fill and the growth per turn, and /context-le…
- quota-meterShows the subscription plan limits - the 5-hour window, the 7-day window and a gateway spend limit - as a pin…
- token-ledgerA per-turn cost and token ledger: a pinned status line with the session cost, the last turn's tokens and the…
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/Arunjay4213--claude-mods--budget-guard/)
[](https://mods.aidojo.si/mods/Arunjay4213--claude-mods--budget-guard/)