Skip to main content
Run any Skill in Manus
with one click
$pwd:

clean-worktrees

// Audit and clean Codex-created Git worktrees and leftover worktree directories safely. Use when disk usage appears inflated by ~/.codex/worktrees, Git worktree metadata, detached Codex worktrees, stale branch worktrees, or when the user asks to map worktrees to pull requests before deletion.

$ git log --oneline --stat
stars:182
forks:21
updated:April 23, 2026 at 22:38
File Explorer
2 files
SKILL.md
readonly