budget-guard
Reviewed
at commit 3708312
Holds a prompt back once your 5-hour or weekly usage is at or over a limit you set (90% by default); sending it again goes through. No tokens spent.
0 upvotes
Log in to upvote or save- Made by
- Vedant Andhale
- Pinned commit
-
37083124d639a7fa7d9105a096289972521f988e - What we checked
-
Holds back your prompt when Claude Code's own 5-hour or weekly usage reading is at or over a limit you set (90% by default), and tells you how long until it resets. Sending the same prompt again goes through. It spends no tokens, reads no files, makes no network calls and stores only its limit and on/off setting.
Review details
Static review of the source at the pinned commit; not run. Hooks: session.start (loads settings from $.store, registers /budget: show, 1 to 100, on, off), session.measure (keeps the rate limit percentages and reset times Claude Code reports), command.run for budget (answers with a toast), prompt.submit (when on and a window is at or over the limit, drops the prompt with a message the first time; an identical resubmit passes through). The prompt text is only compared to the last held prompt in memory. No files, processes, network or model calls. All code was in the bundle; no npm dependencies.
- What it uses
-
- Reads your prompts: yes
- Sees tool calls: no
- Blocks or changes tool calls: no
- Reads or writes files: no
- Runs programs on your machine: no
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/budget-guard/)