skills/smithery.ai/cleanup-merged-branches

cleanup-merged-branches

Installation
SKILL.md

Cleanup Merged Branches

This skill safely deletes git branches that have been merged into the main branch.

Procedure

1. Fetch and Prune Remote

git fetch --prune

2. List Merged Branches (Preview)

# Local branches merged into main (excluding main itself)
git branch --merged main | grep -v "main" | grep -v "^\*"

# Remote branches merged into main
git branch -r --merged main | grep -v "main" | grep -v "HEAD"
Installs
1
First Seen
May 1, 2026
cleanup-merged-branches from smithery.ai