
Clean Gone Branches
- 26 installs
- 946 repo stars
- Updated August 2, 2026
- fcakyon/claude-codex-settings
Helps with ai & agent building tasks.
About
clean-gone-branches is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.
- clean-gone-branches
- AI & Agent Building
- AI-coding skill
Clean Gone Branches by the numbers
- 26 all-time installs (skills.sh)
- Ranked #9,643 of 16,556 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/fcakyon/claude-codex-settings --skill clean-gone-branchesAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 26 |
|---|---|
| repo stars | ★ 946 |
| Last updated | August 2, 2026 |
| Repository | fcakyon/claude-codex-settings ↗ |
What it does
Helps with ai & agent building tasks.
Files
Clean Gone Branches
Remove local git branches that have been deleted from the remote.
Process
1. Update remote references
- Run
git fetch --prune.
2. Inspect local state
- Run
git branch -vvto find branches marked as[gone]. - Run
git worktree listto see whether any of those branches still have worktrees.
3. Remove worktrees first
- For each
[gone]branch that still has a worktree, remove the worktree before deleting the branch.
4. Delete the gone branches
- Delete each local branch marked as
[gone].
5. Report the result
- List removed worktrees and deleted branches.
- If there are no
[gone]branches, report that nothing needed cleanup.
Related skills
AI & Agent Buildingagents