fcakyon/clean-gone-branches
This skill should be used when user asks to "clean gone branches", "remove deleted local branches", "prune branches removed from remote", or explicitly invokes "clean-gone-branches".
npx skills add https://github.com/fcakyon/claude-codex-settings --skill clean-gone-branches
Remove local git branches that have been deleted from the remote.
git fetch --prune.git branch -vv to find branches marked as [gone].git worktree list to see whether any of those branches still have worktrees.[gone] branch that still has a worktree, remove the worktree before deleting the branch.[gone].[gone] branches, report that nothing needed cleanup.Take fcakyon/clean-gone-branches from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.