/cleanup:cleanup-all [path]from cleanup
Orchestrates a multi-stage local cleanup pipeline: stale git worktrees, dead personal forks, Docker prune, Go caches, and Homebrew. Each stage reports, confirms, then executes, with a combined reclaimed-space summary.
Ships in cleanup. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Orchestrate the cleanup skills end to end and report total disk reclaimed.
Each stage keeps its own report → confirm → execute gate, and each gathers its own options through interactive questions — this orchestrator passes no flags. The user approves (or skips) each stage independently.
$ARGUMENTS, else infer the hosting root by walking up from the current directory and ask the user to confirm or correct it, else ask outright. Do not assume a default. Resolve this once and reuse it for both filesystem stages.Announce the plan: which stages will run, in what order, with the resolved scan root.
Run each by following the corresponding sibling skill in this plugin. Each sibling asks its own scope questions (volumes, modcache, delete-remote, etc.) — do not try to pre-answer them here. Carry the running total of reclaimed space across stages.
worktree-sweep on the resolved scan root (all-repos scope). Remove safe worktrees; triage dirty ones.stale-forks on the resolved scan root. Remove dead/reclonable local clones; the sibling asks per-fork about deleting the GitHub fork.docker-prune. The sibling asks which scopes (images/cache, volumes, non-default buildx builders, VM disk trim on VM-backed daemons).go-cache. The sibling asks whether to include the module cache.brew-cleanup. The sibling asks which scopes (cleanup, autoremove, full cache scrub).If a stage's prerequisite is absent (no Docker daemon, no go, no brew, no repositories under the root), report that and continue to the next stage instead of failing the pipeline.
A single table: stage, items removed, space reclaimed, and anything intentionally kept (with reasons — dirty-real-work, live-locked worktrees, forks with open PRs or local-only commits, preserved volumes, kept modcache, kept brew formulae). End with the combined total reclaimed across all stages.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
disk-cleanup, git-worktrees, docker-prune, go-cache, homebrew-cleanup
6 skills in this plugin
/brew-cleanupReclaim Homebrew disk by removing old formula/cask versions, pruning the download cache, and uninstalling orphaned dependencies (brew autoremove). Shows a dry-run estimate first, then runs the user-chosen scope after approval. TRIGGER when the user wants to free Homebrew space ("brew cleanup", "почисти brew", "remove orphaned brew packages"). DO NOT trigger for uninstalling a specific named formula./docker-pruneReclaim Docker disk by pruning unused images, containers, networks, build cache, optionally volumes, and the build cache of non-default buildx builders; on VM-backed daemons (Colima/Lima) also offers a guest fstrim so the host-side sparse disk image actually shrinks. Shows reclaimable size first, then prunes the user-chosen scope after approval. TRIGGER when the user wants to free Docker space ("docker prune", "почисти docker", "reclaim image cache"). DO NOT trigger for removing specific named containers/images./go-cacheReclaim Go disk by clearing the build, test, fuzz, and module caches. Measures each cache first, then cleans the user-chosen scope after approval. TRIGGER when the user wants to free Go cache space ("clean go cache", "почисти go кеши", "reclaim GOMODCACHE"). DO NOT trigger for cleaning a specific module or running go mod tidy./stale-forksFind personal forks that no longer carry value — their unique commits are already merged upstream, or they hold no unique commits at all — and remove the local clone after approval. Optionally delete the GitHub fork too. TRIGGER when the user wants to clean up dead forks ("remove merged forks", "почисти бесполезные форки", "which forks can I drop"). DO NOT trigger for non-fork repositories or for forks with open PRs / unmerged work./worktree-sweepFind and remove stale git worktrees across one or many repositories. Classifies each extra worktree as clean / dirty / locked, measures reclaimable space, then removes the safe ones after approval. TRIGGER when the user wants to clean up, prune, or audit git worktrees ("remove old worktrees", "почисти worktree", "what worktrees can I delete"). DO NOT trigger for deleting whole repositories or non-worktree directories.npx claudepluginhub lexfrei/ccc --plugin cleanupOther plugins' skills for the same job