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
46/100

Security score

The disk-hygiene skill was audited on May 12, 2026 and we found 12 security issues across 2 threat categories, including 1 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

medium line 138

Template literal with variable interpolation in command context

SourceSKILL.md
138```bash
medium line 193

Template literal with variable interpolation in command context

SourceSKILL.md
193```bash
high line 292

Template literal with variable interpolation in command context

SourceSKILL.md
292| `parse error near TASK_ID=$(pueue add ...)` from heredoc with spaced paths | A user shell hook (e.g. pueue submission) re-parses the command string and breaks on `${var}/Path With Spaces/*` globs in
low line 77

Access to hidden dotfiles in home directory

SourceSKILL.md
77~/.Trash ~/Downloads ~/Documents ~/Desktop ~/Movies ~/Music ~/Pictures \
low line 82

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
268| Empty Trash | Variable | Irreversible | `rm -rf ~/.Trash/*` |
Scanned on May 12, 2026
View Security Dashboard
Installation guide →
GitHub Stars 17
Rate this skill
Categorydevelopment
UpdatedMay 13, 2026
terrylica/cc-skills