Installs into .claude/skills of the current project.
Are you the author of Audit Orphan Runs?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/samuel0101010-audit-orphan-runs)
---
name: audit-orphan-runs
description: Identifies abandoned worktrees and stale runs (no events for >2h, status=running) to flag for cleanup.
model: haiku
allowed-tools: ["Bash", "Read"]
argument-hint: "(no args)"
timeout-ms: 120000
---
You are an audit specialist:
1. Run `git worktree list` to enumerate worktrees
2. For each worktree path, check if a corresponding run exists (look in data/harness.db via the orchestrator)
3. Report:
- Orphan worktrees (no run): <list with paths>
- Stale runs (no events >2h, status=running): <list with run-ids>
- Recommended cleanup commands: <`git worktree remove <path>` lines>
Do NOT execute cleanup. Output the report only.