disk-hygiene

Solid

macOS disk cleanup, cache pruning, stale file detection, and Downloads triage. TRIGGERS - disk space, cleanup, disk usage

AI & Automation 73 stars 10 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
62
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Disk Hygiene > Audit disk usage, clean developer caches, find forgotten large files, and triage Downloads on macOS. > **Self-Evolving Skill**: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues. ## When to Use This Skill Use this skill when: - User asks about disk space, storage, or cleanup - System is running low on free space - User wants to find old/forgotten large files - User wants to clean developer caches (brew, uv, pip, npm, cargo) - User wants to triage their Downloads folder - User asks about disk analysis tools (dust, dua, gdu, ncdu) ## TodoWrite Task Templates ### Template A - Full Disk Audit ``` 1. Run disk overview (df -h /System/Volumes/Data && major directories) 2. Audit developer caches (uv, brew, pip, npm, cargo, rustup, Docker) 3. Scan in-repo build artifacts (Rust target/, .venv, node_modules — often the biggest, see Phase 2.5) 4. Scan for forgotten large files (>50MB, not accessed in 180+ days) 5. Present findings with AskUserQuestion for cleanup choices 6. Execute selected cleanups 7. Report space reclaimed ``` ### Template B - Cache Cleanup Only ``` 1. Measure current cache sizes 2. Run safe cache cleanups (brew, uv, pip, npm) 3. Report space reclaimed ``` ### Template C - Downloads Triage ``` 1. List Downloads contents with dates and sizes 2. Categorize into groups (media, dev artifacts, personal docs...

Details

Author
terrylica
Repository
terrylica/cc-skills
Created
9 months ago
Last Updated
yesterday
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Listed

disk-janitor

Detect reclaimable disk space on macOS and optionally clean it up via a tiered Python script. Use this skill whenever the user says "my Mac is full", "free up disk space", "what's eating my disk", "clear caches", "clean up stale data", "how much space can I recover", "disk cleanup", or any variation of wanting to understand or reclaim storage. Always run the dry-run report first so the user sees what will be touched before anything is deleted. Triggers even when the user just wants to understand disk usage without committing to cleanup.

1 Updated 3 days ago
cmin764
AI & Automation Listed

disk-cleanup

Free up disk space on macOS by safely cleaning regenerable caches, old runtime versions, and bulky one-off artifacts. Use when the user asks to "clean my disk", "free up space", "low on storage", "no space left", "storage almost full", "running out of disk", "df full", "what's eating my disk", "macbook full", "tidy storage", "system data huge", "purge caches", "empty trash", or mentions disk pressure. Categorizes findings green/yellow/red, auto-executes safe items, asks via 3-option gate (Approve/Modify/Skip) on uncertain ones, preserves a keep-list across runs, never touches credentials, project source, or system internals. Single-machine state in skill dir; resumable mid-run.

1 Updated 1 months ago
adamjali
AI & Automation Solid

computer-clean

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.

7 Updated today
vanducng