strategic-compact

Manually trigger context reduction at logical workflow boundaries.

2|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/Throokie/claude-code-skills --skill strategic-compact-throokie
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: strategic-compact
Source: https://github.com/Throokie/claude-code-skills/tree/main/skills/strategic-compact
Command: npx skills add https://github.com/Throokie/claude-code-skills --skill strategic-compact-throokie

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Strategic Compact helps you preserve important context across long-running, multi-phase tasks by prompting deliberate, manual compaction at logical boundaries instead of relying on automatic, arbitrary compaction.

Core Features & Use Cases

  • Manual context compaction at phase transitions (research → planning, planning → implementation)
  • Milestone-aware reminders and cross-session continuity
  • Configurable thresholds and non-intrusive prompts

Quick Start

Invoke the strategic compact hook at phase boundaries to reset context for the next task phase.

Frequently Asked Questions about strategic-compact

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I preserve context across long-running multi-phase workflows without losing important information?

Strategic context compaction preserves important information across long-running workflows by prompting manual context reduction at logical phase boundaries instead of relying on arbitrary automatic compaction. This maintains coherence throughout research, planning, and implementation phases.

When should I manually compact context during a multi-phase automation workflow?

Manual context compaction should be triggered at logical phase transitions or milestones, such as moving from research to planning or planning to implementation. Invoking strategic compaction at these boundaries resets context deliberately for the next task phase.

Does automatic context compaction cause problems in long-running sessions?

Automatic context compaction can arbitrarily discard crucial details during long-running sessions. Strategic compact solves this by enabling milestone-aware reminders and deliberate manual compaction, ensuring important context is preserved across multi-phase tasks.

How do I configure context management thresholds for multi-phase tasks?

Strategic compact provides configurable thresholds and non-intrusive prompts for context management in multi-phase tasks. You can invoke the strategic compact hook at phase boundaries to reset context based on your specific workflow requirements.

Can I maintain cross-session continuity for long-running workflows using manual context reduction?

Yes, strategic compact supports cross-session continuity by applying manual context reduction at logical boundaries. This milestone-aware approach ensures that critical information from previous phases persists across long-running sessions.

What is the best way to manage context between research, planning, and implementation phases?

The best way to manage context between phases is strategic compaction at phase transitions. By manually triggering context reduction at milestones, you preserve important information and maintain coherence across research, planning, and implementation phases.