mac-storage-cleaner
Was er macht
Dieser Skill findet heraus, was die Festplatte eines Macs füllt, und gibt Speicher vorsichtig frei, mit Transparenz und der Möglichkeit, es rückgängig zu machen. Er ist für Mac-Nutzende gedacht, deren Speicher fast voll ist.
Wann du ihn nutzt
- ✓Wenn dein Mac meldet, dass die Startplatte fast voll oder der Speicher knapp ist.
- ✓Wenn du Caches oder Reste von deinstallierten Apps entfernen willst.
- ✓Wenn du wissen willst, was auf deiner Festplatte am meisten Platz belegt.
Link zum Skill
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/productivity/mac-storage-cleaner/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Die Startplatte meines Macs ist fast voll. Finde heraus, was am meisten Platz braucht, und räume auf, was sicher gelöscht werden kann.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent misst zuerst die Festplattennutzung, löscht nur Cache-Dateien, die sich von selbst neu aufbauen, und verschiebt alles Riskantere in den Papierkorb, damit du es wiederherstellen kannst. Jede zerstörerische Aktion wird protokolliert.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
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 withtrash-items.shso 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)
D="${CLAUDE_PLUGIN_ROOT:+$CLAUDE_PLUGIN_ROOT/skills/mac-storage-cleaner}"; D="${D:-$HOME/.claude/skills/mac-storage-cleaner}"
bash "$D/scripts/survey.sh"
Prints free space and sizes every cache that exists on this machine, grouped safe / ask / never / app-data. Never skip it — locations and sizes differ on every Mac. Note current free space for the before/after report.
2. Clear the safe tier (no per-item permission needed)
Tell the user briefly what the safe tier removes and roughly how much it frees, then:
D="${CLAUDE_PLUGIN_ROOT:+$CLAUDE_PLUGIN_ROOT/skills/mac-storage-cleaner}"; D="${D:-$HOME/.claude/skills/mac-storage-cleaner}"
bash "$D/scripts/clean-safe.sh"
Removes only the vetted safe allowlist (nothing else — the survey's "other large
caches" list is for the user to review, not for auto-deletion), handles read-only
files, skips anything macOS protects (reporting rather than failing), runs
brew cleanup -s --prune=all and removes unavailable simulators, logs each
deletion, and prints what it reclaimed. If the user only wanted specific items,
delete those directly instead.
Browser & Electron app caches (Chrome/Arc/Slack/VS Code/…) are safe but live
inside app-data folders — clear only the Cache/Code Cache/GPUCache
subfolders the survey lists, ideally with the app quit, and never the whole
app folder. Exact paths: references/cache-catalog.md.
3. Surface the "ask" tier — recommend, don't delete
Big but not free caches (Docker images, ML models, simulator devices, Xcode Archives, module stores). List each with size + a specific recommendation; let the user choose. Use the tool-native command, and prefer Trash for file deletions. Key ones (full detail in the catalog):
- Docker —
docker system prune -a, neverrmthe VM disk. - ML models (HuggingFace/Ollama) — often duplicated variants; offer to remove unused ones.
- Simulators — only
xcrun simctl delete unavailableis safe; deleting active devices wipes state. - Xcode Archives — warn: holds dSYMs for crash symbolication and shippable builds.
4. Go beyond caches — the space the cleaners miss (read-only scan)
D="${CLAUDE_PLUGIN_ROOT:+$CLAUDE_PLUGIN_ROOT/skills/mac-storage-cleaner}"; D="${D:-$HOME/.claude/skills/mac-storage-cleaner}"
bash "$D/scripts/find-extras.sh"
Surfaces the real hogs a cache sweep ignores: leftover data from uninstalled apps, big files (>500MB), stale installers (.dmg/.pkg), and old Downloads. Everything here is ask-tier — present candidates, let the user pick, then remove reversibly:
D="${CLAUDE_PLUGIN_ROOT:+$CLAUDE_PLUGIN_ROOT/skills/mac-storage-cleaner}"; D="${D:-$HOME/.claude/skills/mac-storage-cleaner}"
bash "$D/scripts/trash-items.sh" "/path/one" "/path/two"
**If trashing reports "could NOT trash (permi
Häufige Fragen
Löscht er meine persönlichen Dateien?
Nein. Alles, was über reine Caches hinausgeht, landet im Papierkorb statt endgültig gelöscht zu werden, und der Agent fragt vor kostspieligen Aktionen.
Wo wird das Protokoll gespeichert?
In einem Logs-Ordner des Skills im Library-Ordner, mit jeder ausgeführten Aktion.
Worin unterscheidet er sich von Ein-Klick-Reinigern?
Der Skill ist transparent und umkehrbar gebaut. Er zeigt dir, was entfernt wird und warum.
Details
Originalbeschreibung des Autors
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 junk, delete leftover files from apps they uninstalled, or find what's eating their disk — in any language (e.g. English "my mac is out of space", "free up disk", "clear caches", "what's taking up my storage"; Georgian "ქეში გაასუფთავე", "მეხსიერება გადამევსო", "ადგილი აღარ მაქვს"). Surveys u
Beliebtheit
- GitHub-Sterne
- 33k
- Platz im Ranking
- #8887
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
owasp-security
33kBringt deinem Agenten OWASP-Sicherheitsrichtlinien für Web-Apps, APIs, mobile Apps, Container und KI-Agenten bei, damit er typische Schwachstellen erkennt und Korrekturen vorschlägt.
agent-management
33kLässt deinen Agenten KI-Agenten mit der AI-Maestro-Kommandozeile erstellen, auflisten, pausieren, aufwecken, umbenennen und löschen und so ihren Lebenszyklus verwalten.
agent-messaging
33kLässt deinen Agenten signierte Nachrichten zwischen KI-Agenten senden, empfangen und beantworten, über das Agent Messaging Protocol, überwiegend auf deinem eigenen Rechner.
docs-search
33kLässt deinen Agenten automatisch erzeugte Code-Dokumentation nach Funktionssignaturen, Klassendefinitionen und Kommentaren durchsuchen und so die echte API prüfen, bevor er Code ändert.
Ähnliche Skills
blucli
394kHilft deinem Agenten, Bluesound- und NAD-Lautsprecher über den Befehl blu zu finden, abzuspielen, zu pausieren, zu gruppieren und in der Lautstärke anzupassen.
camsnap
394kHilft deinem Agenten, Schnappschüsse, kurze Clips oder Bewegungsereignisse von Netzwerkkameras und lokalen Webcams aufzunehmen, die du eingerichtet hast.
eightctl
394kHilft deinem Agenten, ein Eight-Sleep-Pod zu prüfen und zu steuern, einschließlich Temperatur, Wecker und Schlafplänen.