Cancel Skill
SkillDev toolsThe cancel skill stops any active OMX mode, such as autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline, or team. It checks which modes are running through the omx state commands, then clears each mode's state in dependency order. It preserves resumable state where possible and cleans up linked child modes.
Use Cancel Skill in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Cancel Skill and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Cancel Skill skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Have an AI agent that can load skills.
What your AI can do with it
- Cancel an active autopilot mode
- Cancel an active ralph mode
- Cancel an active ultrawork mode
- Cancel an active ecomode mode
- Cancel an active ultraqa mode
- Cancel an active swarm mode
Getting started
- Have an AI agent that can load skills.
- Make sure the omx state commands are available in the environment.
- Ask the agent to cancel the active OMX mode.
- The skill validates the request and checks which modes are running.
- It clears each mode's state in dependency order and runs cleanup.
What this skill tells your AI
The instructions your AI receives, as published by yeachan-heo/oh-my-codex in skills/cancel/SKILL.md and read by ahel’s review.
When to use
Use /cancel (or cancelomc / stopomc) to stop an active OMX mode and perform its documented cleanup. Read AGENTS.md#durable-runtime-invariants-canonical-ssot first; it is the invariant authority for scope, ownership, hooks, and Team cleanup.
Inputs and preconditions
- Accepted forms are
/canceland/cancel --force. - Reject
--all, unknown flags, repeated flags, and mixed flags before mutation. - Discover the current session/root with the state read surfaces before cleanup:
omx state list-active --json omx state get-status --mode <mode> --json - Confirm the current session/root and exact target before cleanup; stop when the required evidence is missing.
Operational steps
- Parse and validate arguments; select one exact session/root scope.
- Inspect active modes in dependency order:
autopilot → ralph → ultrawork → ecomode → ultraqa → swarm → ultrapilot → pipeline → team → plan-consensus. - Cancel Autopilot while preserving its resumable state; clean only linked child modes it owns.
- For Ralph, terminalize the target state (
active:false,current_phase:"cancelled",completed_at) and terminalize a proven linked Ultrawork/Ecomode state in the same scope. Confirm the post-conditions indocs/contracts/ralph-cancel-contract.md. - Clear standalone modes only after proving they are not linked to another active mode.
- For Team, inspect the runtime with
omx team status <team> --json; useomx team shutdown <team>after the normal completion gate, or follow the explicit abort path. - Clear only the selected mode/session state through the state API, for example:
omx state clear --input '{"mode":"<mode>","session_id":"<session>"}' --json - With
--force, perform its documented native-stop cleanup. Report rollback or cleanup failures rather than claiming success.
Exit and evidence
Report one result per selected mode: mode, scope/session, terminal phase, preserved state, linked cleanup, and any refusal reason. A clean no-op reports No active OMX modes detected. Include Team status and shutdown evidence when Team was selected.
Signals
- GitHub stars
- 33k
- Forks
- 3k
- Last commit
- Oct 2026
- Hacker News mentions
- 20
Questions
- What modes can cancel stop?
- It can stop autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline, and team.
- Does cancel preserve resumable state?
- Yes, it preserves resumable state where possible.
- What happens if evidence about the session or target is missing?
- The skill refuses to act when evidence about the session or target is missing.
- How does cancel shut down teams?
- It shuts down teams through their own command.
- Does cancel clean up linked child modes?
- Yes, it cleans up linked child modes.
Advanced
- Item type
- skill
- Key
cancel-2- Source
- github.com/yeachan-heo/oh-my-codex
github.com/yeachan-heo/oh-my-codex