sefaertunc

Compact Safe — Development skill for Claude Code

Development community

Compress context via /compact with safety checks.

How to install Compact Safe

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.

What Compact Safe does


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

Alternatives in Development

  • Exec Summary — Compress a document or update into a crisp executive summary 1.3k ★
  • /autopilot — Autonomous hunt loop with deterministic scope safety and configurable checkpoints 1.2k ★
  • Claude-code-safety-net Rules Reference — Custom rules reference for defining safe/dangerous command patterns 1.2k ★

Full documentation available on GitHub

View Source Repository