wt-cleanup

Community

Clean up merged git worktrees to reclaim space.

Authormichael-menard
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Identify and remove merged or stale Git worktrees that clutter repos and waste disk space.

Core Features & Use Cases

  • Interactive cleanup: List all worktrees, identify merged branches, and selectively remove them.
  • Safe housekeeping: Prunes git metadata after removal to keep references clean.
  • Use Case: When a project spawns multiple feature branches with dedicated worktrees, run this skill to remove those that have already been merged into main.

Quick Start

Use the wt-cleanup command to identify and remove stale worktrees interactively.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: wt-cleanup
Download link: https://github.com/michael-menard/monorepo/archive/main.zip#wt-cleanup

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.