context-management

Installation
SKILL.md

Context Management

Quick Reference

Signal Action
At ~50% context usage Manual /compact with focus instructions
Approach fails, output quality drops /rewind to before the failed attempt
New unrelated task mid-session /clear or start new session
Need to explore/research Spawn sub-agent (keeps main context clean)
Over 300K tokens used Strongly consider new session
Auto-compact triggered Too late -- quality already degraded

Context Rot

Context rot is the gradual degradation of output quality as the context window fills up. It typically starts around 300-400K tokens (on 1M token models), but varies by task complexity.

Installs
2
GitHub Stars
3
First Seen
Jun 14, 2026
context-management — sagargupta16/claude-skills