/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.
Claude Code
$ npx -y skills add cursor/plugins --skill principle-guard-the-context-window --agent claude-code
Codex
$ npx skills add cursor/plugins --skill principle-guard-the-context-window -a codex -y
Cursor
$ npx skills add cursor/plugins --skill principle-guard-the-context-window -a cursor -y
Gemini CLI
$ npx skills add cursor/plugins --skill principle-guard-the-context-window -a gemini-cli -y
GitHub Copilot
$ npx skills add cursor/plugins --skill principle-guard-the-context-window -a github-copilot -y
OpenCode
$ npx skills add cursor/plugins --skill principle-guard-the-context-window -a opencode -y
Windsurf
$ npx skills add cursor/plugins --skill principle-guard-the-context-window -a windsurf -y
SKILL.md
principle-guard-the-context-window.SKILL.mdname: 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.
Official Cursor plugins for popular developer tools, frameworks, and SaaS products. Each plugin is a standalone directory at the repository root with its own .cursor-plugin/plugin.json manifest.
More skills from other plugins.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
ask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Questions about principle-guard-the-context-window.
- Which coding agents can use principle-guard-the-context-window?
- principle-guard-the-context-window installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

