recover
Installation
SKILL.md
/recover — Worktree & Branch Cleanup
Scan for orphaned worktrees, stale branches, and partial work left behind by crashed or abandoned agent sessions. Read-only by default — reports findings and waits for approval before any cleanup.
Invocation: deliberately model-invocable — scanning is read-only. Every cleanup action is gated on explicit user approval.
Configuration
This skill operates on git worktrees and branches only; it reads no state files, so
workspace.yaml's state paths do not apply. The one setting it depends on is the default
branch, which it detects (step 0) rather than hardcoding. Full reference:
docs/state-model.md.