If you work with feature branches and PRs, you know the pain: merged branches pile up locally even after the remote is gone. This handles the cleanup automatically by fetching the latest remote state, identifying branches marked as "gone," and deleting them along with any associated worktrees. It's from Every's compound engineering plugin, which has solid adoption (230 installs, passes all three security audits). The workflow is straightforward: run the discovery script, confirm what's stale, then clean it up. Saves you from manually tracking down orphaned branches or writing your own cleanup script for the hundredth time.

skills.sh installs
231
GitHub stars
26K
last updated
Aug 21, 2026

Install

$ npx -y skills add everyinc/compound-engineering-plugin --skill git-clean-gone-branches --agent claude-code

Installs into .claude/skills of the current project.

Files

If you work with feature branches and PRs, you know the pain: merged branches pile up locally even after the remote is gone. This handles the cleanup automatically by fetching the latest remote state, identifying branches marked as "gone," and deleting them along with any associated worktrees. It's from Every's compound engineering plugin, which has solid adoption (230 installs, passes all three security audits). The workflow is straightforward: run the discovery script, confirm what's stale, then clean it up. Saves you from manually tracking down orphaned branches or writing your own cleanup script for the hundredth time.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/everyinc/compound-engineering-plugin
Category
Git & Pull Requests
First seen
Jun 3, 2026

More from everyinc/compound-engineering-plugin

All 78
1siviter-xyz avatarsemantic-gitsiviter-xyz/dot-agentManage Git commits using conventional commit format with atomic staging. Always generate plain git commands before running them and offer to let the user run th201skills.sh installs
2cherryhq avatargh-create-issuecherryhq/cherry-studioAutomates GitHub issue creation while respecting your repository's template structure.0skills.sh installs
3cherryhq avatarissue-reportercherryhq/cherry-studio帮助用户提交 Bug Report 或 Feature Request。支持 GitHub Issue(有账户)和本地存档(无账户)两种模式。当诊断发现是代码 Bug 时主动提议,或当用户说"帮我提 issue"、"这是个 bug"、"我想要这个功能"、"submit a bug"、"feature request"时0skills.sh installs
4ganyuanran avatarfirst-principles-reviewganyuanran/aegisThis is a compositional skill that runs a lightweight decision checkpoint before other workflows commit to a direction.0skills.sh installs
5i-am-bee avatardraft-issuei-am-bee/agentstackDraft GitHub issues for i-am-bee/agentstack. Use when the user wants to report a bug, request a feature, or draft a general GitHub issue.0skills.sh installs
6Interstellar-code avatarchangelog-managerInterstellar-code/claud-skillsUpdate project changelog with uncommitted changes and create version releases with automatic commit and push0skills.sh installs