← ClaudeAtlas

loop-stoplisted

Permanently stop a /loop — delete the cron entry AND clear any paused state for it. Distinct from /loop-pause which preserves state for /loop-resume. Use this when the user wants to be DONE with a loop, not just pause it temporarily ("stop this loop", "cancel my loop", "kill the loop", "remove the loop").
thepictishbeast/claude-tools · ★ 0 · AI & Automation · score 68
Install: claude install-skill thepictishbeast/claude-tools
# /loop-stop — permanently cancel a loop + clear all state ## When to use this vs /loop-pause | User wants | Use this skill | |----------------------------------------------------|----------------| | "stop temporarily, I'll resume later" | `/loop-pause` | | "stop this loop, I'm done with it" | `/loop-stop` | | "cancel my loop" | `/loop-stop` | | "kill all my loops" | `/loop-stop` | | "remove the loop" | `/loop-stop` | | "the loop is done, clean up" | `/loop-stop` | If unsure, ASK: "do you want to pause (resumable) or stop (gone)?" ## Steps 1. **`CronList`** to find active loop(s). 2. **Read** `$HOME/.claude/.paused-loops.json` for any paused entries. 3. **If nothing active AND nothing paused**: tell user "no loop to stop." Don't touch any files. Done. 4. **If multiple active loops AND user passed no argument**: list them with IDs, ask which to stop (or "all" to stop everything). Don't pick silently. 5. **For each loop being stopped**: - Capture: `id`, `cron`, `prompt` (first 80 chars), `label` (if any) - **`CronDelete`** the active cron entry. - **Remove** the corresponding entry from `$HOME/.claude/.paused-loops.json` if present (match on `id_original` or `prompt`). - **Append history event** to `$HOME/.claude/loop-history.jsonl`: ```