Skills

Principle Guard The Context Window

Apply when context is filling up: large outputs, long files, repeated reads, fan-out...

Install

npx skills add nightly-labs/openbot --skill principle-guard-the-context-window -g -a claude-code -y
Repository
nightly-labs/openbot4.5k
Category
Engineering
Updated
3d ago
License
See repository
Context cost
Lightabout 62 tokens
Runs scripts
No, instructions only

What it does

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.

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.

More in Engineering