cancel

Cancel active OMC modes with dependency-aware cleanup in Claude Code sessions.

Updated May 20, 2026
One-click install
npx skills add https://github.com/xdkp/oh-my-claudecode --skill cancel-xdkp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cancel
Source: https://github.com/xdkp/oh-my-claudecode/tree/main/skills/cancel
Command: npx skills add https://github.com/xdkp/oh-my-claudecode --skill cancel-xdkp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of getting stuck in an active Claude Code / OMC workflow that won’t stop when you want to exit or recover quickly.

Core Features & Use Cases

  • Auto-detects the active OMC mode and cancels it safely across common orchestration modes such as autopilot, ralph, ultrawork, ultraqa, swarm, ultrapilot, pipeline, and team.
  • Runs dependency-aware cleanup (for example, autopilot cancellation cascades to related modes, and ralph cancellation clears linked ultrawork) to prevent leftover orchestration state.
  • Provides an emergency cleanup path if state-cancellation tooling is unavailable, clearing mode state files to unblock the session.
  • Supports force reset across sessions and legacy artifacts using --force or --all to wipe additional residual state.

Quick Start

Call the cancel skill to stop the currently running OMC mode by typing: /oh-my-claudecode:cancel

Frequently Asked Questions about cancel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I cancel a stuck Claude Code orchestration workflow?

To stop a running OMC mode, invoke the cancel skill in your Claude Code session; it detects the active state and performs graceful shutdown for modes like autopilot, ralph, ultrawork, and team.

What happens to linked dependencies when I cancel an autopilot or ralph session?

Canceling these sessions triggers dependency-aware cleanup, cascading the shutdown to linked modes like ultrawork to clear all residual orchestration state files and prevent leftover processes.

Can I force reset OMC state across multiple Claude Code sessions?

Yes, you can force reset OMC state across sessions and wipe legacy artifacts by running the cancel skill with the --force or --all flag to clear residual orchestration state files.

How do I recover a Claude Code session when state management tools are unavailable?

Recover a blocked session by using the cancel skill's emergency cleanup path, which directly clears mode state files to unblock the workflow when standard state-cancellation tooling fails.

Does canceling an OMC team mode perform a graceful shutdown for native dependencies?

Yes, canceling an active OMC team mode executes a graceful shutdown for native teams, ensuring linked-mode dependencies are safely cleared using session-aware state handling and safe state_clear sequencing.