drushegh

Pre Compact — Development skill for Claude Code

Development community

Prepare for a MANUAL /compact — flush your in-context working-set to disk so the.

How to install Pre Compact

Installs to ~/.claude/commands/drushegh-ccmaf-pre-compact.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/drushegh/CCMAF/HEAD/.claude/commands/pre-compact.md -o ~/.claude/commands/drushegh-ccmaf-pre-compact.md

Restart Claude Code, or start a new session, for it to be picked up.

What Pre Compact does

Prepare for a MANUAL `/compact` — flush your in-context working-set to disk so the compaction summary can't lose anything load-bearing. This is the lightweight, **in-session** counterpart to `/wrapup`: NOT a session-end (no commit/push ceremony, no instinct-miner, no memory sweep) — the session continues right after you `/compact`.

**Step 0 — v2 self-route (read this first):** if `.claude/.framework-version` contains a `FRAMEWORK_LINE=v2` line, this project runs the CCMAF v2 plugins — invok

Alternatives in Development

Full documentation available on GitHub

View Source Repository