Skill · em Marketing e negócio

mac-storage-cleaner

Safely reclaim disk space on a Mac — the trustworthy, transparent, reversible alternative to CleanMyMac and similar tools. Use whenever the user says their Mac disk or storage is full or nearly full, gets a "startup disk almost full" / low-storage warning, asks to free up space, clean/clear caches,…

Procedência

Antes de instalar

7 arquivos · 38,3 KB · inclui 5 scripts que executam: scripts/clean-safe.sh, scripts/find-extras.sh, scripts/lib.sh, scripts/survey.sh, scripts/trash-items.sh

Instalar na sua CLI

O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.

Claude Code

Neste projeto: instala em .claude/skills/mac-storage-cleaner/.

d=".claude/skills/mac-storage-cleaner"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/productivity/mac-storage-cleaner"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/cache-catalog.md" "$u/references/cache-catalog.md" \
  -o "$d/scripts/clean-safe.sh" "$u/scripts/clean-safe.sh" \
  -o "$d/scripts/find-extras.sh" "$u/scripts/find-extras.sh" \
  -o "$d/scripts/lib.sh" "$u/scripts/lib.sh" \
  -o "$d/scripts/survey.sh" "$u/scripts/survey.sh" \
  -o "$d/scripts/trash-items.sh" "$u/scripts/trash-items.sh" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.claude/skills/mac-storage-cleaner/.

d="$HOME/.claude/skills/mac-storage-cleaner"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/productivity/mac-storage-cleaner"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/cache-catalog.md" "$u/references/cache-catalog.md" \
  -o "$d/scripts/clean-safe.sh" "$u/scripts/clean-safe.sh" \
  -o "$d/scripts/find-extras.sh" "$u/scripts/find-extras.sh" \
  -o "$d/scripts/lib.sh" "$u/scripts/lib.sh" \
  -o "$d/scripts/survey.sh" "$u/scripts/survey.sh" \
  -o "$d/scripts/trash-items.sh" "$u/scripts/trash-items.sh" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Codex

Neste projeto: instala em .agents/skills/mac-storage-cleaner/.

d=".agents/skills/mac-storage-cleaner"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/productivity/mac-storage-cleaner"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/cache-catalog.md" "$u/references/cache-catalog.md" \
  -o "$d/scripts/clean-safe.sh" "$u/scripts/clean-safe.sh" \
  -o "$d/scripts/find-extras.sh" "$u/scripts/find-extras.sh" \
  -o "$d/scripts/lib.sh" "$u/scripts/lib.sh" \
  -o "$d/scripts/survey.sh" "$u/scripts/survey.sh" \
  -o "$d/scripts/trash-items.sh" "$u/scripts/trash-items.sh" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.agents/skills/mac-storage-cleaner/.

d="$HOME/.agents/skills/mac-storage-cleaner"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/productivity/mac-storage-cleaner"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/cache-catalog.md" "$u/references/cache-catalog.md" \
  -o "$d/scripts/clean-safe.sh" "$u/scripts/clean-safe.sh" \
  -o "$d/scripts/find-extras.sh" "$u/scripts/find-extras.sh" \
  -o "$d/scripts/lib.sh" "$u/scripts/lib.sh" \
  -o "$d/scripts/survey.sh" "$u/scripts/survey.sh" \
  -o "$d/scripts/trash-items.sh" "$u/scripts/trash-items.sh" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Antigravity

Neste projeto: instala em .agents/skills/mac-storage-cleaner/.

d=".agents/skills/mac-storage-cleaner"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/productivity/mac-storage-cleaner"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/cache-catalog.md" "$u/references/cache-catalog.md" \
  -o "$d/scripts/clean-safe.sh" "$u/scripts/clean-safe.sh" \
  -o "$d/scripts/find-extras.sh" "$u/scripts/find-extras.sh" \
  -o "$d/scripts/lib.sh" "$u/scripts/lib.sh" \
  -o "$d/scripts/survey.sh" "$u/scripts/survey.sh" \
  -o "$d/scripts/trash-items.sh" "$u/scripts/trash-items.sh" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.gemini/antigravity-cli/skills/mac-storage-cleaner/.

d="$HOME/.gemini/antigravity-cli/skills/mac-storage-cleaner"
u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/productivity/mac-storage-cleaner"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/cache-catalog.md" "$u/references/cache-catalog.md" \
  -o "$d/scripts/clean-safe.sh" "$u/scripts/clean-safe.sh" \
  -o "$d/scripts/find-extras.sh" "$u/scripts/find-extras.sh" \
  -o "$d/scripts/lib.sh" "$u/scripts/lib.sh" \
  -o "$d/scripts/survey.sh" "$u/scripts/survey.sh" \
  -o "$d/scripts/trash-items.sh" "$u/scripts/trash-items.sh" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Peça ao Rook

Já usa o Rook Labs? Cole no chat do Rook: instale a skill https://rooklabs.sh/marketplace/cct.mac-storage-cleaner

Prévia do SKILL.md

---
name: mac-storage-cleaner
description: Safely reclaim disk space on a Mac — the trustworthy, transparent, reversible alternative to CleanMyMac and similar tools. Use whenever the user says their Mac disk or storage is full or nearly full, gets a "startup disk almost full" / low-storage warning, asks to free up space, clean/clear caches, remove …
---

# Mac Storage Cleaner

Free disk space the way a careful engineer would, and earn the trust one-click
cleaners lose: **measure first, delete only what provably regenerates, make
anything riskier reversible, ask before anything expensive, log every action,
and report honestly.** The differentiator over CleanMyMac-style tools is
judgment and transparency — the user sees what will go and why, and can undo it.

Scripts live in `scripts/`; the full tiered inventory, exact reclaim commands,
and gotchas are in `references/cache-catalog.md`. Read the catalog whenever you
hit something a script didn't classify or you need the precise command.

## Core principles

- **Safe tier → delete outright** (space back immediately). These are pure
  caches; the only cost is a slower next build/install.
- **Everything else → Trash, not `rm`.** Ask-tier items, app leftovers, big
  files — move them to the Trash with `trash-items.sh` so the user can restore
  them. Reversibility is the whole point; never hard-delete a user's data.
- **When unsure, demote a tier.** A slower rebuild is trivial; deleting a
  license, an unpushable Xcode archive, or someone's only local backup is not.
- **Every destructive run is logged** to `~/Library/Logs/mac-storage-cleaner/operations.log`.

## Workflow

**Locating the scripts.** The commands below resolve `$D` to this skill's own
directory so they work whether the skill was installed as a plugin
(`$CLAUDE_PLUGIN_ROOT` is set) or as a standalone skill (`~/.claude/skills/…`).
Shell state doesn't persist between commands, so each block re-resolves `$D`.

### 1. Survey — caches (always first, read-only)

```bash
D="${CLAUDE_PLUGIN_ROOT:+$CLAUDE_PLUGIN_ROOT/skills/mac-storage-cleaner}"; D="${D:-$HOME/.claude/skills/mac-storage-cleaner}"
bash "$D/scripts/survey.sh"
…

Ver todo o marketplace