omh-cancel
What it does
It ends an OMH workflow that is running in your session, and reports only the stops that were actually confirmed. It is for people running agent workflows who want to stop them without leaving loose ends.
When to use it
- ✓When you want to stop a workflow or loop that is still running.
- ✓When you want to abort a run that is going the wrong way.
- ✓When you want to know what was stopped and what still needs a stop command.
Skill link
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-cancel/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Cancel the loop and stop everything that is running for this task.”
5 new skills a week. 1 minute to read.
How it works
The agent clears the workflow state that this session owns, and names the host stop commands for work the host controls. It reports each stop only when the result confirms it.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Cancel
This is an OMH cancel workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
cancel exists so a request to stop ends the right thing: OMH clears the state this session owns, and work the host owns stops through the person's own host command, so nothing reads as stopped before a record or the host's own reply says it is.
Do Not Use When
- The workflow finished and its outcome should be kept; record it with omh state finish instead of clearing it.
- The user wants to see what is still running rather than stop it; use
omh-running-work-board. - The user means cancelling something in their own product or accounts, such as an order, a subscription, or a meeting, rather than OMH or host work.
Examples
Good example:
- Prompt: cancel the loop and stop everything that is running
- Expected behavior: Clear this session's OMH state with its own commands, name the host's stop commands (on Hermes,
/loop stopand/stop) for the person to run, and report each OMH clear from its result and each host stop as requested. - Why: The request spans OMH state and host-owned work, which stop through different owners.
Bad example:
- Prompt: cancel: kill the background processes yourself and say everything stopped
- Expected behavior: Leave the processes to the person's own stop command (on Hermes,
/stop), and report them stopped only after the host's own reply. - Why: OMH never ends a host process, and a requested stop is not an observed one.
Completion Checklist
- Every stopped item is named with its owner: OMH state or host work.
- Each OMH clear cites its command result; each host stop stays requested until the host's reply is seen.
- Nothing outside this session's own state was cleared, and no host process was ended by OMH.
Recovery Notes
- If a session-bound clear is refused for a missing --session-ref, report the refusal rather than clearing without it.
- If the host's reply to a stop never appears, keep the stop requested and ask the person what it said.
When to Use
Use to cleanly end active adapted workflow state.
Strong routing signals: `cancel`, `$cancel`, `stop the workflow`, `abort the run`, `cancel the loop`
Catalog Metadata
Category: operator
Phase: state-cleanup
Quality tier: evidence-gated
Reasoning demand: light
Quality bar:
- Name each thing to stop and its owner: OMH state (workflow lifecycle, plan checklist, OMH goal) or host work (the running turn, background processes, delegations, a Hermes /loop or /goal).
- Clear OMH state with its own commands:
omh state clear --workflow <name>(--session-refwhen session-bound), on Hermesomh_todo action=clear, andomh goal cancel --goal <id>; an OMH loop stops through its linked goal, and one without a goal has no cancel record. - Hand host work to the person's own stop command; on Hermes
/stop(in a CLI or TUI session it ends every background process, and the classic CLI its background delegations too; on a messaging platform it interrupts the running turn rather than ending every background process),/loop stop,/goal pauseor/goal clear,/heartbeat clear,/pause(all new work on a gateway). - Report an OMH clear as done only from its command result, and a host stop as requested until the host's own reply to it is seen.
Required inputs:
- active workflow state
- cancellation intent
Expected outputs:
- cleared state
- safe stop summary
Artifact expectations:
- state clear record when state exists
Safety rules:
- Never end, kill, or signal a host process, background job, or delegation from this workflow, through the terminal or any other tool (on Hermes,
process_manageincluded); that stop is the person's own host command. - Clear only what this session owns; another session's plan, workflow state, or goal stays as it is.
Runtime Evidence
Use the current host's own tools and subagent/task mechanism when available;
otherwise run the same lanes sequentially or name the unavailable capability.
A prepared plan, handoff, checklist, or skill installation is not execution,
review, CI, merge-readiness, or merge evidence. Record actual tool results, or
not_observed / not_available, in the record; never invent dispatch or host
accounting.
Treat supplied context as advisory, not proof of hidden memory reads or writes.
State scope, constraints, verification, and the stop condition before work.
Reply in the user's own
FAQ
Will it delete the results of a finished workflow?
No. The skill says a finished workflow should be recorded as finished, not cleared.
Does it stop background processes on my computer?
Not directly. It names the host stop commands for you to run, and reports them as stopped only once confirmed.
Can it cancel my orders or subscriptions?
No. It covers only agent and workflow work, not outside accounts or purchases.
Details
Original description by the author
[omh] Aborting an active workflow: ending active workflow state cleanly. Use when the user says: cancel, stop the workflow, abort the run, cancel the loop.
repo: rlaope/oh-my-hermes
Popularity
- GitHub stars
- 5.1k
- Ranking position
- #15083
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
omh-accessibility-audit
5.1kHelps your agent check a screen or flow for accessibility gaps, such as keyboard use, screen reader labels, contrast, and touch target size.
omh-adversarial-consensus
5.1kHelps your agent attack a technical proposal from several independent angles before you commit to it, then sums up what survives.
omh-agent-debug
5.1kHelps your agent work out why another AI agent is stuck, looping, or drifting, and suggests the smallest safe way to recover.
omh-agent-instructions
5.1kHelps your agent write or update the instruction file, such as AGENTS.md or CLAUDE.md, that tells AI tools how to work in a project.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.