claudemods

All Claude Code modspartalemre/MODZ

session-budget

A Claude Code mod in partalemre/MODZ

A per-session spend budget (% of the 5h limit or $): notice at 80%, Continue anyway / Stop at 100% on a new prompt

review UI rewrite

session-budget reaches L1 (reads) and passed claude plugin validate with warnings on Claude Code 2.1.312.

Install hint

/plugin install session-budget --marketplace partalemre/MODZ

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L1 Readswrites the prompt box, reads env vars, reads the prompt box, reads mod state, persists state, draws

Validation

Passed with warnings on Claude Code 2.1.312

Listed under Context and usage meters for Claude Code.

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt
Hooks
session.start, command.run {command=budget}, command.run {command=session-budget}, session.measure, prompt.submit, ui.render {component=AbovePrompt}, ui.render {component=AskUserQuestion}
API calls
$.clock.after, $.clock.now, $.command.register, $.env.get, $.prompt.fill, $.prompt.read, $.session.surfaces, $.session.usage, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.ask, $.ui.log, $.ui.resolve
Validation on 2.1.312
Passed with warnings
Scanned revision
2d272a3bd1d4
Marketplace warnings
modz
UI rewrite review
UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. mods/session-budget/hooks/pin.ts:34, mods/session-budget/hooks/pin.ts:38, mods/session-budget/hooks/pin.ts:44

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 partalemre/MODZ

Badge for your README

Reach badge for session-budget Validation badge for session-budget

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/partalemre--MODZ--session-budget-reach.svg)](https://mods.aidojo.si/mods/partalemre--MODZ--session-budget/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/partalemre--MODZ--session-budget-validates.svg)](https://mods.aidojo.si/mods/partalemre--MODZ--session-budget/)