Shukur93

Mac Free Space — Data skill for Claude Code

Data community

Claude Code skill: find what's eating your Mac's disk space (incl.

How to install Mac Free Space

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Shukur93/mac-free-space and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Mac Free Space does

Claude Code skill: find what's eating your Mac's disk space (incl. System Data) and free it safely

Alternatives in Data

  • Global Stock Data — US stock market data for AI coding assistants — zero-auth, official sources 1.5k ★
  • AI Data Extractor — Free open-source extractor for AI coding assistant chat histories 544 ★
  • Setup API Keys — Set up free API keys for enhanced travel data (events, restaurants, attractions) 75 ★

README

mac-free-space

A [Claude Code](https://claude.com/claude-code) skill that finds what's eating your Mac's disk space, including the mysterious **"System Data"** category, and frees it **safely**.

![7.6 GB → 148 GB free](docs/result.png)

Why

macOS hides a lot inside "System Data": Time Machine local snapshots, old iOS simulator runtimes, Xcode DerivedData, Gradle caches, Android emulators, app caches and more. The Storage panel in System Settings rarely tells you what's actually there.

This skill teaches Claude Code to measure first, explain what it finds, and only delete what you approve. No "Mac cleaner" apps needed.

How it works

  1. Scan (read-only): scripts/scan.sh builds a ranked report of disk usage and known space hogs. Nothing is deleted.
  2. Explain: Claude tells you what each big item is and whether it's safe to remove.
  3. Ask: nothing is deleted without your OK, item by item.
  4. Clean & re-measure: it uses each tool's own commands where they exist (xcrun simctl, avdmanager, gradle --stop, brew cleanup, tmutil) and shows how much space you got back.

Install

Clone the repo straight into your Claude Code skills folder:

git clone https://github.com/Shukur93/mac-free-space.git ~/.claude/skills/mac-free-space

Update later with:

git -C ~/.claude/skills/mac-free-space pull

Use

In Claude Code, say something like:

  • "My Mac is full, free up space"
  • "What is System Data and how do I clear it?"
  • /mac-free-space

You can also run the scan on its own (it only reads, never deletes):

bash ~/.claude/skills/mac-free-space/scripts/scan.sh

The scan takes a few minutes on a large home folder. For accurate sizes inside `~/Library`, give your terminal **Full Disk Access** (System Settings → Privacy & Security).

What it covers

Area Examples
System Data Time Machine local snapshots, APFS snapshots, purgeable space
iOS / Xcode Simulator runtimes, DerivedDat