pc-cleanuplisted
Install: claude install-skill DogukanK/claude-pc-cleanup
# PC Cleanup (macOS)
Free up disk space by finding what is safe to delete, showing the user exactly
what that is and why it's safe, getting their explicit go-ahead, and only then
deleting it. This is a recurring maintenance task the user runs periodically —
optimize for a routine that is fast to run, trustworthy, and never surprises
them with something gone that they needed.
The core discipline: **almost everything on a dev machine that takes up a lot
of space is either a cache or a build artifact that something else can
regenerate.** The job is to prove that regenerability before suggesting
deletion, not to assume it.
## Phase 1 — Scan (read-only, always safe to run without asking)
Run the bundled scanner:
```bash
bash ~/.claude/skills/pc-cleanup/scripts/scan.sh [project_root ...]
```
With no arguments it auto-detects common dev folders (`~/dev`, `~/Developer`,
`~/Projects`, `~/code`, `~/workspace`, `~/repos`, `~/Documents/GitHub`) if they
exist. If the user mentions a specific projects folder that isn't one of
those, pass it explicitly.
The script only reads and measures — `du`/`df`/`find`/`ls`, nothing that
writes or deletes. It's safe to run proactively the moment this skill
triggers, before asking the user anything.
It prints labeled sections: overall disk space, top-level home directory
sizes, breakdowns of `~/Library` (Application Support, Caches, Developer)
and `~/.cache`, `~/.local/share`, installed Claude Code versions (with
which one is currently active), d