← ClaudeAtlas

pc-cleanuplisted

Scan a macOS machine for reclaimable disk space and clean it up safely. Use this whenever the user reports low disk space, a "disk almost full" warning, wants to free up storage, asks to delete unnecessary/junk/system files, mentions "sistem verileri" (macOS's System Data category) taking up too much room, asks what's safe to delete on their Mac, wants to reclaim space from old node_modules/Docker or Podman images/build caches piled up across dev projects, or wants a recurring PC/disk cleanup routine — even if they never say the words "disk" or "clean up" outright. Always run the read-only scan first, present a tiered summary, and get explicit confirmation before deleting anything — never delete first and explain later.
DogukanK/claude-pc-cleanup · ★ 14 · Data & Documents · score 80
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