cancel
できること
このスキルは、実行中のエージェントワークフローを止め、残っている状態を消去します。長時間動くモードを始めて、きれいに終わらせたい人向けです。
使う場面
- ✓自律的な複数ステップのモードが動いていて、止めたいとき。
- ✓モードが止まっているようで、きれいに終わらせる必要があるとき。
- ✓終了する前に、どのモードが動いているか確認したいとき。
スキルのリンク
https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/cancel/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“動いているAutopilotを止めてください。ただし、後で再開できるように進捗は残してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
どのモードが動いているか確認し、決まった順序で取り消します。Autopilotは再開可能な状態を残し、ほかのモードは取り消し済みとして片付けます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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.
よくある質問
進捗は失われますか?
Autopilotは再開可能な状態を残すため、後で再開できます。
どのフラグが使えますか?
通常のcancelコマンドと強制版だけが使えます。ほかのフラグは、何かを変更する前に拒否されます。
すべてのモードを一度に止められますか?
いいえ。allオプションは拒否され、正確に1つのセッションだけを対象にします。
詳細
作者による元の説明
Cancel any active OMX mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline, team)
repo: Yeachan-Heo/oh-my-codex
人気
- GitHubのスター
- 34k
- ランキング
- #8415
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
ai-slop-cleaner
34k肥大化、繰り返し、またはAIが生成した、不要なコードを整理するのを助けます。不要なコードや余分なラッパーを取り除き、動作は保ちます。
analyze
34kコードベースについての質問に、関連するコードを読んで答えます。変更はせず、根拠を伴う順位付きの説明を報告します。
ask
34kローカルにインストールされたClaudeまたはGeminiのコマンドラインツールに、エージェントが第二の意見やレビューを求め、回答をファイルとして保存できるようにします。
autopilot
34kアイデアから要件定義、計画、実行まで、プロジェクト全体を少ない監督で進め、本当の障害がある場合にだけ止まります。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。