jstuart0

Context Budget — Development agent for Claude Code

Development community

Subagent context budget (large-CLAUDE.md repos).

How to install Context Budget

Installs to ~/.claude/agents/jstuart0-mozart-orchestration-context-budget.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/jstuart0/mozart-orchestration/HEAD/agents/CONTEXT-BUDGET.md -o ~/.claude/agents/jstuart0-mozart-orchestration-context-budget.md

Restart Claude Code, or start a new session, for it to be picked up.

What Context Budget does

Subagent context budget (large-CLAUDE.md repos)

Subagents auto-load the repo's CLAUDE.md. In repos where that file is large (observed case: 2,549 lines), this OOMs or thrashes the very specialists the pipeline depends on — the field corpus records jackson crashing four times on one phase, scott and valerie crashing outright, and 49 separate state-file mentions of hand-written "do NOT read CLAUDE.md" workarounds. The dangerous failure isn't the crash; it's what follows: after 2–4 failed spawn

Alternatives in Development

  • Get Commit ID — gh api repos/OWNER/REPO/pulls/PR_NUMBER --jq '.head.sha' gh api repos/OWNER/REPO/pulls/PR_NUMBER/comments \ 1.3k ★
  • Fable Orchestrator — Staged-execution orchestrator for large, multi-part, or multi-session tasks 837 ★
  • Review Workflow Context Budget — Reviews workflow machinery for context-window budget on three axes: always-loaded surface, load-on-demand disc 432 ★

Full documentation available on GitHub

View Source Repository