Skip to main content

disk-hygiene

Facilitates macOS disk cleanup by auditing usage, cleaning caches, and managing stale files for improved storage efficiency.

Install this skill

or
61/100

Security score

The disk-hygiene skill was audited on Mar 7, 2026 and we found 11 security issues across 2 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 136

Template literal with variable interpolation in command context

SourceSKILL.md
136```bash
medium line 191

Template literal with variable interpolation in command context

SourceSKILL.md
191```bash
low line 75

Access to hidden dotfiles in home directory

SourceSKILL.md
75~/.Trash ~/Downloads ~/Documents ~/Desktop ~/Movies ~/Music ~/Pictures \
low line 80

Access to hidden dotfiles in home directory

SourceSKILL.md
80du -sh ~/.docker ~/.npm ~/.cargo ~/.rustup ~/.local ~/.cache \
low line 81

Access to hidden dotfiles in home directory

SourceSKILL.md
81~/.conda ~/.pyenv ~/.local/share/mise 2>/dev/null | sort -rh
medium line 94

Access to hidden dotfiles in home directory

SourceSKILL.md
94| npm | `~/.npm/_cacache/` | 0.5-2 GB | `npm cache clean --force` |
medium line 95

Access to hidden dotfiles in home directory

SourceSKILL.md
95| cargo | `~/.cargo/registry/cache/` | 1-5 GB | `cargo cache -a` (needs cargo-cache) |
medium line 96

Access to hidden dotfiles in home directory

SourceSKILL.md
96| rustup | `~/.rustup/toolchains/` | 2-8 GB | `rustup toolchain remove <old>` |
medium line 100

Access to hidden dotfiles in home directory

SourceSKILL.md
100| huggingface | `~/.cache/huggingface/` | 1-10 GB | `rm -rf ~/.cache/huggingface/hub/<model>` |
low line 112

Access to hidden dotfiles in home directory

SourceSKILL.md
112echo "npm: $(du -sh ~/.npm/_cacache/ 2>/dev/null | cut -f1 || echo 'N/A')"
medium line 266

Access to hidden dotfiles in home directory

SourceSKILL.md
266| Empty Trash | Variable | Irreversible | `rm -rf ~/.Trash/*` |
Scanned on Mar 7, 2026
View Security Dashboard

Install this skill with one command

/learn @terrylica/disk-hygiene
GitHub Stars 17
Rate this skill
Categorydevelopment
UpdatedMarch 29, 2026
terrylica/cc-skills