compact
The `/oh-my-claudecode:compact` command prepares context for manual Claude Code conversation compaction by instructing users to invoke the native `/compact` command directly with any provided notes. This helper exists because plugin commands cannot trigger Claude Code's built-in compaction, which requires manual invocation as a bare slash command to ensure proper lifecycle execution and preservation of OMC pre-compact hooks.
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/Yeachan-Heo/oh-my-claudecode/HEAD/commands/compact.md -o ~/.claude/commands/compact.mdcompact.md
# OMC Manual Context Compaction Helper This command intentionally uses the plugin-scoped name `/oh-my-claudecode:compact` instead of the bare `/compact` command. Bare `/compact` is reserved for Claude Code's native compaction command and must not be shadowed by OMC. OMC cannot invoke Claude Code's built-in `/compact` from a plugin command: `/compact` is a native slash command, not a prompt skill, and a prompt-skill call for `compact` is not a supported handoff. This helper is instruction-only and must not claim that OMC triggers compaction itself. ## Dispatch 1. Treat this as a request to prepare for manual Claude Code conversation compaction. Do not create a separate OMC summarizer and do not replace existing auto-compress behavior. 2. Preserve any user note for the compaction request: ```text $ARGUMENTS ``` 3. Tell the user to run Claude Code's built-in bare `/compact` command directly. If the note above is non-empty, tell them to include it with `/compact`. 4. Before handing off, remind the user that Claude Code's normal `PreCompact` lifecycle should run OMC's existing pre-compact hooks (`pre-compact`, project memory, and wiki preservation) when the native compaction occurs. 5. Do not invoke a `compact` skill, do not attempt to call `/compact` on the user's behalf, and do not manually summarize the session. ## User-facing handoff Use this wording, adapting only the note text: ```text OMC prepared the compaction context, but plugin commands cannot trigger Claude Code's native /compact directly. Run this as a bare Claude Code command now: /compact $ARGUMENTS Bare /compact remains Claude Code's native command; OMC does not shadow or invoke it. ```
Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode
Pre-planning consultant for requirements analysis (Opus)
Strategic Architecture & Debugging Advisor (Opus, READ-ONLY)
Process-first advisor routing for Claude, Codex, Gemini, Antigravity, Grok, or Cursor via `omc ask`, with artifact capture and no raw CLI assembly
Full autonomous execution from idea to working code
Stateful single-mission improvement loop with strict evaluator contract, markdown decision logs, and max-runtime stop behavior
Cancel any active OMC mode (autopilot, ralph, ultragoal, swarm, ultrapilot, pipeline, team) and clean up retired legacy state
Claude-Codex-Gemini tri-model orchestration via /ask codex + /ask antigravity (or gemini), then Claude synthesizes results