Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By smykla-skalskiv1.0.5MITIn 1 marketplace
Deletes local branches whose remote was removed, plus their worktrees, including squash-merged and rebased ones. Deletes only after a dry-run preview; works on Claude Code, Codex, Copilot CLI and opencode.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Clean up local branches with deleted remote tracking and their worktrees. Detects gone branches, squash-merged PRs (via gh), and rebased branches (via git cherry).
The plugin is a portable Agent Plugin with one Agent Skill, so the same package works in Claude Code, Codex, Copilot CLI and opencode.
Claude Code (Copilot CLI is the same with copilot in place of claude):
claude plugin marketplace add smykla-skalski/sai
claude plugin install git-clean-gone@sai
Codex:
codex plugin marketplace add smykla-skalski/sai
codex plugin add git-clean-gone@sai
opencode, or any agent that reads Agent Skills, loads skills/git-clean-gone/ directly:
ln -s /path/to/sai/plugins/git-clean-gone/skills/git-clean-gone ~/.config/opencode/skills/git-clean-gone
Local checkout: claude --plugin-dir /path/to/sai/plugins/git-clean-gone/
The skill deletes branches and worktrees, so it never runs on its own: in Claude Code and Copilot CLI invoke /git-clean-gone, in Codex $git-clean-gone (implicit invocation is disabled). On agents other than Claude Code, any request that does not name the skill gets a --dry-run preview first and deletes only after you confirm the whole list. The real run fetches again, so anything it deletes beyond the preview is called out in the summary.
/git-clean-gone
/git-clean-gone --dry-run
/git-clean-gone --no-worktrees
| Flag | Purpose |
|---|---|
--dry-run | Preview only, no changes |
--no-worktrees | Branches only, skip worktree removal |
MIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub smykla-skalski/sai --plugin git-clean-gonePlugins from other owners that cover similar ground