
cancel
Cancel any active OMX mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline, team)
- Installs
- 109
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/yeachan-heo/oh-my-codex --skill cancel- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads cancel automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Cancel Skill
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.
FAQ
What does the cancel skill do?
Cancel any active OMX mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline, team)
How do I install cancel?
Run npx skills add https://github.com/yeachan-heo/oh-my-codex --skill cancel in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/cancel/ (personal) or .claude/skills/cancel/ (project).
Which AI agents can use cancel?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is cancel safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains cancel?
It is published by yeachan-heo in yeachan-heo/oh-my-codex. It has 109 recorded installs.
More from yeachan-heo/oh-my-codex
deep-interview
yeachan-heo/oh-my-codex
Socratic deep interview with mathematical ambiguity gating before execution
ultraqa
yeachan-heo/oh-my-codex
Adversarial dynamic e2e QA workflow - generate hostile scenarios, test, verify, fix, report, and clean up
ralplan
yeachan-heo/oh-my-codex
Consensus planning stage for Planner - Architect - Critic handoff to $ultragoal
ai-slop-cleaner
yeachan-heo/oh-my-codex
Run an anti-slop cleanup/refactor/deslop workflow
team
yeachan-heo/oh-my-codex
N coordinated agents on shared task list using tmux-based orchestration
Popular other skills
hyperframes-cli
heygen-com/hyperframes
The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
triage
mattpocock/skills
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
ask-matt
mattpocock/skills
Ask which skill or flow fits your situation. A router over the skills in this repo.
to-questionnaire
mattpocock/skills
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
loop-me
mattpocock/skills
Grill me about specs for the workflows I want to build, within this workspace.