computer-clean

Solid

Audit and reclaim disk space on macOS. Discovers cache hogs, dev caches, dead app data, old Downloads, dup installers, and obsolete container/VM images. Use when user says 'clean disk', 'free up space', 'computer-clean', 'cleanup mac', 'disk full', or shows ≥85% disk usage.

AI & Automation 7 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
30
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Computer Clean - macOS Disk Cleanup Goal: surface the largest reclaimable space on the user's Mac, classify by risk, **always confirm before destructive ops**, then execute. ## Operating principle **Audit → Classify → Confirm → Execute → Verify.** Never skip the confirm step for 🟡/🔴 buckets. The 🟢 cache bucket can run after a single user "go". The skill **discovers** what's actually on the user's machine - don't assume specific apps/caches exist. Run audit commands first, then classify what was found. --- ## Phase 1 - Audit (read-only) Run these in parallel. Report top consumers per bucket. ```bash # Volume stats df -h / # Home Library hot zones du -sh ~/Library/Caches ~/Library/Logs ~/Library/Containers \ ~/Library/Application\ Support ~/Downloads ~/.Trash 2>/dev/null # Drill the heavy ones - top 15 each du -sh ~/Library/Application\ Support/* 2>/dev/null | sort -rh | head -15 du -sh ~/Library/Caches/* 2>/dev/null | sort -rh | head -15 du -sh ~/Library/Containers/* 2>/dev/null | sort -rh | head -10 du -sh ~/Downloads/* 2>/dev/null | sort -rh | head -15 # Common dev caches outside Library (skip silently if missing) du -sh ~/.npm ~/.yarn ~/.pnpm-store ~/Library/pnpm \ ~/go/pkg ~/.cargo ~/.gradle ~/.m2 ~/.rustup \ ~/.cache ~/.docker 2>/dev/null # Drill ~/.cache children (uv, pip, puppeteer, pre-commit, etc.) du -sh ~/.cache/* 2>/dev/null | sort -rh | head -15 # Xcode (developers only) du -sh ~/Library/Developer/Xcode/{DerivedData,Archives,...

Details

Author
vanducng
Repository
vanducng/skills
Created
4 months ago
Last Updated
today
Language
HTML
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Listed

pc-cleanup

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.

14 Updated 5 days ago
DogukanK
AI & Automation Listed

clean-my-mac

Reclaim macOS disk space by measuring where it went, then freeing it with tool-native commands. Trigger on /clean-my-mac, "disk เต็ม" / disk full, "no space left on device" from a build or docker step, or leftover data from uninstalled apps.

0 Updated 3 weeks ago
atomgunlk
AI & Automation Listed

disk-cleaner

Audit a personal computer for reclaimable disk space and, only after explicit approval, clean it. Covers caches, logs, build artifacts, dependency stores, duplicates, stale downloads, package-manager leftovers, simulator and container data, and residue from uninstalled apps. Always starts read-only, classifies every candidate by risk and recreatability, and never deletes anything without a confirmed decision. Use when the user asks what is filling their disk, wants a cleanup plan, or asks to free space on their machine. Do not use for cleaning a project's working tree during normal development, for diagnosing application bugs, or for any repository-level task.

1 Updated 1 weeks ago
martonpaulo