LogoClawIndex
CasesSkillsAbout
LogoClawIndex

delete-merged-branches - Delete Merged Git Branches Safely

Safely delete local and remote branches merged into a specified base branch using ancestry and GitHub PR data

Tags

Updated: 2026-03-22
gitbranch managementrepository cleanupautomation

Capabilities

fetch remote branchesidentify base branchlist merged PRslist closed PRs

Typical Inputs

Git repositorybase branch nameGitHub token

Typical Outputs

deleted local branchesdeleted remote branchesdeletion report

What this skill does

  • fetch remote branches
  • identify base branch
  • list merged PRs
  • list closed PRs
  • compare branch tips
  • delete local branch
  • delete remote branch
  • show deletion list
  • run dry mode

Inputs

  • Git repository
  • base branch name
  • GitHub token

Outputs

  • deleted local branches
  • deleted remote branches
  • deletion report

Requirements

  • Git environment
  • GitHub CLI installed
  • GitHub authentication
  • origin remote configured

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.