---
name: cancel
description: Cancel the active Omagy workflow or all Omagy workflow state.
---

# Cancel

When invoked, stop the active Omagy workflow through the CLI runtime.

Use this skill when the user wants to stop, cancel, abort, or clear an active
Omagy workflow.

## Execution Contract

1. Run:

   ```bash
   omagy cancel --json
   ```

2. If multiple workflows are active and the command asks for disambiguation,
   ask the user which mode to cancel, or use the mode they already named:

   ```bash
   omagy cancel --mode ultrawork --json
   omagy cancel --mode ralph --json
   omagy cancel --mode team --json
   ```

3. If the user explicitly asks to stop everything, run:

   ```bash
   omagy cancel --all --json
   ```

4. Do not edit `.omagy/state` files directly. Do not use shell `rm` to clear
   runtime state.
5. Report which modes entered canonical lifecycle outcome `userinterlude` and
   whether the runtime is now idle. Do not present `cancelled` as the
   user-facing lifecycle outcome.
