From pro-workflow
Saves current task state, tracked files, and session decisions before compaction, then restores critical context after the token limit is reclaimed.
How this command is triggered — by the user, by Claude, or both
Slash command
/pro-workflow:compact-guardThe summary Claude sees in its command listing — used to decide when to auto-load this command
# /compact-guard - Protected Compaction Protect your working context through compaction. ## Quick Start Run before `/compact` to: 1. Save your current task state 2. Note which files you're editing (max 5 survive compaction) 3. Record decisions made this session 4. Compact safely 5. Restore critical context after ## When To Use - Before manual `/compact` - When you see auto-compact warnings - At natural task boundaries ## Key Insight Claude Code only restores **5 files** after compaction, with **5K tokens per file** and **50K total budget**. Plan accordingly: - Prioritize the file you...
Protect your working context through compaction.
Run before /compact to:
/compactClaude Code only restores 5 files after compaction, with 5K tokens per file and 50K total budget. Plan accordingly:
/compact-guard
npx claudepluginhub satioo/pro-workflow6plugins reuse this command
First indexed Mar 31, 2026
/compact-guardSaves current task state, tracked files, and session decisions before compaction, then restores critical context after the token limit is reclaimed.
/compact-contextCompresses conversation context: saves task status, decisions, and todos to progress.md, generates _compact_summary.md, and guides clearing/restoring to reduce token usage.
/context-compactGenerates structured task summary with completed work, next steps, key files, branch, issue refs, and notes for context compaction near token limits.
/context-saveCompacts session or saves full handoff to .handoff/ file with progress summary, git state, and next steps when context pressure detected.
/smart-compactAnalyzes current conversation to generate optimized /compact command preserving high-value context (tasks, changes, errors), summarizing medium-value info, and discarding stale content.
/compressCompresses CLAUDE.md or specified memory files at light/medium/aggressive levels with protected-span safety. Reports token savings, validation status, and backup location.