| name | clean-up-agent-branches |
|---|---|
| description | Remove branches and worktrees left behind by T3 Code, Codex, and Claude Code once their threads are settled and their work is merged or empty, including merged branches on the `origin` fork. Use only when explicitly invoked. |
| disable-model-invocation | true |
Paths below are relative to this skill's directory. The script plans and applies the cleanup. Never delete branches or remove worktrees by hand, never pass --force, never delete branches on remotes other than origin, and never write to the T3 or Codex databases.