Autonomy Worktree Remover

•
2
•

Safely removes autonomy worktree directories while preserving branches and commit history to maintain a clean development environment.

The remove-worktree skill simplifies the management of Git worktrees within the autonomy framework by automating the cleanup process. It provides a non-destructive way to delete working directories when a task is complete or a fresh start is needed, ensuring that underlying branches, iteration journals, and Git tags remain fully intact. The skill includes robust safety mechanisms, such as checking for uncommitted changes and performing automatic metadata pruning, making it an essential tool for developers managing multiple concurrent strategy branches without risking data loss.

Key Features

01Safety validation for uncommitted changes to prevent accidental data loss
02Non-destructive removal that preserves branches, tags, and commit history
032 GitHub stars
04Interactive error reporting and available worktree suggestions
05Force removal option to discard broken or experimental worktrees
06Automatic pruning of stale Git worktree metadata

Use Cases

01Cleaning up disk space after finishing a specific development strategy
02Managing multiple concurrent feature explorations without workspace clutter
03Recreating a worktree from scratch due to configuration errors