智能体工作流

principle-guard-the-context-window

backnotprop/pstack

Apply when context is filling up: large outputs, long files, repeated reads, fan-out planning. Route bulk to subagents; keep summaries in the main thread, not raw payloads.

  • 6056 次安装
  • 3100 星标
  • 收录于

安装命令

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

SKILL.md

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.