What problem does it solve?
Auto-compaction in long AI assistant sessions often triggers at arbitrary mid-task points, leading to loss of critical context like variable names, partial implementation state, and recent reasoning that is still needed for ongoing work.
Core Features & Use Cases
- Strategic Compaction Suggestions: Recommends manual /compact only at logical task boundaries (after research, post-milestone, before task switches) to avoid discarding still-relevant context.
- Configurable Reminder Hook: Tracks tool call counts to send timely compaction reminders, with adjustable thresholds via environment variables.
- Compaction Decision Guide: Provides a clear reference to help you distinguish safe compaction points (e.g., after finalizing a plan) from disruptive ones (e.g., mid-implementation).
- Use Case: A developer working on a multi-phase feature (research → plan → implement → test) can use this Skill to get a reminder to compact after locking in their implementation plan, starting the coding phase with a fresh context window without losing the finalized plan.
Quick Start
Use the strategic-compact skill to receive timely suggestions for when to run manual /compact during long or multi-phase work sessions to preserve important context across task boundaries.