Claude Code mod
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.
Install
/plugin marketplace add Arunjay4213/claude-mods
/plugin install budget-guard@claude-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: changes config, drives Claude, persists state, draws
- Sees
- every tool call, every prompt
- Hooks
session.startturn.completetool.callturn.startprompt.submitcommand.run
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- Arunjay4213/claude-mods
- Folder
plugins/budget-guard- Marketplace
claude-mods- Author
- Arunjay
- Last updated
- 16 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is 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. It is a mod for Claude Code, from Arunjay4213/claude-mods on GitHub.
What can the budget-guard mod access?
Its widest reach is "writes or runs" (changes config, drives Claude, persists state, draws). It sees every tool call, every prompt. Like any mod, it runs with your permissions.
How do I install budget-guard?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add Arunjay4213/claude-mods and then /plugin install budget-guard@claude-mods.
Is budget-guard popular?
Arunjay4213/claude-mods has 11 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 16 October 2026.
More context & usage mods
agent-router
11alexandernicholson/agent-router
Choose a model and effort for five agent roles and for agent team teammates with /agent-models, and inspect routing and usage. Requires Claude Code Mod function hooks enabled.
keepalive
11alexandernicholson/agent-router
A prompt cache bar for every conversation, subagent and teammate, a dashboard with /keepalive, per-conversation cache TTLs, and upkeep that keeps an idle cache warm or compacts it before it expires. Requires Claude Code Mod function hooks enabled.
leaks
12davekiss/mods
Find where your Claude Code week went and fix it: /leaks ranks the avoidable spend in your transcripts with one-press fixes, and a strip above the prompt flags a leak while it happens.
limits-meter
11ice-lfernandes/claude-code-mods
Plan limits, cache clock and context above the prompt: model and effort, 5-hour and weekly windows with reset times, a countdown of the prompt cache with an opt-in keep-warm that spends plan, context split by group (system, MCP, messages), tokens per turn, and a toast on a costly model switch near the limit
context-diet
12drkokorev/context-diet
Trims huge tool outputs (logs, JSON, diffs, grep, file lists) before they reach Claude's context, and saves the full text to a file Claude can read
quota-meter
11Arunjay4213/claude-mods
Shows the subscription plan limits - the 5-hour window, the 7-day window and a gateway spend limit - as a pinned status line under the prompt, with a reset countdown and a projection of when you would hit 100% at the pace of the last few samples. /quota opens a pane with a bar, the reset clock time and the burn rate for each window.
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.