The emergency brake for when OMC modes refuse to stop cleanly. It auto-detects which mode is running (autopilot, ralph, ultrawork, swarm, team, etc.) and kills it in the right order, respecting dependencies like ralph's linked ultrawork or team's graceful shutdown flow. The state tools are deferred, so you'll need to ToolSearch them first or the whole thing fails. When that happens, there's a bash fallback that nukes state files directly, though it won't work for autopilot (breaks resume data) or omc-teams (needs tmux cleanup). Use --force to scorched-earth every session and legacy artifact at once. Mostly you'll invoke this when a stop hook detects completion, but it's also your escape hatch when modes get stuck.

skills.sh installs
910
GitHub stars
40.7K
last updated
Aug 21, 2026

Install

$ npx -y skills add yeachan-heo/oh-my-claudecode --skill cancel --agent claude-code

Installs into .claude/skills of the current project.

Files

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 completion, it instructs the LLM to invoke this skill for state cleanup. Retry a failed operation in the same scope and report what remains; --force changes shutdown urgency, never scope, lock handling, or ownership checks. --all is the only cross-session authorization.

Cancellation Contract

The flags control independent scope and shutdown dimensions:

InvocationScopeShutdown behavior
no flagsCurrent session onlyGraceful cancellation, including teammate shutdown waits
--forceCurrent session onlyForced cancellation: skip graceful waits, but still use protected state tools and honor locks/ownership
--allEvery known session, by explicit session idNormal safe cancellation independently for each session, then explicit legacy/global cleanup
--force --allEvery known session, by explicit session idForced-all: skip graceful waits for each session, then perform the authorized legacy/global cleanup

Sponsors

Details

Repository
github.com/yeachan-heo/oh-my-claudecode
Categories
DevOps & CI/CD, Automation & Workflows, Sales & Marketing
First seen
Jun 3, 2026

More from yeachan-heo/oh-my-claudecode

All 37
1meshy-dev avatarmeshy-3d-agentmeshy-dev/meshy-3d-agentGenerate 3D models, textures, images, rig characters, animate them, and prepare for 3D printing using the Meshy AI API. Handles API key detection, task creation908skills.sh installs
2mindrally avatarbash-scriptingmindrally/skillsBash scripting guidelines covering security, portability, error handling, and automation best practices for DevOps.906skills.sh installs
3ecliptic-ai avatarbeat-sync-video-editingecliptic-ai/skillsThis skill should be used when the user asks to "edit a video to music", "create a beat-synced edit", "make a montage", "sync cuts to beats", "cut a video to th905skills.sh installs
4zhinkgit avatarkeilzhinkgit/embeddedskillsKeil MDK 工程构建工具,用于扫描 .uvprojx/.uvproj/.uvmpw 工程、枚举 Target、执行 build/rebuild/clean 并解析构建日志,返回可供 jlink/openocd 复用的产物路径。 flash 子命令仅作为兼容入口保留。当用户提到 Keil、MDK、uVision、U902skills.sh installs
5circlefin avatarswap-tokenscirclefin/skillsBuild token swap functionality with Circle App Kit or standalone Swap Kit SDKs. App Kit (@circle-fin/app-kit) is an all-inclusive SDK covering swap, bridge, and894skills.sh installs
6adobe avatarcontent-distributionadobe/skillsAEM as a Cloud Service content distribution and replication. Covers programmatic publishing using the Replication API and distribution event monitoring using Sl890skills.sh installs