mac-cleanup

Remove unnecessary macOS files and caches through interactive prompts.

1|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/sorafujitani/claudedot --skill mac-cleanup-sorafujitani
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mac-cleanup
Source: https://github.com/sorafujitani/claudedot/tree/main/skills/mac-cleanup
Command: npx skills add https://github.com/sorafujitani/claudedot --skill mac-cleanup-sorafujitani

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

macOS unnecessary files and caches are removed to optimize storage. Interactive selection ensures safe cleanup of Docker caches, development caches, application caches, downloads, and system caches.

Core Features & Use Cases

  • Docker cleanup: Remove containers, images, and volumes to free space.
  • Development caches: Clear npm, cargo, and Go caches to reclaim disk.
  • Application caches: Clean ~/Library/Caches to recover space.
  • Downloads cleanup: Remove installer files such as .dmg, .zip, and .pkg.
  • System caches: Flush DNS caches, logs, and simulator data.
  • Docker reset: Optional, destructive reset of Docker Desktop data (requires explicit confirmation).

Quick Start

Launch the script and follow the interactive prompts to safely remove selected caches and downloads.

Frequently Asked Questions about mac-cleanup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely clear caches and reclaim storage on macOS?

To safely clear caches and reclaim macOS storage, use an interactive cleanup script that prompts you to select specific targets like development caches, application caches, and downloads before removing anything.

What is the best way to clean up Docker caches and images on a Mac?

The best way to clean up Docker caches on a Mac is using an interactive cleanup workflow that removes containers, images, and volumes, with an optional destructive Docker Desktop reset requiring explicit confirmation.

Can I selectively delete development caches like npm and cargo without breaking my projects?

Yes, you can selectively delete development caches like npm, cargo, and Go caches through interactive prompts that ensure only chosen caches are cleared, allowing you to reclaim disk space safely.

Does macOS cache cleanup remove files from my Downloads folder automatically?

macOS cache cleanup does not automatically remove files; it interactively prompts you to select and remove installer files such as .dmg, .zip, and .pkg from your Downloads folder to recover space.

How do I flush DNS caches and clear system logs on macOS?

To flush DNS caches and clear system logs on macOS, run an interactive cleanup tool that targets system caches including simulator data, safely removing them to optimize your storage after prompting.