What problem does it solve?
Cancels an ongoing oh-my-claudecode (OMC) workflow safely, reliably, and with mode-aware state cleanup so you can stop without getting stuck in a runaway autopilot, agent loop, or queued pipeline.
Core Features & Use Cases
- Auto-detects active mode: Determines which of Autopilot, Ralph, Ultrawork, UltraQA, Swarm, Ultrapilot, Pipeline, or Team is currently running and cancels it appropriately.
- Dependency-aware shutdown: Cancels in the correct order (including linked modes) and preserves resume-critical state where required (notably Autopilot).
- Force cleanup for reset: Supports erasing every session plus legacy artifacts using --force or --all when you need a full reset.
- Safety fallbacks: Uses session-aware state tools when available and provides an emergency state-file removal fallback to break stop-hook loops.
Quick Start
Run /oh-my-claudecode:cancel to stop the currently active OMC mode.