Dethon

cancel-swarm

by @Dethon in Tools
0
0
# Install this skill:
npx skills add Dethon/ai-dev-flow --skill "cancel-swarm"

Install specific skill from multi-skill repository

# Description

Cancel any active swarm

# SKILL.md


name: cancel-swarm
allowed-tools: ["TaskList", "TaskStop"]
argument-hint: ""
description: Cancel any active swarm
model: opus


Cancel Swarm

Stop any active swarm workers.

Works with all swarm commands: /implement-swarm, /plan-swarm.

Note: Loop and swarm commands are interchangeable - use /cancel-swarm for swarms and /cancel-loop for loops.

Instructions

  1. Call TaskList to see all tasks and their status
  2. For any tasks with status in_progress:
  3. Note the owner (worker name)
  4. The worker may still be running
  5. Use TaskStop to halt any background workers still active
  6. Report:
  7. Completed tasks: N
  8. In-progress (interrupted): N
  9. Pending (not started): N

If no in-progress tasks found:
- Say "No active swarm found."

After Cancellation

Task progress is preserved:
- Completed tasks remain completed
- In-progress tasks may complete if worker finishes
- Pending tasks remain pending

To check task status:

TaskList

Note

Unlike loop cancellation, swarm workers are independent agents. If a worker completed its current task before cancellation, that work is saved.

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.