claudemods

All Claude Code modsZinzan48/claude-mods

context-budget

A Claude Code mod in Zinzan48/claude-mods

Compact reminders as the context grows, a check before resuming a large session after the prompt cache expires, and per-type models with a minimum effort for subagents.

context-budget reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.303.

Install hint

/plugin install context-budget --marketplace Zinzan48/claude-mods

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

L2 Writes or runsdrives Claude, writes the prompt box, reads settings, reads the transcript, reads the prompt box, reads mod state, persists state, draws

Validation

Passed on Claude Code 2.1.303

View the source on GitHub Back to the list

What the scan recorded

Observed events
compaction, every prompt, subagent spawns
Hooks
session.start, turn.complete, session.compact, prompt.submit, agent.spawn, turn.step, command.run {command=context-budget}, ui.render {component=AbovePrompt}
API calls
$.clock.now, $.command.register, $.command.run, $.model.fork, $.prompt.fill, $.prompt.read, $.session.id, $.session.messages, $.session.usage, $.settings.read, $.state.get, $.state.set, $.store.delete, $.store.get, $.store.keys, $.store.set, $.ui.resolve, $.ui.status, $.ui.toast
Validation on 2.1.303
Passed
Scanned revision
b74171d447e2
Marketplace passed
zinzan-mods

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.

Badge for your README

Reach badge for context-budget Validation badge for context-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/Zinzan48--claude-mods--context-budget-reach.svg)](https://mods.aidojo.si/mods/Zinzan48--claude-mods--context-budget/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/Zinzan48--claude-mods--context-budget-validates.svg)](https://mods.aidojo.si/mods/Zinzan48--claude-mods--context-budget/)