principle-guard-the-context-window

Keeps work organized by sending big tasks to helpers instead of filling up the main workspace.

Installation
Run `npx skills add "https://github.com/christofferbergj/agent-skills" --skill "principle-guard-the-context-window"` to install this skill, then follow its SKILL.md instructions for my next request.

Paste this into Claude Code, Cursor, or any agent that can run commands.

SKILL.mdShow the author's original SKILL.md
---
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."
---

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

Ships with 3 supporting files:

  • agents/openai.yaml
  • LICENSE
  • UPSTREAM.md

Mirrored from the author's public source. Install counts from the open skills registry.

The systems behind these skills get built for partners every week.

Partner with us