# Guard the Context Window

Manage context overflow by sending bulk reads to subagents when context fills up, ensuring reasoning quality and preventing compression artifacts.

**Canonical URL:** https://skillshunter.net/skills/discovered-8aba0711af2874648caa0215df5deabe677eedd5c40f0809

**JSON URL:** https://skillshunter.net/api/public/v1/skills/discovered-8aba0711af2874648caa0215df5deabe677eedd5c40f0809

**Markdown URL:** https://skillshunter.net/skills/discovered-8aba0711af2874648caa0215df5deabe677eedd5c40f0809.md

**Instructions download URL:** https://skillshunter.net/skills/discovered-8aba0711af2874648caa0215df5deabe677eedd5c40f0809/download

**Category:** Software & Development

**Source URL:** https://github.com/jueyi6/empstack/blob/74181e31d2f00313f8683ba157966efcabbe109e/skills/principle-guard-the-context-window/SKILL.md

**Source commit:** 74181e31d2f00313f8683ba157966efcabbe109e

**Listing approved at:** 2026-12-02

**Created at:** 2026-11-30T08:56:13.000000Z

**Updated at:** 2026-12-02T09:15:14.000000Z

## Catalog information

The following descriptions are catalog information. Listing approval does not mean the skill has been tested or is safe for every environment.

### Editor's note

Limit files per phase, set turn budgets, and account for mechanism costs before initiating bulk reads to subagents.

### When to use it

- Managing large-scale text processing tasks
- Optimizing reasoning quality in AI workflows
- Handling context overflow in complex AI systems

## Skill instructions

---
name: principle-guard-the-context-window
description: When context fills up, send bulk reads to subagents.
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.

