Cancel any active OMC mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline)
View on GitHubYeachan-Heo/oh-my-claudecode
oh-my-claudecode
January 24, 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. ## 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: "stop", "cancel", "abort" ## Auto-Detection The skill checks state files to determine what's active: - `.omc/autopilot-state.json` → Autopilot detected - `.omc/ralph-state.json` → Ralph detected - `.omc/ultrawork-state.json` → Ultrawork detected - `.omc/ecomode-state.json` → Ecomode detected - `.omc/ultraqa-state.json` → UltraQA detected - `.omc/swarm-state.json` → Swarm detected - `.omc/ultrapilot-state.json` → Ultrapilot detected - `.omc/pipeline-state.json` → Pipeline detected 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 (standalone) 8. Pipeline (standalone) ## Force Clear All To clear ALL state files regardless of what's active: ``` /oh-my-claudecode:cancel --force ``` Or use the `--all` alias: ``` /oh-my-claudecode:cancel --all ``` This removes all state files: - `.omc/autopilot-state.json` - `.omc/ralph-state.json` - `.omc/ultrawork-state.json` - `.omc/ecomode-state.json` - `.omc/ultraqa-state.json` - `.omc/swarm-state.json` - `.omc/state/swarm-tasks.json` - `.omc/ultrapilot-state.json` - `.omc/pipeline-stat