Skip to content
backnotprop avatar

Principle Guard The Context Window

Protect the main thread from bulk payloads by routing large outputs and repeated reads to subagents.

CCM score
62 of 100
skills.sh installs
13.3K
GitHub stars
5.5K
last updated
Nov 30, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers context-window overflow: large outputs, long files, repeated reads, and fan-out planning
  • Explains why overflow matters: it degrades reasoning quality, creates compression artifacts, and halts progress
  • Recommends sizing work into phases and capping scope per phase with turn budgets and mechanism costs
  • Routes bulk work to subagents, keeping summaries rather than raw payloads in the main thread

Install

$ npx -y skills add backnotprop/pstack --skill principle-guard-the-context-window -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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.

Details

Repository
github.com/backnotprop/pstack
Categories
Memory & Context, Agent Workflow & Planning
First seen
Nov 30, 2026

More from backnotprop/pstack

All 44

Similar to Principle Guard The Context Window

More Memory & Context