Autonomy Worktree Cleanup

•
2
•

Safely removes specialized autonomy worktree directories while preserving git branches and commit history.

Autonomy Worktree Cleanup provides a safe and automated mechanism to remove dedicated worktree directories used in autonomous coding workflows without losing progress. It streamlines the validation of uncommitted changes, performs standard git worktree removal, and prunes stale metadata to keep repositories organized. This skill ensures that while the working directory is deleted to save space, all branches, iteration journals, and git tags remain perfectly intact for future reference or checkout.

主要功能

01Metadata pruning to prevent stale git references
022 GitHub stars
03Force removal support for discarding broken experiments
04Branch and iteration history preservation
05Automated safety checks for uncommitted changes
06Automatic repository root and worktree path detection

使用场景

01Managing multiple concurrent development paths without repository clutter
02Cleaning up disk space after completing an autonomous coding session
03Resetting an experimental worktree to start from a fresh state