funsaized/claude-and-codex-settings/clean-gone-branches
Claude Code and agent skill by funsaized/claude-and-codex-settings
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
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".
Install
npx vskill@latest install funsaized/claude-and-codex-settings/clean-gone-branchesSKILL.md
The same SKILL.md was published earlier as fcakyon/claude-codex-settings/clean-gone-branches.
Clean Gone Branches
Remove local git branches that have been deleted from the remote.
Process
- Update remote references
- Run
git fetch --prune.
- 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.
- Remove worktrees first
- For each
[gone]branch that still has a worktree, remove the worktree before deleting the branch.
- Delete the gone branches
- Delete each local branch marked as
[gone].
- Report the result
- List removed worktrees and deleted branches.
- If there are no
[gone]branches, report that nothing needed cleanup.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/github-dev/skills/clean-gone-branches/SKILL.md
Popularity
- Repository stars
- 1
- Repository forks
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/funsaized/claude-and-codex-settings/clean-gone-branches)