🧹
AutomationShell

Mac Disk Cleanup

by himynameisben

Mac Disk Cleanup is an Automation skill for Claude Code, published by himynameisben in macos-disk-cleanup.

31 stars0 forkson himynameisben/macos-disk-cleanupAdded 2026/08/11Repository updated 2026/08/06
agent-skillsclaude-codeclaude-skillcodexdisk-cleanupmacos
Install in seconds
Install Mac Disk Cleanup
Copy Mac Disk Cleanup into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/himynameisben/macos-disk-cleanup ~/.claude/skills/macos-disk-cleanup

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/himynameisben/macos-disk-cleanup.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
SKILL.md in himynameisben/macos-disk-cleanup
Installs to
~/.claude/skills/macos-disk-cleanup
Collection
The only skill cataloged from this repository
Category
Automation1523 skills

What Mac Disk Cleanup does

Diagnoses and cleans macOS disk space, focusing on opaque 'System Data' and developer tool residues like Xcode caches, Docker VM disks, and orphan containers. Use when disk is full, System Data is large, or after uninstalling apps to remove leftovers.

Mac Disk Cleanup is cataloged under Automation on DirSkills. Mac Disk Cleanup comes from a repository tagged agent-skills, claude-code, claude-skill, codex and disk-cleanup.

Documentation

README

macOS 磁碟清理 Skill

給 AI coding agent 用的 skill,專門處理 macOS 上那塊 Finder 不肯告訴你內容的「系統資料 / System Data」。

適合任何 Mac 使用者,開發者受益最明顯——實測從 25 GB 清回 132 GB,其中 45 GB 來自 ~/.cache/uv~/.npm~/.gradle 這些完全不在 ~/Library 底下、一般清理工具掃不到的位置。

[!WARNING] 這個 skill 會刪除檔案,而執行判斷的是 AI。

AI 有可能誤判、有可能把重要資料當成快取。Skill 內建三級安全分類與確認機制來降低風險,但最後把關的人是你

  • 動手前先確認有備份(Time Machine 或任何你信得過的方案)
  • 逐項讀過 AI 提出的刪除清單再確認,不要無腦按 yes
  • 對任何你不認得的路徑,直接叫它先列出內容再說
  • 尤其注意 DocumentsGroup Containers 這類位置——那裡放的通常是你唯一的副本

作者與貢獻者不對任何資料損失負責。使用前請自行評估。


為什麼該留空間,留多少

「還有 20 GB 可用」在 macOS 上不等於沒事。 系統本身就需要相當大的活動空間:

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Mac Disk Cleanup

  • How does Mac Disk Cleanup compare to other Automation skills?

    Mac Disk Cleanup ranks #1457 by stars among the 1523 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Mac Disk Cleanup against them. Open each page to compare what they document and how they install.