Auto Context Compactor
Optimizes Claude's memory by automatically summarizing conversation history when context limits are approached to prevent session interruptions.
The Auto Context Compactor skill for Claude Code ensures seamless long-term coding sessions by intelligently managing token usage. Instead of hitting a hard context limit and stopping, this skill triggers a summarization process that discards redundant conversation turns and stale file contents while preserving the active task state, recent edits, and current debugging errors. This allows developers to maintain continuity in complex, multi-step projects without the need for manual cleanup or the risk of losing critical project context.
Características Principales
01State preservation for active tasks, file edits, and debugging logs
02Customizable PreCompact hooks for automated logging or state saving
032 GitHub stars
04Real-time context usage monitoring within the status line
05Manual on-demand compression via the /compact command
06Threshold-based automatic context summarization (e.g., at 85% usage)
Casos de Uso
01Extending long debugging sessions that involve multiple iterations and large log files
02Maintaining project continuity during complex refactoring tasks that span numerous files
03Preventing session-breaking context limit errors during intensive codebase analysis