What problem does it solve?
This skill prevents degraded performance in long Claude Code sessions by stopping context bloat and token waste before Claude starts forgetting or slowing down.
Core Features & Use Cases
- MCP-first navigation: Uses cheap symbol/API/reference queries to avoid expensive file reads until they are actually needed.
- Lazy loading + prioritization: Reads only what matters (and only when it matters) by classifying files by urgency (modify fully vs. inspect minimally).
- Subagent isolation + summarization: Offloads verbose exploration to subagents, then keeps only short summaries in the main context.
- Token budget planning: Treats the model’s window as a budget and plans expected spend across understand, plan, implement, and verify phases.
- Recovery guidance: Provides warnings and a reset path when too many files or exchanges begin to pollute the context.
Quick Start
Load context-discipline when your session is getting sluggish, you are reading too many files, or Claude is starting to forget earlier details.