Remove the worktrees and local branches already merged into the integration branch, and the leftovers (agent worktrees, orphan directories). Use when the user asks to clean up worktrees or branches.
Install
npx skills add antoine-tena/kiln --skill cleanupnpx skills add antoine-tena/kiln --skill cleanup -a claude-code -gnpx skills add antoine-tena/kiln --skill cleanup -a codex -ggemini skills install https://github.com/antoine-tena/kiln.git --path plugins/kiln/skills/cleanupgh skill install antoine-tena/kiln cleanupgit clone --depth 1 https://github.com/antoine-tena/kiln /tmp/antoine-tena__kiln
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/antoine-tena__kiln/plugins/kiln/skills/cleanup ~/.claude/skills/cleanup # Claude Code
cp -R /tmp/antoine-tena__kiln/plugins/kiln/skills/cleanup ~/.agents/skills/cleanup # Codex, Cursor, Gemini CLI, Copilot, OpenCode