disk-space-cleanup
Installation
SKILL.md
Disk Space Cleanup
Reclaim disk space with a safety-first workflow: investigate first, run obvious low-risk cleanup wins, then do targeted analysis for larger opportunities.
Bundled helpers:
scripts/rust_target_dirs.py: inventory and guarded deletion for explicit Rusttarget/directoriesreferences/rust-target-roots.txt: machine-specific roots for Rust artifact scansreferences/ignore-paths.md: machine-specific excludes fordu/ncdu
Execution Default
- Start with non-destructive investigation and quick sizing.
- Prioritize easy wins first (
nix-collect-garbage, container prune, Cargo artifacts). - Propose destructive actions with expected impact before running them.
- Run destructive actions only after confirmation, unless the user explicitly requests immediate execution of obvious wins.
- Capture new reusable findings by updating this skill before finishing.