What problem does it solve? Long-running repositories accumulate merged branches, stale worktrees, and dead upstream tracking that clutter the workspace and make it hard to tell what work is still live. This Skill audits that residue safely, proving each branch's work actually landed before anything is deleted. ## Core Features & Use Cases - Two sweep modes: session removes only what the current session created before closing it; all audits everything the repository has accumulated, including other sessions' leftovers. - Proof-based deletion: branches are deleted only when containment in the default branch or a forge-confirmed merge (including squash merges via gh/glab) proves the work landed; anything unproven is surfaced, not removed. - Risk-classed approval gate: every action is classified as nothing-lost, recoverable, or irreversible, and irreversible deletions always require explicit user confirmation with restore commands shown. - Use Case: Before closing a long Claude Code session, run the session sweep to delete the branches and worktrees it created, verifying each against the default branch and open pull requests first. ## Quick Start Run the git-cleanup skill with the argument "session" to remove the branches and worktrees this session created.