principle-guard-the-context-window · git:20261116.37c9155 · 2026-11-16 · sha256 af0b9dd70b43628c

principle-guard-the-context-window git:20261116.37c9155A

Immutable. This exact content never changes and is served at /api/v1/blob/af0b9dd70b43628c.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_bb7kqwj7pchekmkw/af0b9dd70b43628ce4a59a4d332e9d9ad055084e460f430e7a757495c627e81a.json

Then /plugin install principle-guard-the-context-window@markdownregistry-bb7kqwj7pchekmkw in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
name: principle-guard-the-context-window
description: "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."
disable-model-invocation: true
---

# 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.