← All skills
cleanup-loose-branches
97 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
By peteromallet/Arnold (GitHub) · coding · 98 stars · scanned at commit 4815916
Survey every place loose work hides in a git repo — starting with the current checkout's own uncommitted/untracked/unpushed work, then local branches, all worktrees (`.megaplan-worktrees`, `.megaplan/bakeoffs/*`, agent-tool worktrees), stashes, detached HEADs, interrupted rebases/merges, submodules, remote branches on origin and other remotes, fork PR refs, sibling repo variants, other clones of this repo elsewhere on disk, the megaplan-cloud machine (Hetzner box) and every workspace on it, and…
Works with any agent that supports SKILL.md skills.
What this skill can do
Runs commands on your computer
This is disclosed by the author in the skill's SKILL.md or README. Expected for a coding skill.
Found in 40 places.
Show 17 more
- arnold_pipelines/megaplan/skills/cleanup-loose-branches/SKILL.md, line 119
git worktree list --porcelain - arnold_pipelines/megaplan/skills/cleanup-loose-branches/SKILL.md, line 137
for wt in "$HOME/Documents/.megaplan-worktrees"/* "$HOME/.megaplan-worktrees"/*; do - arnold_pipelines/megaplan/skills/cleanup-loose-branches/SKILL.md, line 165
git for-each-ref \ - arnold_pipelines/megaplan/skills/cleanup-loose-branches/SKILL.md, line 182
git stash list --format='%gd|%cr|%s' - arnold_pipelines/megaplan/skills/cleanup-loose-branches/SKILL.md, line 191
git branch -r --format='%(refname:short)|%(committerdate:iso8601)|%(committerdate:relative)' - arnold_pipelines/megaplan/skills/cleanup-loose-branches/SKILL.md, line 201
ls .git/MERGE_HEAD .git/CHERRY_PICK_HEAD .git/REVERT_HEAD .git/REBASE_HEAD 2>/dev/null - arnold_pipelines/megaplan/skills/cleanup-loose-branches/SKILL.md, line 210
git submodule foreach --recursive \ - arnold_pipelines/megaplan/skills/cleanup-loose-branches/SKILL.md, line 219
git fsck --unreachable --no-reflogs 2>/dev/null | grep -c '^unreachable commit' - arnold_pipelines/megaplan/skills/cleanup-loose-branches/SKILL.md, line 227
git ls-files --others --exclude-standard - arnold_pipelines/megaplan/skills/cleanup-loose-branches/SKILL.md, line 242
du -sh "$HOME/.omp/agent" 2>/dev/null - arnold_pipelines/megaplan/skills/cleanup-loose-branches/SKILL.md, line 256
git for-each-ref \ - arnold_pipelines/megaplan/skills/cleanup-loose-branches/SKILL.md, line 269
git remote -v - arnold_pipelines/megaplan/skills/cleanup-loose-branches/SKILL.md, line 278
REPO=$(basename "$PWD"); PARENT=$(dirname "$PWD") - arnold_pipelines/megaplan/skills/cleanup-loose-branches/SKILL.md, line 289
git -C <path> remote get-url origin - arnold_pipelines/megaplan/skills/cleanup-loose-branches/SKILL.md, line 303
ORIGIN=$(git remote get-url origin 2>/dev/null) - arnold_pipelines/megaplan/skills/cleanup-loose-branches/SKILL.md, line 328
ls "$PWD/cloud.yaml" "$PWD/.megaplan/cloud.yaml" "$PWD/.megaplan/cloud-"*.log 2>/dev/null - arnold_pipelines/megaplan/skills/cleanup-loose-branches/SKILL.md, line 334
HOST=$(yq '.ssh.host' cloud.yaml 2>/dev/null)
and 20 more places
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'cleanup-loose-branches' ] || [ -L ~/.agents/skills/'cleanup-loose-branches' ]; then echo 'A skill folder named cleanup-loose-branches already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/peteromallet/Arnold' "$d" && git -C "$d" checkout --quiet '4815916805531030f062fc1c10bcc9f9cd10a40f' -- 'arnold_pipelines/megaplan/skills/cleanup-loose-branches' && mkdir -p ~/.agents/skills && cp -R "$d"/'arnold_pipelines/megaplan/skills/cleanup-loose-branches' ~/.agents/skills/'cleanup-loose-branches' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'cleanup-loose-branches' ~/.claude/skills/'cleanup-loose-branches' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for peteromallet/Arnold shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/peteromallet/Arnold/)
Score history
| Date | Version | Score |
|---|
| 2026-11-07 | 4815916 | 100 |