Skip to content
Agentmart
Submit a tool

cancel

Cancel any active OMX mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline, team)

Skill by Yeachan-Heo

IndexedMIT★ 33,621
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/yeachan-heo-cancel

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Cancel any active OMX mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline, team)

Use cases: data, agent-building, agent-orchestration

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/cancel

What's inside

Skill name
cancel
Description
Cancel any active OMX mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline, team)
License
MIT
Instructions
37 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 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 `/cancel` and `/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:
  ```bash
  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

1. Parse and validate arguments; select one exact session/root scope.
2. Inspect active modes in dependency order:
   `autopilot → ralph → ultrawork → ecomode → ultraqa → swarm → ultrapilot → pipeline → team → plan-consensus`.
3. Cancel Autopilot while preserving its resumable state; clean only linked child modes it owns.
4. 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 in `docs/contracts/ralph-cancel-contract.md`.
5. Clear standalone modes only after proving they are not linked to another active mode.
6. For Team, inspect the runtime with `omx team status <team> --json`; use `omx team shutdown <team>` after the normal completion gate, or follow the explicit abort path.
7. Clear only the selected mode/session state through the state API, for example:
   ```bash
   omx state clear --input '{"mode":"<mode>","session_id":"<session>"}' --json
   ```
8. 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.

From Yeachan-Heo/oh-my-codex, MIT.

More from Yeachan-Heo/oh-my-codex

Signals

Stars
33,621
Forks
2,549
Open issues
1
Last commit (this folder)
Aug 12, 2026 (2 months ago)
Last release
Oct 24, 2026 (3 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from Yeachan-Heo

Cite this page

cancel skill. Agent Mart. https://agentmart.dev/skills/yeachan-heo-cancel (last updated 2026-10-24)