← All skills
disk-cleaner
85 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
By majiayu000/spellbook (GitHub) · coding · 291 stars · scanned at commit 238e076
当用户要扫描磁盘空间、找出可安全删除的缓存/编译产物/安装包、或交互式释放空间时使用。
Works with any agent that supports SKILL.md skills.
What this skill can do
Runs commands on your computer
The author does not mention this. Expected for a coding skill.
Found in 17 places.
Show 14 more
- skills/disk-cleaner/SKILL.md, line 67
du -sh ~/.[!.]* 2>/dev/null | sort -rh | head -20 - skills/disk-cleaner/SKILL.md, line 73
scan_roots=(/absolute/root1 /absolute/root2) - skills/disk-cleaner/SKILL.md, line 82
scan_roots=(/absolute/root1 /absolute/root2) - skills/disk-cleaner/SKILL.md, line 91
scan_roots=(/absolute/root1 /absolute/root2) - skills/disk-cleaner/SKILL.md, line 99
du -sh ~/.cache/uv ~/.cache/huggingface ~/.cache/pre-commit ~/.cache/puppeteer ~/.cache/rod ~/.npm/_cacache ~/.pnpm-store ~/.bun ~/.gradle 2>/dev/null | sort -r - skills/disk-cleaner/SKILL.md, line 104
du -d1 -h ~/Library/Caches 2>/dev/null | sort -rh | head -15 - skills/disk-cleaner/SKILL.md, line 109
du -d1 -h ~/Library/Application\ Support/ 2>/dev/null | sort -rh | head -10 - skills/disk-cleaner/SKILL.md, line 114
du -sh ~/.Trash/ 2>/dev/null; echo "---"; find ~/Downloads -maxdepth 1 \( -name "*.dmg" -o -name "*.pkg" -o -name "*.app" -o -name "*.zip" \) -exec ls -lhS {} \ - skills/disk-cleaner/SKILL.md, line 120
scan_roots=(/absolute/root1 /absolute/root2) - skills/disk-cleaner/SKILL.md, line 128
docker system df 2>/dev/null || true - skills/disk-cleaner/SKILL.md, line 182
rm -rf /Users/xxx/.cache/uv/cache /Users/xxx/.cache/uv/sdists-v9 - skills/disk-cleaner/SKILL.md, line 195
rm -rf /Users/xxx/Library/Caches/ms-playwright - skills/disk-cleaner/SKILL.md, line 207
docker system prune -af --volumes - skills/disk-cleaner/SKILL.md, line 213
df -h /
Changes files outside its own folder
The author does not mention this.
Found in 7 places.
Show 4 more
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'disk-cleaner' ] || [ -L ~/.agents/skills/'disk-cleaner' ]; then echo 'A skill folder named disk-cleaner already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/majiayu000/spellbook' "$d" && git -C "$d" checkout --quiet '238e07625aeca5bcf0d6f7cb3e2d07f94c717194' -- 'skills/disk-cleaner' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/disk-cleaner' ~/.agents/skills/'disk-cleaner' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'disk-cleaner' ~/.claude/skills/'disk-cleaner' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for majiayu000/spellbook shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/majiayu000/spellbook/)
Score history
| Date | Version | Score |
|---|
| 2026-11-07 | 238e076 | 100 |