claude

git-sweep

Git branch and worktree cleanup that proves a branch is contained before deleting it and reports what it kept and why: an interactive sweep that asks first, and an unattended one that frees finished agent worktrees and archives abandoned agent branches under refs/archive/

6 on GitHubby Augustin BENGOLEAv3.5.3MITupdated 11 days ago
/

Plugin git-sweep from marketplace bengous-plugins in bengous/claude-code-plugins. Commands read from the repo's manifest — 10 days ago.

What it installs

Skills (2)

  • auto-sweep

    Clean leftover local branches and agent worktrees with no prompt: deletes the branches git-sweep proves are already in the base, removes the clean agent worktrees (.claude/worktrees/agent-*) standing on them, and archives under refs/archive/ the agent branches abandoned past a threshold. Never touch

  • git-sweep

    Clean stale git branches and worktrees interactively. Audits local/remote branches, proves which ones the base already contains (including after a squash or rebase), frees finished worktrees, and confirms before deleting. Use when: "git sweep", "sweep branches", "branch cleanup", "prune stale branch

View source on GitHub

More from bengous/claude-code-plugins

All 29 plugins →

Parallel multi-agent orchestration for complex features with Task-based coordination and git-wt --stack worktree isolation

1 skill · 6 commands · 3 agents

6

GitHub lifecycle through gh: agent-ready issues, review-ready PRs that show the change in diagrams, images and video, issue and PR triage, CI-gated linear merge, commit-push-PR in one step, stacked PRs with gh stack, and an issue-to-PR loop whose workers land their own low-tier PR

8 skills · hooks

6

Documentation research through optimal MCP sources and claim verification: research agents, source routing, web and codebase fact-checking

1 skill · 4 commands · 2 agents

6

Bridge to the OpenAI Codex CLI for cross-model collaboration

6 skills

6

Understand a topic, a bug, a Claude Code workflow, or the last reply: minimal explanations, root-cause diagnosis, execution traces, layered recaps

5 commands

6

Code quality and cleanup commands for maintaining clean, maintainable code

2 skills · 2 commands

6

Similar plugins

Commands for git commit workflows including commit, push, and PR creation

3 commands

anthropics/claude-code 155,476

ruflo-swarm

claudecodex

Agent teams, swarm coordination, Monitor streams, and worktree isolation

2 skills · 2 commands · 2 agents

ruvnet/ruflo 81,589

Perform AI code review on Git diffs — supports workspace changes, branch ranges, and single commits with concurrent per-file analysis, codebase search, and deep context-aware review.

2 commands

alibaba/open-code-review 50,068

greptile

claudecodex

AI code review agent for GitHub and GitLab. View and resolve Greptile's PR review comments, run reviews on your working branch, and search your organization's knowledge base and coding patterns, directly from Claude Code.

2 skills · 1 MCP server

anthropics/claude-plugins-official 47,076

Essential developer skills including Git workflows, SQL optimization, error handling, code review, E2E testing, authentication, debugging, and monorepo management

11 skills · 1 agent

wshobson/agents 42,461

An authenticated hosted MCP server that accesses your PlanetScale organizations, databases, branches, schema, and Insights data. Query against your data, surface slow queries, and get organizational and account information.

19 skills · 1 MCP server

anthropics/knowledge-work-plugins 35,601

Maintain git-sweep?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins29 plugins