omh-cancel
Ce qu’il fait
Elle met fin à un flux de travail OMH en cours dans votre session, et ne signale que les arrêts effectivement confirmés. Elle s'adresse aux personnes qui font tourner des flux de travail d'agents et veulent les arrêter sans laisser de traces.
Quand l’utiliser
- ✓Quand vous voulez arrêter un flux de travail ou une boucle encore en cours.
- ✓Quand vous voulez interrompre une exécution qui prend une mauvaise direction.
- ✓Quand vous voulez savoir ce qui a été arrêté et ce qui nécessite encore une commande d'arrêt.
Lien du skill
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-cancel/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Annule la boucle et arrête tout ce qui tourne pour cette tâche.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent efface l'état du flux de travail que cette session possède, et nomme les commandes d'arrêt de l'hôte pour les travaux que l'hôte contrôle. Il ne signale chaque arrêt comme effectué que lorsque le résultat le confirme.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes
Supprimera-t-elle les résultats d'un flux terminé ?
Non. La compétence indique qu'un flux de travail terminé doit être consigné comme terminé, et non effacé.
Arrête-t-elle les processus en arrière-plan de mon ordinateur ?
Pas directement. Elle nomme les commandes d'arrêt de l'hôte à exécuter, et ne signale comme arrêtés que ceux qui sont confirmés.
Peut-elle annuler mes commandes ou mes abonnements ?
Non. Elle ne couvre que le travail des agents et des flux de travail, pas les comptes extérieurs ni les achats.
Détails
Description originale de l’auteur
[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
Popularité
- Étoiles GitHub
- 5.1k
- Position au classement
- #15083
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
omh-accessibility-audit
5.1kAide votre agent à repérer les lacunes d'accessibilité d'un écran ou d'un parcours : clavier, lecteurs d'écran, contraste et taille des zones tactiles.
omh-adversarial-consensus
5.1kAide votre agent à attaquer une proposition technique sous plusieurs angles indépendants avant que vous ne vous engagiez, puis à résumer ce qui tient encore.
omh-agent-debug
5.1kAide votre agent à comprendre pourquoi un autre agent IA est bloqué, tourne en boucle ou dérive, et à suggérer la récupération la plus petite et la plus sûre.
omh-agent-instructions
5.1kAide votre agent à rédiger ou mettre à jour le fichier d'instructions, comme AGENTS.md ou CLAUDE.md, qui indique aux outils d'IA comment travailler dans un projet.
Skills similaires
add-model-provider
394kPermet à votre agent de connecter un nouveau fournisseur de modèles IA à OpenClaw par des commandes sûres, sans clé en clair, puis de lancer un test.
acp-router
394kAide votre agent à envoyer une tâche à un assistant de code comme Claude Code ou Cursor via OpenClaw, afin que le travail s'exécute dans cet outil.
browser-automation
394kApprend à votre agent à piloter des pages web étape par étape, y compris les connexions, les onglets et la reprise lorsqu'une page ne répond plus.