TopRank Skills

Home / Claw Skills / 机器人 / mac-cleaner
Official OpenClaw rules 40%

mac-cleaner

Analyze and safely clean disk space on macOS. Use when the user asks about Mac storage, "System Data" taking too much space, disk cleanup, freeing up space, or managing storage on macOS. Covers caches, iOS simulators, Xcode data, trash, logs, and browser caches. Safe for everyday Mac users.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 mac-cleaner 技能。 若已安装,则直接安装 mac-cleaner 技能。

Overview

Skill Key
apprithm/mac-cleaner
Author
apprithm
Source Repo
openclaw/skills
Version
-
Source Path
skills/apprithm/mac-cleaner
Latest Commit SHA
73050a9ede12b25f641bf0fe83aa54aa62b7e9b4

Extracted Content

SKILL.md excerpt

# Mac Cleaner

Safely analyze and reclaim disk space on macOS. Designed for everyday Mac users — no technical knowledge required.

## When to use

- "My Mac says System Data is taking too much space"
- "How do I free up disk space?"
- "Why is my disk full?"
- "Clean up my Mac storage"
- "What's taking up space on my Mac?"

## What this skill covers

| Category | Safe to Clean | Notes |
|----------|---------------|-------|
| User Caches | ✅ Yes | App temporary files |
| iOS Simulators | ✅ Yes | Unused simulator devices |
| Xcode Derived Data | ✅ Yes | Build artifacts (rebuildable) |
| Browser Caches | ✅ Yes | Chrome, Safari, Firefox |
| System Logs | ✅ Old only | 7+ days old, requires sudo |
| Trash | ✅ Yes | Empty trash |
| iOS Backups | ⚠️ Review | Check if backups are needed |
| Parallels VMs | ⚠️ Review | Only if Windows not needed |
| Time Machine Snapshots | ⚠️ Review | Can delete old snapshots |

## NEVER delete

- `/System` folder contents
- `/Library/Extensions` or kernel extensions
- `/private/var/db` (system databases)
- Active iOS backups you need
- Parallels VMs you use

## Quick start

### Analyze (safe, read-only)

```bash
bash scripts/mac-cleanup.sh analyze
```

Shows disk usage and identifies large items without making changes.

### Clean (with confirmation)

```bash
bash scripts/mac-cleanup.sh clean
```

Performs safe cleanup after user confirmation.

## What gets cleaned

1. **User Caches** (`~/Library/Caches/*`)
   - App temporary files, thumbnails, downloaded content
   - Safe: apps rebuild these automatically

2. **Xcode Derived Data** (`~/Library/Developer/Xcode/DerivedData/*`)
   - Build artifacts and intermediate files
   - Safe: rebuilds on next compile

3. **iOS Simulators** (unavailable devices only)
   - Old iOS simulator images
   - Safe: easily re-downloaded via Xcode

4. **Browser Caches**
   - Chrome, Safari, Firefox cache files
   - Safe: websites reload, login sessions preserved

5. **Old System Logs** (7+ days)
   - Requires...

Related Claw Skills