/compact-ops:compact-ops [recovery notes]from compact-ops
Save the current Claude Code session state to the persistent compact-ops state file before running /compact. MANDATORY TRIGGERS: /compact-ops, compact-ops, compact ops, pre-compact state save, compaction handoff save. DO NOT TRIGGER: post-compact recovery, ordinary progress updates, plan creation, or casual context-usage discussion.
Ships in compact-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The PreCompact hook already saves a state file automatically whenever /compact runs.
This skill is the manual fallback: use it when the agent should write a richer,
self-authored state file right before compaction (the agent knows nuances an
LLM summarizer can miss).
/compact.bash "${CLAUDE_PLUGIN_ROOT}/scripts/get-session-id.sh" (bundled with this plugin).CWD_HASH=$(printf '%s' "$PWD" | md5sum | cut -c1-12)~/.claude/compact-ops/state/${CWD_HASH}/${SESSION_ID}.md# Compact Prep State
## Active Plan
## Current Phase
## TaskList Summary
## Session Decisions
## Constraints and Blockers
## Worker Topology
## Skills Invoked
## Editing Files
## Failed Attempts
## Recovery Notes
Preparation complete. Please run /compact.Not used.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub kenimo49/compact-ops --plugin compact-ops