with one click
git-clean-worktrees
Remove git worktrees safely without force.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Remove git worktrees safely without force.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Restore claude/codex agents from a tmux-reboot snapshot after tmux-resurrect reopens their windows.
Snapshot running tmux claude/codex agents immediately before a reboot so their sessions can be restored afterward.
Commit changes, run git-test precommit checks, and fix failures. Use when asked to fix build, test, lint, typecheck, or precommit failures.
Running precommit checks and build validation. ALWAYS use after ANY code changes.
This skill should be used after completing any task, before returning control to the user. Always run this skill — it handles the case where there's nothing to do.
Coordination guidelines for leading a team of task-executing agents
| name | git-clean-worktrees |
| description | Remove git worktrees safely without force. |
Remove the requested worktrees only if Git can do so without --force.
Do not pre-check status or unpushed commits. Run:
git worktree remove <worktree>
If Git refuses, report the error. Do not use --force unless the user explicitly asks for a destructive operation.