원클릭으로
strategic-compact
Context compaction strategy for long sessions
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Context compaction strategy for long sessions
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Demo pipeline state machine — 7-phase autonomous sequence with delegation context templates, phase transition logic, BLOCKED recovery strategies, and demo-state.json schema. Used exclusively by demo-conductor.
Cinematic narration style guide for demo-conductor — ANSI-coloured banner formats, live pipeline scoreboard, audience-facing language, phase summaries, and error narration patterns. Keeps the demo presentation-quality throughout.
Standardized completion and escalation protocol for subagent responses. Ensures the conductor can machine-parse every subagent return. Use when reporting completion status back to the orchestrator.
Cross-session learnings lifecycle — schema, storage, retrieval, and pruning of lessons learned during orchestrator sessions. Use when managing learnings via the /learn command.
Agent Teams assembly and task injection — selects appropriate team, validates prerequisites, estimates cost, injects tasks into the shared task list, and manages team lifecycle.
Token and cost tracking with model tier enforcement
| name | strategic-compact |
| description | Context compaction strategy for long sessions |
| argument-hint | <current-session-state> |
| user-invocable | false |
/clear or major topic shiftBefore running /compact, ensure:
artifacts/memory/activeContext.mdartifacts/plans/The PreCompact hook (hooks/scripts/pre-compact.js) handles this automatically.
When compacting, prioritize retaining:
Deprioritize:
The PostCompact hook restores state from artifacts/memory/activeContext.md. After compaction:
activeContext.md explicitlyCLAUDE_AUTOCOMPACT_PCT_OVERRIDE=50 — Compact earlier (default: 80%).claude/settings.json → env or via CLI