Back to Skills

cancel

verified

Cancel any active OMC mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline)

View on GitHub

Marketplace

omc

Yeachan-Heo/oh-my-claudecode

Plugin

oh-my-claudecode

productivity

Repository

Yeachan-Heo/oh-my-claudecode
2.6kstars

skills/cancel/SKILL.md

Last Verified

January 24, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/cancel/SKILL.md -a claude-code --skill cancel

Installation paths:

Claude
.claude/skills/cancel/
Powered by add-skill CLI

Instructions

# 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

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
16207 chars