worktree-cleanup

Official

Clean up git worktrees

AuthorHomericIntelligence
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps manage disk space and maintain a clean development environment by removing Git worktrees that are no longer needed, especially after branches have been merged.

Core Features & Use Cases

  • Automated Cleanup: Scans for and removes worktrees associated with merged branches.
  • Manual Removal: Provides commands to remove individual worktrees.
  • Use Case: After successfully merging a feature branch into main, you can use this skill to automatically clean up the corresponding worktree, freeing up disk space and decluttering your project.

Quick Start

Run the script to automatically clean up all merged git worktrees.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: worktree-cleanup
Download link: https://github.com/HomericIntelligence/ProjectOdyssey/archive/main.zip#worktree-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.