skills/utility/mac-disk-cleanup/SKILL.md
Audit and clean up disk space on macOS. Scans all major space consumers — apps, caches, dev tools, audio plugins, sample libraries, node_modules, Docker, and system data. Produces a ranked report and executes removals on confirmation. Trigger when the user says "clean up space", "disk is full", "free up storage", "what's taking space", or "audit my disk".
npx skillsauth add michailbul/laniameda-skills mac-disk-cleanupInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Systematically find and reclaim disk space on macOS without losing important data. Covers the full spectrum — from obvious caches to deep audio plugin libraries and orphaned dev dependencies that silently eat storage.
Start with the baseline:
df -h / | tail -1
Run all scans in parallel for speed. Never use find with -uall on large dirs.
Scan targets (run in parallel):
| Category | What to scan |
|---|---|
| Overview | df -h / for total/free |
| User folders | ~/Downloads, ~/Documents, ~/Desktop, ~/Movies, ~/Music, ~/Pictures, ~/work, ~/.Trash |
| Library caches | ~/Library/Caches/* sorted by size |
| App Support | ~/Library/Application Support/* sorted by size |
| Containers | ~/Library/Containers/* sorted by size |
| Group Containers | ~/Library/Group Containers/* sorted by size |
| System audio | /Library/Audio/Plug-Ins/VST3/*, /Library/Audio/Plug-Ins/Components/*, /Library/Audio/Plug-Ins/VST/* |
| Audio vendors | /Library/Arturia, /Library/Application Support/Native Instruments, /Library/Application Support/iZotope, /Library/Application Support/XLN Audio, /Library/Application Support/Toontrack, /Library/Application Support/Waves, /Library/Application Support/Splice |
| User audio | ~/Library/Audio/Presets, ~/Music/* |
| Dev tools | /opt/homebrew, ~/.npm, ~/.bun, ~/.cargo, ~/.rustup, ~/.nvm, ~/.volta, ~/.pyenv, ~/.conda |
| node_modules | find ~/work -name "node_modules" -type d -maxdepth 4 |
| Applications | du -sh /Applications/* \| sort -hr |
| Docker | docker system df (if running) |
| Logs | ~/Library/Logs |
Present findings as a single ranked table, descending by size. Group into categories:
## Disk Audit — [date]
**Total:** XXX GB | **Used:** XXX GB | **Free:** XXX GB
### Top consumers (>500 MB)
| # | Item | Size | Category | Safe to remove? |
|---|---|---|---|---|
| 1 | ... | ... | ... | ... |
Categories: cache, dev-deps, audio-plugin, sample-library, app, app-data, media, system
For each item, note:
sudoNever delete without explicit user confirmation. Present the plan, get approval per category or per item.
Execution order:
npm installFor system-level paths (/Library/*, /Applications/*), collect all removals into a single sudo block the user can paste in Terminal.
df -h / | tail -1
Report: Before: X GB free | After: Y GB free | Recovered: Z GB
du -sh ~/Library/Caches/* 2>/dev/null | sort -hr | head -20
find ~/work -name "node_modules" -type d -maxdepth 4 -exec du -sh {} \; 2>/dev/null | sort -hr
du -sh /Library/Audio/Plug-Ins/VST3/*.vst3 2>/dev/null | sort -hr
ls -d ~/Library/"Application Support"/*/ 2>/dev/null | while read d; do du -sh "$d" 2>/dev/null; done | sort -hr | head -30
du -sh /Applications/* 2>/dev/null | sort -hr | head -30
For Electron apps (Claude, Cursor, Windsurf, Slack, Discord, Notion, etc.):
# Check these subfolders — all are safe to clear:
Cache/ Code Cache/ GPUCache/ Service Worker/CacheStorage/
brew cleanup --prune=0 # removes all cached downloads
brew autoremove # removes unused dependencies
nvm ls # list installed versions
nvm uninstall <version> # remove unused ones
| App/Tool | Where it hides | Typical size |
|---|---|---|
| Claude Desktop | ~/Library/Application Support/Claude/vm_bundles/ | 9-10 GB (VM image) |
| Xcode / Swift | ~/Library/Developer/, ~/Library/Caches/org.swift.swiftpm | 5-50 GB |
| Docker | ~/Library/Containers/com.docker.docker/ | 5-60 GB |
| Arturia V Collection | /Library/Arturia/Samples/ | 10-20 GB |
| iZotope (Ozone/RX/Neutron) | /Library/Application Support/iZotope/ | 10-15 GB |
| XLN Addictive Drums | /Library/Application Support/XLN Audio/ | 10-15 GB |
| Native Instruments | /Library/Application Support/Native Instruments/ | 3-50 GB |
| Adobe Creative Suite | /Library/Application Support/Adobe/ + apps | 10-30 GB |
| Spotify offline | ~/Library/Application Support/Spotify/PersistentCache/ | 1-5 GB |
| Playwright browsers | ~/Library/Caches/ms-playwright/ | 1-2 GB |
| Homebrew | /opt/homebrew/ | 3-10 GB |
| node_modules (scattered) | ~/work/**/node_modules/ | 5-30 GB |
| Apple Music downloads | ~/Music/Music/ | 1-10 GB |
| CoreML cache | ~/Library/Application Support/coreMLCache/ | 0.5-2 GB |
/Library/ needs sudo — collect into a pasteable block.df -h / at start and end.development
Seedance 2.0 video prompt director. Converts plain-text scene descriptions into production-ready bilingual EN+ZH video prompts optimized for the Seedance 2.0 video generator. Handles all Seedance work — action (combat, pursuit, stunts), general (landscapes, journeys, atmosphere), dialogue (confrontations, negotiations, interrogations), and non-narrative commercial work (ad spots, music videos, fashion films, automotive inserts, product shots, pet/character demos, cutaway montages, social reels for TikTok / Reels / YouTube Shorts). Use whenever the user wants to create a Seedance video prompt, mentions Seedance, or describes a cinematic scene for video generation. For NARRATIVE screenplay-integrated work, use seedance-screenwriter instead.
development
Write Seedance 2.0 prompts in screenplay format for narrative storytelling — when the prompts will be cut into a film, short, or scene. Use whenever you're generating shots that will be edited into a continuous story with dialogue, character beats, scene continuity, or coverage. Pairs with the screenwriter skill — read the scene's screenplay first (or the project's `scene.md` if it exists), then translate each shot into a Seedance prompt that reads as a screenplay page, not as an engineering spec.
documentation
Скилл-инструмент для сценариста полнометражного фильма или сериала. Используй всегда, когда пользователь хочет писать сценарий, поэпизодник, разрабатывать сцены, бит-шит, диалоги, делать ревизии, считать экранное время, резать длину, работать с персонажами или мифологией истории. Скилл работает на основе методологий Макки, Кэмпбелла и Аристотеля, выдаёт Hollywood-формат .docx, поддерживает билингвальные сценарии (диалог на одном языке + перевод в скобках под ним), и помогает аудитировать структуру по причинности и движению ценности. Скилл не привязан к конкретной истории — пользователь приносит свою.
development
Extract shot composition DNA from any car photograph into structured JSON — camera angle, lens, framing, lighting — stripped of car-specific details. Then reuse extracted angles with any car identity to generate new images at scale. Use when: extracting angles from reference photos, building a shot library, batch-analyzing car photography, replicating a great angle with a different car, running extraction pipelines in Freepik or Flora. Triggers: "extract this angle", "steal this composition", "shot DNA", "analyze this car photo", "replicate this shot with my car", "batch extract angles", "car photography analysis", "angle extraction", "build a shot library".