/cleanup:go-cachefrom cleanup
Measures Go build, test, fuzz, and module caches, then interactively clears user-chosen scopes after approval. Reports space reclaimed.
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.
Reclaim Go cache disk space, then report what was freed.
Operates in report → confirm → execute order. The scope is chosen through an interactive question, not flags. After approval, run the cleanup autonomously.
go env GOCACHE GOMODCACHE
GOCACHE holds the build, test, and fuzz caches — fully regenerated on the next build.GOMODCACHE holds downloaded module sources — re-downloaded on the next go build/go mod download. It is usually the largest, often tens of GB.Measure both: du -sh "$GOCACHE" and du -sh "$GOMODCACHE". If go is not installed, stop and say so.
Show the size of each cache and the total reclaimable, then ask the user (interactive question) which scope to clear:
Note that either way the next build is slower while caches repopulate.
Build, test, and fuzz caches:
go clean -cache -testcache -fuzzcache
Module cache (only if the user chose to include it):
go clean -modcache
go clean -modcache handles the read-only permission bits that Go sets on cached module files — no manual chmod needed.
Re-measure GOCACHE and GOMODCACHE and report the space reclaimed, plus what was kept (the module cache, if the user kept it).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lexfrei/ccc --plugin cleanup6 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./cleanup-allRun the full local cleanup pipeline — stale git worktrees, dead personal forks, Docker prune, Go caches, and Homebrew — in one pass, each stage report → confirm → execute, then a combined reclaimed-space summary. TRIGGER when the user wants a broad disk cleanup ("free up disk space", "почисти всё", "run the cleanup pipeline"). DO NOT trigger when the user clearly wants only one specific cleaner — invoke that skill instead./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./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.Other plugins' skills for the same job