prompt-budget-preflight
Installation
SKILL.md
Prompt Budget Preflight
Run this before calling the Agent tool. It takes under 30 seconds and prevents the most common subagent failure mode: rejection with "Prompt is too long".
Why this exists
Subagents inherit a large base context before your prompt is even appended:
- Global
~/.claude/CLAUDE.md - Project
.claude/CLAUDE.mdchain (including any rules files referenced via@) - Any auto-loaded plugin
CLAUDE.mdin the subagent'scwd MEMORY.mdand auto-memory entries- System prompts for the selected
subagent_type - Tool definitions for tools the subagent can see
In our own telemetry from one 9-spawn session: