with one click
recover
// Scan for orphaned worktrees and stale branches after crashes or abandoned sessions. Offers safe cleanup options.
// Scan for orphaned worktrees and stale branches after crashes or abandoned sessions. Offers safe cleanup options.
Multi-agent deep review for code PRs in any repo. Use when asked to "deep review this PR," "multi-agent review," "review
Tripwire check for multi-session drift. Scans state files, recent commits, and file conflicts caused by parallel Claude Code sessions.
Structured session lifecycle for Claude Code — start, checkpoint, end, and daily heartbeat commands that maintain project state across conversations.
Generate a new Claude Code skill file from a plain-language description. Scaffolds the SKILL.md, command file, and CLAUDE.md additions.
| name | recover |
| description | Scan for orphaned worktrees and stale branches after crashes or abandoned sessions. Offers safe cleanup options. |
Scan for orphaned worktrees, stale branches, and partial work left behind by crashed or abandoned Claude Code sessions. Read-only by default — reports findings and waits for approval before cleanup.
git worktree list --porcelain
Identify:
For each orphaned worktree:
git -C <worktree-path> status --short
git -C <worktree-path> branch --show-current
git -C <worktree-path> log --oneline -3
git log main..<branch-name> --oneline
Classify each as:
git branch --no-merged main
git remote prune origin --dry-run
git for-each-ref --sort=-committerdate --format='%(refname:short) %(committerdate:relative) %(subject)' refs/heads/
Classify:
git worktree prune --dry-run
RECOVER — [DATE]
WORKTREES:
- Active: [N]
- Orphaned: [N]
- [path] — [status] — [branch] — [last commit]
- Stale entries: [N]
BRANCHES:
- Merged (safe to delete): [list]
- Stale (>7 days, not merged): [list]
- Active: [list]
PROPOSED ACTIONS:
1. [action] — [target] — [reason]
OVERALL: [CLEAN / N items need attention]
Only proceed when explicitly approved. Options:
git worktree remove <path>git merge <branch> --no-ffgit cherry-pick <hash>git branch -d <branch>git branch -D <branch>git worktree prunegit remote prune origin