LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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.

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

Capabilities

Typical Inputs

Typical Outputs

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
git
branch management
repository cleanup
automation
fetch remote branches
identify base branch
list merged PRs
list closed PRs
Git repository
base branch name
GitHub token
deleted local branches
deleted remote branches
deletion report