mcpField
P
principle-guard-the-context-window

principle-guard-the-context-window

github.com/ericlitmanAgent workflows53847 installsUpdated 1w ago
Repository

About principle-guard-the-context-window

A context-management skill for developers and coding agents working through multi-phase tasks. It recommends limiting files and turn budgets per phase and accounting for mechanism costs to reduce context overflow.

Key features

  1. 01Limit files within each phase
  2. 02Set per-phase turn budgets
  3. 03Account for mechanism costs

Use cases

  1. 01Break large tasks into bounded phases
  2. 02Plan work under context limits

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/ericlitman/open-pstack --skill principle-guard-the-context-window

After installing, type/principle-guard-the-context-windowin Claude Code to confirm it loaded.

Details

From the project README

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.

Comments

Markdown supported