disk-hygiene
Facilitates macOS disk cleanup by auditing usage, cleaning caches, and managing stale files for improved storage efficiency.
Install this skill
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
Template literal with variable interpolation in command context
| 136 | ```bash |
Template literal with variable interpolation in command context
| 191 | ```bash |
Access to hidden dotfiles in home directory
| 75 | ~/.Trash ~/Downloads ~/Documents ~/Desktop ~/Movies ~/Music ~/Pictures \ |
Access to hidden dotfiles in home directory
| 80 | du -sh ~/.docker ~/.npm ~/.cargo ~/.rustup ~/.local ~/.cache \ |
Access to hidden dotfiles in home directory
| 81 | ~/.conda ~/.pyenv ~/.local/share/mise 2>/dev/null | sort -rh |
Access to hidden dotfiles in home directory
| 94 | | npm | `~/.npm/_cacache/` | 0.5-2 GB | `npm cache clean --force` | |
Access to hidden dotfiles in home directory
| 95 | | cargo | `~/.cargo/registry/cache/` | 1-5 GB | `cargo cache -a` (needs cargo-cache) | |
Access to hidden dotfiles in home directory
| 96 | | rustup | `~/.rustup/toolchains/` | 2-8 GB | `rustup toolchain remove <old>` | |
Access to hidden dotfiles in home directory
| 100 | | huggingface | `~/.cache/huggingface/` | 1-10 GB | `rm -rf ~/.cache/huggingface/hub/<model>` | |
Access to hidden dotfiles in home directory
| 112 | echo "npm: $(du -sh ~/.npm/_cacache/ 2>/dev/null | cut -f1 || echo 'N/A')" |
Access to hidden dotfiles in home directory
| 266 | | Empty Trash | Variable | Irreversible | `rm -rf ~/.Trash/*` | |