Mac Space Cleaner — Development skill for Claude Code
Safely free up disk space on macOS from Claude Code — scan, review, and delete only what you approve.
How to install Mac Space Cleaner
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open NikOneZ1/mac-space-cleaner and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Mac Space Cleaner does
Safely free up disk space on macOS from Claude Code — scan, review, and delete only what you approve.
Alternatives in Development
- System Cache Cleanup — Clean temporary files and caches to free disk space: $ARGUMENTS 23.4k ★
- Huashu Mac Use — 让任何 agent 操控 Mac 上没有 API 的原生 app,读后台、写不打扰、每步留取证 · Agent Skill for macOS computer use 228 ★
- Applemusic MCP — Apple Music MCP server: playlists, library, catalog, playback and the Up Next queue, on macOS, Windows and Lin 118 ★
README
🧹 mac-space-cleaner
A **safe, interactive** macOS disk-space cleanup skill for [Claude Code](https://claude.com/claude-code).
Your Mac says the disk is full but you "did almost nothing"? This skill finds the space that quietly disappeared — app caches, developer & AI-model caches, Trash, Xcode build data, Docker images, and **leftover data from apps you uninstalled long ago** — and reclaims it. It **scans first, shows you a report, and deletes only what you approve.** Nothing is removed without your say-so.
Built after a real session that recovered **~100 GB** (5 GB → 103 GB free).
Install
In Claude Code:
/plugin marketplace add NikOneZ1/mac-space-cleaner
/plugin install mac-space-cleaner@mac-space-cleaner
Then just ask, or run the command:
/mac-space-cleaner:free-space
…or say *"my Mac is low on space, clean it up"* and Claude will invoke it.
To update later: `/plugin marketplace update mac-space-cleaner`.
What it does
- Scans (read-only) every common space sink on macOS and prints a report grouped by safety.
- Summarizes the biggest wins with sizes.
- Asks which categories you want to clean (multi-select).
- Deletes only the approved groups, using safe per-category recipes.
- Reports before/after free space and what it intentionally left.
Categories it checks
| Category | Examples | Safety |
|---|---|---|
| App caches | ~/Library/Caches, Electron web caches |
♻️ regenerates |
| Developer caches | npm, uv, pip, yarn, pnpm, cargo, gradle, maven, go, bun, CocoaPods, Playwright, Homebrew | ♻️ regenerates |
| Local AI models | Ollama, HuggingFace, Torch, LM Studio | ⬇️ re-downloadable |
| Trash | ~/.Trash |
♻️ |
| Xcode / iOS | DerivedData, DeviceSupport, simulator caches | ♻️ (archives/backups protected) |
| Docker | unused images (never the data disk) | 🔎 review |
| Uninstalled apps | leftover Application Support / Containers / prefs | 🔎 review |
| Projects | stale `node_mo |
Related Skills
Mac Disk Cleanup
Claude Code / Codex skill: safely free up disk space on a Mac, never deletes without your OK
Claude Pc Cleanup
Claude Code skill: scan a macOS machine for reclaimable disk space and clean it up safely, tier by tier, with
MacHelper
Free open-source Mac menu bar app and CLI for Apple Silicon: system monitor, fan control, cache cleaner, disk
Free Disk Space
claude code skill that scans your windows pc and frees up disk space, shows whats taking space and only delete
Spaceguard
macOS menu-bar app that watches free disk space and cleans stale dev caches, simulator runtimes and coding-age
Atticus Mac
Fast, free voice assistant for your Mac. No API key: runs on your Claude Pro or Max plan. Remembers you and le
Related Agents
Disk Cleaner
Executa limpeza de disco no Windows 11 com gating de segurança. Sempre dry-run primeiro, exige aprovação granu
Matcha Cleaner
Cleanup. Removes temp, debug, unused code. Confirm before delete. May edit after confirmation.
Confluence Page
Execute Confluence page CRUD + hierarchy + version ops via the confluence-as CLI wrapper. Use for: ''create pa