strategic-compact

Prompt manual context compression at strategic workflow milestones.

25|13|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/aaione/everything-claude-code-cn --skill strategic-compact-aaione
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: strategic-compact
Source: https://github.com/aaione/everything-claude-code-cn/tree/main/skills/strategic-compact
Command: npx skills add https://github.com/aaione/everything-claude-code-cn --skill strategic-compact-aaione

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Prompts manual context compression at strategic points to preserve phase-specific information.

Core Features & Use Cases

  • Track and regulate context flow by prompting user action at logical boundaries.
  • Improve transition handling between research, planning, and execution phases.
  • Use Case: In a long-running multi-step task, trigger /compact after exploration but before implementation to retain research context.

Quick Start

Install and enable the strategic-compact hook to trigger manual context compression after exploration or at milestone transitions.

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 when transitioning from research to implementation?

Context compression at phase transitions preserves research details by prompting manual condensation before implementation. This ensures critical information survives multi-step workflows, preventing detail loss during logical boundaries like milestone handoffs.

What is strategic context compression for multi-step workflows?

Strategic context compression is prompting manual context condensation at logical boundaries to regulate context flow. It ensures phase-specific information is retained by triggering user action during transitions like research-to-implementation shifts.

When should I trigger manual context compression during a long-running task?

Trigger manual context compression after exploration phases or at milestone transitions. This preserves critical context by prompting condensation before moving into implementation, ensuring phase-specific information survives the workflow boundary.

Does the strategic-compact hook work without external dependencies?

The strategic-compact hook works without external dependencies, using a PreToolUse script to prompt manual context compression. It requires no additional packages, functioning as a standalone hook to regulate context flow.

How do I set up a PreToolUse hook to prompt context compression?

Install and enable the strategic-compact hook script to trigger manual context compression. The PreToolUse hook automatically prompts user action at strategic points, regulating context flow across multi-step workflow boundaries.

Why does my workflow lose phase-specific information across transitions?

Workflows lose phase-specific information across transitions due to unregulated context flow. Implementing manual context compression at logical boundaries prompts condensation before milestone handoffs, retaining critical details between research and execution phases.