跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Cancel OMC Mode

技能 已验证 活跃

Cancel any active OMC mode (autopilot, ralph, ultrawork, ultraqa, swarm, ultrapilot, pipeline, team)

目的

To provide a reliable and intelligent way to exit or stop any active OMC mode, ensuring proper state cleanup and graceful shutdown.

功能

  • Detects and cancels various OMC modes (autopilot, ralph, team, etc.)
  • Provides graceful shutdown and state preservation for resume (e.g., Autopilot)
  • Includes force clear options (--force, --all) for complete state reset
  • Offers a bash fallback script for emergency state file cleanup
  • Follows session-aware state contract for accurate cancellation

使用场景

  • Stopping an ongoing autonomous agent workflow cleanly
  • Resetting the environment when a task is interrupted or completed
  • Ensuring proper cleanup of linked modes like Autopilot cancelling Ralph
  • Exiting OMC modes when switching to a different task or workflow

非目标

  • Starting or managing OMC modes
  • Performing actions within an active mode
  • Providing general file system cleanup beyond OMC state files

工作流

  1. Parse command-line arguments (--force, --all)
  2. Detect active OMC modes using state tools (state_list_active, state_get_status)
  3. Perform cancellation based on detected mode and dependencies (e.g., Team → Ralph → Ultrawork)
  4. Execute force clear if specified, removing all session and legacy state files
  5. Clean up team-specific artifacts and potentially tmux sessions
  6. Report cancellation status and any necessary manual cleanup steps

先决条件

  • Claude Code CLI
  • tmux (for certain features like team mode and rate limit detection)

安装

请先添加 Marketplace

/plugin marketplace add Yeachan-Heo/oh-my-claudecode
/plugin install oh-my-claudecode@omc

质量评分

已验证
98 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标33.7k
许可证MIT
状态
查看源代码