strategic-compact

Compact contextual state at phase boundaries to prevent mid-task context loss.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/bereniketech/claude_kit --skill strategic-compact-bereniketech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: strategic-compact
Source: https://github.com/bereniketech/claude_kit/tree/main/skills/core/strategic-compact
Command: npx skills add https://github.com/bereniketech/claude_kit --skill strategic-compact-bereniketech

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Compact contextual state at phase boundaries to prevent mid-task context loss.

Core Features & Use Cases

  • Trigger /compact at deliberate task boundaries to preserve continuity across transitions.
  • Provides a hook-based threshold detection to decide when compaction is appropriate.
  • Maintains memory and TodoWrite anchors while discarding transient reasoning when safe.

Quick Start

Trigger /compact at deliberate task boundaries to preserve context during phase transitions.

Frequently Asked Questions about strategic-compact

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

FAQPage Schema
How do I prevent context loss during phase transitions in AI workflows?

Triggering a context compact at deliberate task boundaries preserves continuity across phase transitions by discarding transient reasoning while maintaining memory and TodoWrite anchors.

When should I run context compaction to keep workflow memory sharp?

Run context compaction at key phase boundaries such as Research to Planning and Planning to Implementation, with selective use during Testing and after failed approaches.

What is the best way to manage context limits without losing task boundaries?

Using a pre-compact checklist with hook-based threshold detection manages context limits safely by deciding when compaction is appropriate while preserving memory anchors over transient reasoning.

Does context compaction preserve todo lists and memory during debugging?

Yes, context compaction maintains memory and TodoWrite anchors during debugging transitions while discarding only safe transient reasoning to maintain workflow continuity.