Compact Safe banner
sefaertunc sefaertunc

Compact Safe

Development community

Description

--- description: "Compress context via /compact with safety checks" --- `/compact-safe` adds pre-flight safety checks to bare `/compact`. Compaction loses fine-grained conversation state; running it on a session with uncommitted work, mid-implementation TODOs, or recent destructive operations risks losing context the user expected to keep. This command surfaces those risks before triggering compaction. ## Pre-flight safety checks Run all four checks. Report the findings as a short table. Stop

Installation

Installs to ~/.claude/commands/sefaertunc-worclaude-compact-safe.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/sefaertunc/Worclaude/HEAD/.claude/commands/compact-safe.md -o ~/.claude/commands/sefaertunc-worclaude-compact-safe.md

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

Full documentation available on GitHub

View Source Repository