← ClaudeAtlas

reclaimlisted

Reclaim a stuck loop from a dead or unresponsive owner. Check reclaim candidacy, prompt confirmation, atomically take ownership.
terrylica/cc-skills · ★ 49 · AI & Automation · score 82
Install: claude install-skill terrylica/cc-skills
# autoloop: Reclaim Forcibly reclaim ownership of a loop that appears stuck (dead owner or stale heartbeat). This skill performs an atomic takeover, increments the generation counter, and logs the event in the revision-log. > **Self-Evolving Skill**: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues. ## Arguments - Positional (optional): a loop identifier. Three forms accepted, all routed through `resolve_loop_identifier`: - `<loop_id>` — bare 12 hex chars, e.g. `3555bbe1f0fb` - `AL-<slug>--<hash>` — display-name with disambiguator, e.g. `AL-odb-research--a1b2c3` (matches the on-disk `.autoloop/<slug>--<hash>/` directory) - `AL-<slug>` — display-name without disambiguator, e.g. `AL-flaky-ci-watcher`. Errors with a candidate list if multiple campaigns share the slug. ## Step 1: Identify the loop ```bash INPUT="${1:-}" if [ -z "$INPUT" ]; then echo "ERROR: identifier required. Try one of:" echo " /autoloop:reclaim <loop_id> (e.g. 3555bbe1f0fb)" echo " /autoloop:reclaim AL-<slug> (e.g. AL-odb-research)" echo " /autoloop:reclaim AL-<slug>--<hash> (e.g. AL-odb-research--a1b2c3)" echo " Run /autoloop:muster to list active campaigns by name." exit 1 fi # Source the resolver and translate any input form to the canonical loop_id. PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketp