← LeaderboardThe Skill Leaderboard

principle-guard-the-context-window

Apply when context is filling up: large outputs, long files, repeated reads, fan-out planning. Route bulk to subagents; keep summaries in the main thread, not raw payloads.

Published by michael-denyer ↗michael-denyer/pstack-claude

Try your first task

principle-guard-the-context-window

Start a fresh conversation. Replace the highlighted placeholders.

Use principle-guard-the-context-window to Plan a strategy to [goal] for [large materials or workflow] that guards the context window by isolating large payloads to subagents, keeping summaries in the main thread, and capping phase scope.

Required inputs

  • [goal]
  • [large materials or workflow]

User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗

SKILL.md

name: principle-guard-the-context-windowdescription: "Apply when context is filling up: large outputs, long files, repeated reads, fan-out planning. Route bulk to subagents; keep summaries in the main thread, not raw payloads."user-invocable: false

Guard the Context Window

Why: Context overflow degrades reasoning quality, creates compression artifacts, and halts progress.

Pattern:

  • Size phases and cap scope. Limit files per phase, set turn budgets, account for mechanism costs.