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
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 -yInstalls 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- Principle Test Behavior Not Implementation13.3K
- Principle Redesign From First Principles13.3K
- Principle Build The Lever13.3K
- Principle Minimize Reader Load13.3K
- Principle Boundary Discipline13.3K
- Principle Exhaust The Design Space13.3K
- Principle Never Block On The Human13.2K
- Automate Me13.2K
- Principle Foundational Thinking13.2K
- Principle Attack The Premise13.2K
- Principle Sequence Verifiable Units13.2K
- Principle Outcome Oriented Execution13.2K
- Principle Separate Before Serializing Shared State13.2K
- Principle Experience First13.2K
- Make Bot Ui12.8K
- Correct12.5K
- Principle Explain The Number12.3K
- How14.1K
- Why13.9K
- Arena13.9K
- Principle Fix Root Causes13.8K
- Interrogate13.7K
- Blast Radius13.7K
- Poteto Mode13.7K
Similar to Principle Guard The Context Window
More Memory & Contextcontinuous-learningaffaan-m/ecc13K installs[DEPRECATED - use continuous-learning-v2] Legacy v1 stop-hook skill extractor. v2 is a strict superset with instinct-based, project-scoped, hook-reliable learni
memory-mergergithub/awesome-copilot12.9K installsMerges mature lessons from a domain memory file into its instruction file. Syntax: `/memory-merger >domain [scope]` where scope is `global` (default), `user`, `
iterative-retrievalaffaan-m/ecc12.6K installsPattern for progressively refining context retrieval to solve the subagent context problem
context-budgetaffaan-m/ecc12.5K installsAudits Claude Code context window consumption across agents, skills, MCP servers, and rules. Identifies bloat, redundant components, and produces prioritized to
genshijininterfacex-co-jp/genshijin12.3K installs超圧縮コミュニケーションモード。原始人のように話してトークン使用量を約75%削減。 技術的正確性は完全に維持。強度レベル: 丁寧・通常(デフォルト)・極限の3段階。 「原始人モード」「短く」「簡潔に」「トークン節約」と言うか、/genshijin で起動。
agentmemory-agentsrohitg00/agentmemory12.1K installsHow agentmemory wires into host coding agents via the connect command. Use when installing agentmemory into a specific agent, when asked which agents are suppor