All shelves / Mods / Usage
budget-guard
By VedantAndhale
budget-guard is a Claude Code usage mod by VedantAndhale.
Keeps a prompt from being sent while the 5-hour or weekly usage is at or over your limit, until you send it again, and shows the limit with /budget.
Draws
Install
The marketplace name is claude-pro-kit.
/plugin marketplace add VedantAndhale/claude-pro-kit /plugin install budget-guard@claude-pro-kit
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.1.0
- License
- MIT
- Repo stars
- 10
- Last change
- 2026-10-03
What it can reach
- Draws in the session
- Reads usage or context figures
Before a prompt starts a turn, it checks the 5-hour and weekly usage readings Claude Code reports. If either is at or over your limit, 90 percent by default, that prompt is not sent, and you are told why. Sending the same message again goes through. Until Claude Code has reported a reading in this session, nothing is stopped. /budget shows the limit and the current readings. /budget 80 sets the limit, kept across sessions. /budget on or off switches it. The README does not name a file for that limit.
One plugin from VedantAndhale/claude-pro-kit. The root README says prompt-polish is the only mod in that kit that makes a model call, and budget-guard makes none. The plugin folder has no README. These lines are the repository README. context-budget draws context by category and asks before a settings file is written. This one watches the 5-hour and weekly readings and stops the prompt when either is at or over your limit.
Demo

What it hooks into
session.startWhen a session startssession.measureWhen usage is measuredcommand.runWhen you run its slash command/budgetprompt.submitWhen you send a prompt
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/budgetBudget guard: /budget shows it · /budget <1-100> sets the limit · /budget on|off
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- VedantAndhale
- Category
- Usage
- Marketplace
- claude-pro-kit
- Folder
- plugins/budget-guard
- Version
- 0.1.0
- License
- MIT
- Repo stars
- 10
- Last change
- 2026-10-03
- Language
- TypeScript
- Files
- 5

