mcpField
P
principle-guard-the-context-window

principle-guard-the-context-window

github.com/q-qp-pAgent workflows144 installsUpdated 2w ago
Repository

About principle-guard-the-context-window

principle-guard-the-context-window is a brief skill for agents aimed at preventing context overflow from disrupting reasoning and progress. It recommends dividing work into bounded phases and accounting for the cost of mechanisms.

Key features

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

Use cases

  1. 01Breaking large tasks into bounded phases
  2. 02Planning agent work under context limits

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/q-qp-p/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