Free disk space

From OutThisLife/brooklyn-skills · View interactive version

Free disk space is an AI agent skill from the GitHub repository OutThisLife/brooklyn-skills. Safely reclaim disk space on macOS without touching personal or agent data. Use when the user asks to free disk space, clear caches, or investigate a nearly full Mac.

How to use this skill

Skill file

Free Disk Space

Investigate first. Delete only regenerable data the user has authorized.

Safety

inside — its application-support dir, caches, globalStorage, databases,

extensions, or logs — unless the user explicitly names it as a cleanup target.

On macOS that lives under ~/Library/Application Support/<app>/ (e.g.

.../Cursor/).

storage, IndexedDB, bookmarks, passwords, or user-created files.

volumes, or virtual disks.

Workflow

  1. Record current usage from the macOS data volume:

```bash

df -h /System/Volumes/Data

```

  1. Find the largest consumers before deleting anything. Use du, package

manager diagnostics, and application-specific storage commands. Do not

descend into protected agent/IDE data.

  1. Explain what is large, whether it is regenerable, and the expected impact.
  2. Clean only safe targets:
  1. For sparse files such as Docker's virtual disk, report actual disk use from

du, not apparent size from ls.

  1. Record usage again and report space freed.

Do not represent the sealed / system volume as the Mac's usable data-volume

capacity.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.