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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cancels an ongoing oh-my-claudecode (OMC) workflow safely, reliably, and with mode-aware state cleanup so you can stop without getting stuck in a runaway autopilot, agent loop, or queued pipeline.

Core Features & Use Cases

  • Auto-detects active mode: Determines which of Autopilot, Ralph, Ultrawork, UltraQA, Swarm, Ultrapilot, Pipeline, or Team is currently running and cancels it appropriately.
  • Dependency-aware shutdown: Cancels in the correct order (including linked modes) and preserves resume-critical state where required (notably Autopilot).
  • Force cleanup for reset: Supports erasing every session plus legacy artifacts using --force or --all when you need a full reset.
  • Safety fallbacks: Uses session-aware state tools when available and provides an emergency state-file removal fallback to break stop-hook loops.

Quick Start

Run /oh-my-claudecode:cancel to stop the currently active OMC mode.

Frequently Asked Questions about cancel

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

FAQPage Schema
How do I stop a runaway Claude Code agent workflow safely?

To stop a runaway Claude Code agent workflow safely, you can use an OMC cancellation command that auto-detects the active mode and performs mode-specific state cleanup to prevent stuck loops.

What happens to my session state when I cancel an autopilot or pipeline mode?

When you cancel autopilot or pipeline mode, the cancellation is dependency-aware and preserves resume-critical state where required, ensuring you can safely stop and restart without losing progress.

Can I force a global reset of all active OMC multi-agent sessions?

Yes, you can force a global reset of all active OMC multi-agent sessions by using the --force or --all flags, which erases every session and legacy artifact for a complete workflow shutdown.

How does workflow cancellation handle linked modes and native Claude Code teams?

Workflow cancellation handles linked modes and native Claude Code teams by detecting the running configuration and shutting down dependencies in the correct order using session-aware state tools.

What should I do if my agent orchestration gets stuck in a stop-hook loop?

If your agent orchestration gets stuck in a stop-hook loop, the cancellation tool provides an emergency state-file removal fallback to break the loop and restore normal command execution.