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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/compact-ops:compact-ops [recovery notes][recovery notes]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
The PreCompact hook already saves a state file automatically whenever `/compact` runs.
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.npx claudepluginhub kenimo49/compact-opsScans a codebase for architectural friction, presents candidates as a visual HTML report with before/after diagrams, and guides you through deepening refactors.