Cancel any active OMC mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline)
View on GitHubFebruary 4, 2026
Select agents to install to:
npx add-skill https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/cancel/SKILL.md -a claude-code --skill cancelInstallation paths:
.claude/skills/cancel/# Cancel Skill Intelligent cancellation that detects and cancels the active OMC mode. **The cancel skill is the standard way to complete and exit any OMC mode.** When the stop hook detects work is complete, it instructs the LLM to invoke this skill for proper state cleanup. If cancel fails or is interrupted, retry with `--force` flag, or wait for the 2-hour staleness timeout as a last resort. ## What It Does Automatically detects which mode is active and cancels it: - **Autopilot**: Stops workflow, preserves progress for resume - **Ralph**: Stops persistence loop, clears linked ultrawork if applicable - **Ultrawork**: Stops parallel execution (standalone or linked) - **Ecomode**: Stops token-efficient parallel execution (standalone or linked to ralph) - **UltraQA**: Stops QA cycling workflow - **Swarm**: Stops coordinated agent swarm, releases claimed tasks - **Ultrapilot**: Stops parallel autopilot workers - **Pipeline**: Stops sequential agent pipeline ## Usage ``` /oh-my-claudecode:cancel ``` Or say: "cancelomc", "stopomc" ## Auto-Detection The skill checks state files to determine what's active: - `.omc/state/autopilot-state.json` → Autopilot detected - `.omc/state/ralph-state.json` → Ralph detected - `.omc/state/ultrawork-state.json` → Ultrawork detected - `.omc/state/ecomode-state.json` → Ecomode detected - `.omc/state/ultraqa-state.json` → UltraQA detected - `.omc/state/swarm.db` → Swarm detected (SQLite database) - `.omc/state/ultrapilot-state.json` → Ultrapilot detected - `.omc/state/pipeline-state.json` → Pipeline detected - `.omc/state/plan-consensus.json` → Plan Consensus detected - `.omc/state/ralplan-state.json` → Plan Consensus detected (legacy) If multiple modes are active, they're cancelled in order of dependency: 1. Autopilot (includes ralph/ultraqa/ecomode cleanup) 2. Ralph (includes linked ultrawork OR ecomode cleanup) 3. Ultrawork (standalone) 4. Ecomode (standalone) 5. UltraQA (standalone) 6. Swarm (standalone) 7. Ultrapilot (standalo