cancel

Cancel active OMC modes and clean up session and global state.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cancel active OMC modes (autopilot, ralph, ultrawork, ultraqa, swarm, ultrapilot, pipeline, team) and perform safe state cleanup to restore a neutral idle state.

Core Features & Use Cases

  • Detects which OMC mode is currently active across session-scoped states and global legacy state.
  • Cancels modes in dependency order, with a force option to clear all sessions and legacy artifacts.
  • Handles Claude Code native teams and provides a structured cancel report, plus optional MCP worker cleanup.

Quick Start

Run /oh-my-claudecode:cancel to gracefully terminate active modes and reset OMC state.

Frequently Asked Questions about cancel

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

FAQPage Schema
How do I cancel active OMC modes and clean up their state?▼

To cancel active OMC modes and clean up state, run the cancel command to terminate modes in dependency order and restore a neutral idle baseline across session-scoped contexts and global artifacts.

What OMC modes can be cancelled and reset to a neutral state?▼

The modes that can be cancelled include Autopilot, Ralph, Ultrawork, UltraQA, Swarm, Ultrapilot, Pipeline, Team, and legacy states, all of which are reset to a neutral idle baseline upon cancellation.

How does session-aware state cleanup work for active automation modes?▼

Session-aware state cleanup works by using state_list_active and state_get_status to detect active modes across session scopes, then cancelling them in dependency order before clearing the skill-active state.

Can I force cancel all OMC sessions and legacy artifacts at once?▼

Yes, you can force cancel all OMC sessions and legacy artifacts by using the --force or --all option, which performs comprehensive cleanup across all detected active modes and global state artifacts.

Does cancelling OMC modes handle Claude Code native teams and MCP workers?▼

Yes, cancelling OMC modes handles Claude Code native teams and provides optional MCP worker cleanup, generating a structured cancel report while ensuring all active team states are properly terminated.

Why is my OMC mode still active after cancelling the session?▼

An OMC mode may remain active if legacy global artifacts persist; using the --force or --all flags ensures comprehensive cleanup of both session-scoped states and global legacy artifacts to fully restore a neutral baseline.