claudeindex
Plugin

sop-compact

Hooks-only compaction-survival procedure for Claude Code. A PreCompact hook auto-bootstraps a per-repo .claude/sop-compact.md on first compact, then runs a claude -p sidecar that promotes durable learnings and writes a handoff snapshot before /compact; a SessionStart hook (gated on source=compact) points the new session at the latest handoff. Works with bare /compact (manual or auto) — no per-repo setup step.

Installation

1

Add the marketplace

/plugin marketplace add meowkey-dev/machine-plugins
2

Install plugins

/plugin

Run these commands in Claude Code to add this plugin to your environment. The marketplace must be added before you can install its plugins.