# Principle Guard The Context Window

> Reduce unnecessary context from repeated reads, large outputs, and duplicated delegation.

- Skill: `shiwenbin1617/principle-guard-the-context-window` (Agent Skill)
- Install (CLI): `npx skillmds@latest add shiwenbin1617/principle-guard-the-context-window`
- Raw SKILL.md: https://api.skillmd.com/api/skills/shiwenbin1617/principle-guard-the-context-window/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: shiwenbin1617 (https://skillmd.com/u/shiwenbin1617)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/shiwenbin1617/principle-guard-the-context-window

---


# Guard the context window

Read what the task needs. Use targeted searches and bounded output, retaining file pointers for detail that is not needed yet. Reuse findings across phases instead of rereading unchanged material.

For a skill with multiple modes, load the relevant reference only. Keep common constraints in its entrypoint without duplicating the reference.

Delegate a bounded investigation when it can independently resolve a useful question. Moving a large payload to another agent is not automatically cheaper; include coordination and duplicate reading in the decision.

After compaction, continue from the preserved state and inspect only what is missing or has changed.

