cancel
FeaturedCancel any active OMC mode (autopilot, ralph, ultragoal, swarm, ultrapilot, pipeline, team) and clean up retired legacy state
AI & Automation 39,098 stars
3499 forks Updated today MIT
Install
Quality Score: 99/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# 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 the persistence loop
- **Legacy Ultrawork state**: Cleanup-only removal for upgraded installations; it is not an active workflow
- **UltraQA (retired)**: No live workflow remains; clears stale pre-5.0.0 `ultraqa-state.json` if present
- **Ultragoal**: Clears the session-scoped ultragoal runtime guard (`.omc/state/.../ultragoal-state.json`) so PreToolUse `/goal` enforcement and Stop reinforcement release. Durable `.omc/ultragoal/` plan/ledger artifacts are preserved.
- **Swarm**: Stops coordinated agent swarm, releases claimed tasks
- **Ultrapilot**: Stops parallel autopilot workers
- **Pipeline**: Stops sequential agent pipeline
- **Team**: Requests shutdown from all teammates through the active team/conversation surface, waits for responses/timeouts, clears OMC team state, clears linked ralph if present. Claude Code 2.1.178+ has no TeamDelete.
- **Team+Ralph (linked)**: Cancels team first (graceful shutdown), then clears ralph s...
Details
- Author
- Yeachan-Heo
- Repository
- Yeachan-Heo/oh-my-claudecode
- Created
- 8 months ago
- Last Updated
- today
- Language
- TypeScript
- License
- MIT
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
cancel-autopilot
Cancel active autopilot session
6 Updated today
mazenyassergithub AI & Automation Listed
cancel-ralph
Cancel active Ralph (and linked ultrawork if auto-activated)
6 Updated today
mazenyassergithub AI & Automation Listed
cancel
Gracefully stop active autonomous workflow, preserve progress, and produce a resume-ready handoff.
2 Updated today
ibahgat