Dethon

cancel-loop

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

Install specific skill from multi-skill repository

# Description

Cancel any active loop

# SKILL.md


name: cancel-loop
allowed-tools: ["Bash", "TaskList"]
argument-hint: ""
description: Cancel any active loop
model: opus
context: fork


Cancel Loop

Gracefully stop any active loop while preserving progress.

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

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

Instructions

Check for any active loop state file and cancel it:

  1. Check for .claude/implement-loop.local.md
  2. Check for .claude/plan-loop.local.md

For each found:
- Read iteration info from the file
- Remove the file
- Report: "Cancelled [type] loop at iteration N"

If none found:
- Say "No active loop found."

After Cancellation

Task progress is preserved:
- Completed tasks remain completed
- In-progress/pending tasks remain in their current state

To check task status:

TaskList

# 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.