mcpField
P
principle-guard-the-context-window

principle-guard-the-context-window

github.com/michael-denyerAgent workflows3.6k884 installsUpdated today
Repository

About principle-guard-the-context-window

A planning skill for agents that limits work scope and turn budgets to reduce context-window overflow and its effects on reasoning and progress.

Key features

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

Use cases

  1. 01Planning multi-phase tasks
  2. 02Keeping agent work within context limits

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/michael-denyer/pstack-claude --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