claudemods

All Claude Code modsArunjay4213/claude-mods

budget-guard

A Claude Code mod in Arunjay4213/claude-mods

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.

Install hint

/plugin install budget-guard --marketplace Arunjay4213/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 runschanges config, drives Claude, persists state, draws

Validation

Passed on Claude Code 2.1.302

View 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

Badge for your README

Reach badge for budget-guard Validation badge for budget-guard

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