What is budget?
budget is a Claude Code mod by pomesaka that one usage budget on a subscription rate-limit window (set_budget, clear_budget, read_budget): when any session sees the window reach the threshold, toasts once and tells the session that. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | pomesaka |
| Repository | pomesaka/dotclaude |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | Low risk (88/100) |
| Rank | #7,869 of 9,397 Claude Code mods; #1,532 in Cost & usage |
| Last commit | 2026-11-30 |
| Hooks | 3 events |
| Sees | mcp__budget__clear_budget calls, mcp__budget__read_budget calls, mcp__budget__set_budget calls |
| Draws on | nothing |
Is budget safe to install?
budget scores 88/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 5 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.prompt.submit | drives Claude |
$.session.id | |
$.session.send | |
$.session.usage | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.tool.register | drives Claude |
$.ui.toast | draws interface |
How do I install budget?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/pomesaka/dotclaude claude plugin validate ./dotclaude/mods/budget
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add pomesaka/dotclaude && claude plugin install budget@dotclaude
Or ask Claude to set it up
Paste this into Claude Code and it installs budget for you:
Install the "budget" Claude Code mod from https://github.com/pomesaka/dotclaude/tree/main/mods/budget. Run claude plugin validate on it first and show me what it can access before you enable it.
More from pomesaka/dotclaude
This repository has at least 9 Claude Code mods on MCPMods.
- check-streak: Counts how many times in a row the same check (tests, type check, lint) fails for the agent; on the third failure withou (Low risk)
- danger-guard: Before the agent runs a Bash command, blocks the ones that can wreck the machine or the user's data beyond the working r (Review before installing)
- devrep: update_devrep tool: while turned on for a session, the agent keeps a short report of where the work stands (doing now, n (Low risk)
- dotclaude-ledger: Records every Edit and Write that lands in the dotclaude working copy (file, an excerpt, and the request it answered) ou (Review before installing)
- human-edit: human_edit tool: the agent asks the user to edit a file in a tmux split pane and waits until the editor exits (High risk)
- jj: Adds the jj counts (changed files, unpushed commits) and commit and log buttons to the line under the prompt, with a pan (Low risk)
- next-step: After a turn, shows up to four prompts the user is likely to type next as cards above the prompt: Claude Code's own prom (Low risk)
- pr: A list of the pull requests this session created or edited, with CI and review state, shown in a pane; watches CI after (Low risk)