flow-cleanup · git:20260708.e42b71f · 2026-07-08 · sha256 e600b52b7a70ab5a

flow-cleanup git:20260708.e42b71fA

Immutable. This exact content is served forever at /api/v1/blob/e600b52b7a70ab5a.

---
name: "flow-cleanup"
description: "Clean up stale worktree references and merged branches"
---
<!-- GENERATED by claude-power-pack - scripts/codex-skill-sync.py; edit .claude/commands/flow/cleanup.md instead -->

## Codex harness adaptations

Generated from a Claude Code command. Where the procedure references these Claude-only surfaces, adapt as follows:

- Native worktrees (`EnterWorktree`/`ExitWorktree` tool calls, `.claude/worktrees/` paths): use plain git instead - `git worktree add <path> -b <branch>`, work inside it, then `git worktree remove <path>` when done.

# Flow: Cleanup - Prune Stale Worktrees and Branches

Clean up stale worktree references and merged branches

## Full procedure

Read `reference.md` in this skill directory for the complete, authoritative procedure before acting on this skill.