git-cleanup

Installation
SKILL.md

Git Cleanup

Prove each candidate's code is present on current trunk, inspect its intended behavior, print a scoped plan, and remove only unchanged candidates covered by the user's cleanup request. Use the packaged scripts/cleanup.py for classification and deletion. Keep verification and execution on the same repository and machine.

Contract

Inputs:

  • Repository root with an origin remote and authenticated GitHub access
  • Optional trunk, otherwise the repository's default branch
  • Mode: verify, dry-run (default), or prune; verify is a read-only alias that emits the same complete plan as dry-run
  • Scope: all (default), branches, local-branches, remote-branches, or worktrees
  • For pruning: the previously printed JSON plan and authorization for its scope
Installs
23
GitHub Stars
38
First Seen
Sep 1, 2026