cancel

Cancel active OMG automation modes by parsing flags and clearing state files.

Updated Feb 23, 2026
One-click install
npx skills add https://github.com/cheafi/Trading-bot-CC --skill cancel-cheafi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cancel
Source: https://github.com/cheafi/Trading-bot-CC/tree/main/.github/skills/cancel
Command: npx skills add https://github.com/cheafi/Trading-bot-CC --skill cancel-cheafi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of getting stuck in an active automated workflow by providing a reliable way to cancel the currently running OMG mode and clean up its state.

Core Features & Use Cases

  • Intelligent mode detection: Detects which OMG-related mode is active by reading .omg/state/, then cancels the correct workflow.
  • Dependency-aware cleanup: Cancels in a dependency order (e.g., OMG Autopilot first, then linked Ralph/Ultrawork/UltraQA) to prevent leftover loops.
  • Force and scope controls: Supports default smart cancellation plus nuclear cleanup with --force and full wipe with --all.
  • Resume-friendly preservation: Preserves state for modes explicitly designed to resume (OMG Autopilot and Self-Improve) while clearing others.
  • Use case: When an agent-based planning or execution loop runs longer than expected, run the cancellation command to stop it and clear its run state safely.

Quick Start

Send the cancel command to abort the currently active OMG mode.

Frequently Asked Questions about cancel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I cancel an active OMG automation workflow that is stuck in a loop?

To cancel an active OMG automation workflow, run the cancel command to detect the running mode from local state and execute an orderly shutdown. It reads `.omg/state/` to identify the active mode and clears state files in dependency order to prevent leftover loops.

What does dependency-aware cleanup do when stopping automated process orchestration?

Dependency-aware cleanup stops automated process orchestration by canceling workflows in a specific dependency order, such as OMG Autopilot first, then linked parallel execution or QA cycling loops, ensuring no background automation processes are left running.

How does state cleanup preserve resumable data when aborting autopilot workflows?

State cleanup preserves resumable data when aborting autopilot workflows by retaining state files for OMG Autopilot and Self-Improve modes while clearing all other temporary execution state. This allows you to safely abort active loops and resume them later.

Can I force a full state wipe when aborting OMG automation modes?

Yes, you can force a full state wipe when aborting OMG automation modes by passing the `--all` flag for a nuclear cleanup. The `--force` flag is also available for immediate cancellation, overriding the default smart cancellation behavior.

How do I stop parallel execution and QA cycling without breaking workflow state?

To stop parallel execution and QA cycling without breaking workflow state, use the default smart cancellation. It detects the active mode from `.omg/state/` and safely clears temporary files while preserving resumable state for supported workflows.

When should I use force cancellation over smart cancellation for workflow control?

You should use force cancellation over smart cancellation for workflow control when an automation mode is unresponsive and default state cleanup fails to stop the process. The `--force` flag bypasses orderly shutdown, and `--all` completely wipes local state files.