What problem does it solve?
This skill stops runaway or stuck OMC modes and cleans up session and legacy state so agents, teams, and workflows do not continue consuming resources or leave inconsistent state behind while preserving autopilot resume data when appropriate.
Core Features & Use Cases
- Automatic detection: Inspects session-aware state and legacy artifacts to determine which OMC mode(s) are active.
- Mode-aware cancellation: Cancels autopilot, ralph, ultrawork, ultraqa, swarm, ultrapilot, pipeline, and team workflows in dependency order and preserves autopilot state for resume.
- Force and fallback: Supports --force/--all to remove legacy artifacts and includes a documented bash fallback to remove state files when deferred tools are unavailable.
- Team-safe shutdown and orphan cleanup: Performs graceful teammate shutdown, TeamDelete, and process orphan scanning/killing for tmux and worker daemons.
- Use cases include terminating stuck multi-agent runs, resetting workspace state before fresh runs, and recovering resources from orphaned team processes.
Quick Start
Invoke the cancel skill by running /oh-my-claudecode:cancel --force to stop active modes and clean session state.