Install
openclaw skills install skylv-repo-cleanerSafely removes merged and stale Git branches. Identifies branches already on main/master. Triggers: clean branches, remove old branches, delete merged branches, git cleanup.
openclaw skills install skylv-repo-cleanerSafely identifies and removes merged, stale, and orphaned Git branches.
git branch --show-current git remote show origin | findstr "HEAD branch"
git branch -a --format "%(refname:short) %(upstream:short) %(committerdate:short)"
Merged: already in main/master Stale: no commit in 90+ days Orphaned: no upstream tracking Active: recent commits under 30 days
Merged branches (safe to delete): feature-old-login -> DELETE bugfix-typo-2024 -> DELETE
Protected (do not delete): main <- current develop
Commands: git branch -d (safe) or git branch -D (force) Remote: git push origin --delete branch-name