Automates context management in Claude Code by delegating long-running tasks to fresh subagents when context limits approach critical thresholds.
The Clear Context skill prevents workflow interruptions caused by context window saturation in Claude Code. When context usage nears 80%, it automatically saves the current session state, reconciles active tasks, and spawns a continuation subagent with a fresh 1M token window. This 'auto-clear' pattern ensures complex, multi-step operations can proceed without manual intervention, maintaining progress across state checkpoints and preserving execution modes such as unattended or dangerous mode for seamless automation.
主要功能
01Intelligent task deduplication and reconciliation across agent sessions
020 GitHub stars
03Execution mode inheritance for unattended and batch processing
04Session state persistence to .claude/session-state.md for seamless handoffs
05Recursive monitoring to support indefinitely long-running workflows
06Automatic subagent delegation for fresh 1M token context windows
使用场景
01Maintaining workflow continuity during complex, multi-day development tasks
02Executing massive code refactors that exceed standard context limits
03Processing large batches of issues or PRs in unattended mode