Back to directory

Branch Prune

Agent skill
1 skill

Prunes stale local and remote branches whose patches are already on the default branch (squash-merge ghosts). Uses git cherry to distinguish ghosts from branches with genuinely unmerged work, presents the proposed deletions for explicit user approval, and only deletes on confirmation. Handles dependabot/copilot/feature/fix/docs branches that accumulate forever in squash-merge workflows. Trigger phrases include "clean up branches", "prune branches", "delete merged branches", "stale branches", "remove squash-merged branches", "branch cleanup", "tidy git branches".

Install with
Claude CodeCodexCursorGitHub CopilotGemini CLI

Supported by the Atlas install prompt. Skill-specific requirements vary.

Skill stats

Skills1CategoryGeneralStars0

About this skill

Prunes stale local and remote branches whose patches are already on the default branch (squash-merge ghosts). Uses git cherry to distinguish ghosts from branches with genuinely unmerged work, presents the proposed deletions for explicit user approval, and only deletes on confirmation. Handles dependabot/copilot/feature/fix/docs branches that accumulate forever in squash-merge workflows. Trigger phrases include "clean up branches", "prune branches", "delete merged branches", "stale branches", "remove squash-merged branches", "branch cleanup", "tidy git branches".

Quick start

  1. Copy the install prompt. Use the green button above this README.
  2. Send it to your agent. Paste it into your coding agent’s chat and send.
  3. Review the setup. Your agent checks the skill’s instructions, requirements, and installation scope.
Review, license & listing details
Review the source before using this skill

This is an imported listing. We haven’t certified its safety, license, or compatibility. Skills may include executable scripts.

Automated security scan: Unavailable

HTTP 404

About scan coverage and limitations

About this listing

Category
General
Reported license
Not specified
Listing language (estimated)
English
Review status
Not individually reviewed
Agent compatibility
Atlas installation supports Claude Code, Codex, and Cursor. Skill-specific dependencies and features are checked during setup.
Branch Prune | Agent Skills Atlas