funsaized/claude-and-codex-settings/clean-gone-branches

Claude Code and agent skill by funsaized/claude-and-codex-settings

Trust tier 2
  • community
LLM review pending
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-branches

SKILL.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

  1. Update remote references
  • Run git fetch --prune.
  1. Inspect local state
  • Run git branch -vv to find branches marked as [gone].
  • Run git worktree list to see whether any of those branches still have worktrees.
  1. Remove worktrees first
  • For each [gone] branch that still has a worktree, remove the worktree before deleting the branch.
  1. Delete the gone branches
  • Delete each local branch marked as [gone].
  1. 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/funsaized/claude-and-codex-settings/clean-gone-branches/badge)](https://verified-skill.com/skills/funsaized/claude-and-codex-settings/clean-gone-branches)

Something wrong with this skill or its page? Tell us.