All Claude Code modskurushiba/claude-mods
budget-guard
予算の70%を超えたらサブエージェントを Haiku に、90%を超えたらメインを1段下のモデルに切り替える
budget-guard reaches L1 (reads) and passed claude plugin validate on Claude Code 2.1.304.
- Events hooked: 6
- API methods referenced: 11
- Access from classified calls: L1, reads: reads mod state, persists state, draws
- Reads mod state: the scan does not record whose state, so this does not show that it reads another mod’s values
- Static scan, not a runtime test
To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.
Access
L1 Readsreads mod state, persists state, drawsValidation
Passed on Claude Code 2.1.304View the source on GitHub Back to the list
What the scan recorded
- Observed events
- subagent spawns
- Hooks
session.start, command.run {command=budget}, prompt.compose, agent.spawn, turn.step, ui.render {component=AbovePrompt}- API calls
$.command.register, $.session.usage, $.state.get, $.state.set, $.store.delete, $.store.get, $.store.set, $.ui.invalidate, $.ui.log, $.ui.resolve, $.ui.toast- Validation on 2.1.304
- Passed
- Scanned revision
74f32868e6c6
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. What a mod can access and how the scan works.
More from kurushiba/claude-mods
- model-router調査系のサブエージェントだけ Haiku で動かし、メインのモデルを固定する
- test-pilotコードが変わっていなければ npm test を実行せずに前回の結果を返す
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/kurushiba--claude-mods--budget-guard/)
[](https://mods.aidojo.si/mods/kurushiba--claude-mods--budget-guard/)