@tank/macos-cleanup

Analyze macOS disk usage and remove large files and caches.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps users recover significant amounts of disk space on their macOS systems by identifying and safely removing unnecessary files like caches, old logs, and developer artifacts.

Core Features & Use Cases

  • Disk Space Analysis: Scans your Mac to identify what's consuming the most space, categorizing items by risk.
  • Targeted Cleanup: Safely removes caches, logs, Xcode data, Docker images, stale dependencies, and more.
  • Risk-Aware Deletion: Prioritizes safe-to-delete items and requires confirmation for potentially impactful removals.
  • Use Case: Your Mac is running out of storage. Use this Skill to analyze your disk, identify large space hogs like Xcode DerivedData and Docker images, and then safely clean them up to free up gigabytes of space.

Quick Start

Run the disk cleanup analysis script to see what can be removed.

Frequently Asked Questions about @tank/macos-cleanup

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

FAQPage Schema
How do I free up disk space on macOS by removing Xcode DerivedData and Docker images?

To free up disk space on macOS, this Skill automates the identification and safe removal of large developer artifacts like Xcode DerivedData and Docker images. It analyzes your disk to categorize items by risk before deleting them.

Is it safe to delete Homebrew caches and stale node_modules to reclaim Mac disk space?

Yes, deleting Homebrew caches and stale node_modules to reclaim Mac disk space is safe. This Skill employs a risk-aware deletion approach, requiring confirmation for potentially impactful removals to ensure system stability.

What's the best way to analyze and clean up general system caches and logs on a Mac?

The best way to clean up general system caches and logs on a Mac is using an automated disk space analysis tool. This Skill scans your system to target and safely remove these unnecessary files alongside developer artifacts.

Does this macOS disk cleanup tool require manual confirmation before deleting large files?

Yes, this macOS disk cleanup tool requires manual confirmation before deleting large files. It prioritizes safe-to-delete items but explicitly asks for user confirmation when handling potentially impactful removals.

When should I use an automated script to clear Docker images and developer caches on macOS?

You should use an automated script to clear Docker images and developer caches on macOS when your system is running out of storage. It helps recover significant disk space by safely targeting unnecessary build artifacts and logs.