Chuyển đến nội dung
Skillpedia
Agent34k · #8415

cancel

Skill này làm gì

Skill này dừng một quy trình agent đang chạy và xóa trạng thái còn sót lại. Skill dành cho người đã bắt đầu một chế độ chạy dài và cần kết thúc nó một cách gọn gàng.

Khi nào nên dùng

  • ✓Khi một chế độ tự động hoặc nhiều bước đang chạy và bạn muốn dừng nó.
  • ✓Khi một chế độ có vẻ bị kẹt và bạn cần kết thúc nó một cách gọn gàng.
  • ✓Khi bạn muốn kiểm tra những chế độ nào đang hoạt động trước khi kết thúc bất kỳ chế độ nào.

Liên kết skill

https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/cancel/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/cancel/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Dừng lần chạy autopilot đang hoạt động, nhưng giữ lại tiến độ để tôi có thể tiếp tục sau.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill kiểm tra những chế độ nào đang hoạt động, rồi hủy chúng theo một thứ tự đã định. Autopilot giữ trạng thái có thể tiếp tục, còn các chế độ khác được đánh dấu là đã hủy và dọn dẹp.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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 /cancel and /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

  1. Parse and validate arguments; select one exact session/root scope.
  2. Inspect active modes in dependency order: autopilot → ralph → ultrawork → ecomode → ultraqa → swarm → ultrapilot → pipeline → team → plan-consensus.
  3. Cancel Autopilot while preserving its resumable state; clean only linked child modes it owns.
  4. 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 in docs/contracts/ralph-cancel-contract.md.
  5. Clear standalone modes only after proving they are not linked to another active mode.
  6. For Team, inspect the runtime with omx team status <team> --json; use omx team shutdown <team> after the normal completion gate, or follow the explicit abort path.
  7. Clear only the selected mode/session state through the state API, for example:
    omx state clear --input '{"mode":"<mode>","session_id":"<session>"}' --json
    
  8. 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.

Câu hỏi thường gặp

Tôi có mất tiến độ không?

Autopilot giữ trạng thái có thể tiếp tục, nên có thể được tiếp tục sau.

Những tham số nào được chấp nhận?

Chỉ lệnh cancel đơn giản và phiên bản buộc dừng được chấp nhận. Mọi tham số khác bị từ chối trước khi có gì thay đổi.

Có thể hủy mọi chế độ cùng lúc không?

Không. Skill từ chối tùy chọn tất cả và chỉ làm việc trên đúng một phiên.

Chi tiết

Mô tả gốc của tác giả

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

repo: Yeachan-Heo/oh-my-codex

Độ phổ biến

Sao GitHub
34k
Vị trí xếp hạng
#8415
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự