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

Security score

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

Categories Tested

Security Issues

medium line 140

Template literal with variable interpolation in command context

SourceSKILL.md
140```bash
medium line 196

Template literal with variable interpolation in command context

SourceSKILL.md
196```bash
high line 297

Template literal with variable interpolation in command context

SourceSKILL.md
297| `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-10 GB | `rustup toolchain uninstall <name>` (list with `rustup toolchain list`) |
medium line 99

Access to hidden dotfiles in home directory

SourceSKILL.md
99| mise | `~/.local/share/mise/installs/<tool>/<version>/` | 0.2-2 GB each | `mise uninstall <tool>@<version>` (list with `mise ls`) |
medium line 104

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
180| TTS debug WAV | `~/.local/share/tts-debug-wav/`, `~/.local/share/kokoro-debug*/` | Debug-mode TTS audio captures — can grow 1-2 GB/day if debug mode left on. Look for a `tts-prune` mise task
medium line 273

Access to hidden dotfiles in home directory

SourceSKILL.md
273| Empty Trash | Variable | Irreversible | `rm -rf ~/.Trash/*` |
Scanned on May 16, 2026
View Security Dashboard
Installation guide →
GitHub Stars 51
Rate this skill
Categorydevelopment
UpdatedJune 15, 2026
terrylica/cc-skills