Storage Cleanup Skill: a free prompt to build an AI skill that frees up space safely

From the video How to Free Up Disk Space With AI (Mac & Windows)

A free prompt for Claude or ChatGPT that writes a storage cleanup skill for your own computer: a read-only scan, three groups (can be made again, needs a check, protected), a plan you approve, and a check that the free space really changed.

Create this skill with the prompt /clean-storage

You are a careful IT helper who writes cleanup skills: reusable instructions an AI assistant with access to my files follows to free up disk space safely. The rule above all others: a full disk is not the real problem, not knowing what is safe to delete is. Nothing is ever deleted before I approve a plan. Be direct and specific, and when something I tell you is fine, say so in one line.

Work through the five steps below in order. After each step, stop and wait for my answer.

STEP 1 - MY SETUP
- Read what I wrote under MY COMPUTER. Ask me anything you still need: my system and its version, the apps I spend my day in, where I keep my work, what I back up and where.
- Ask what must never be touched, in my own words.

STEP 2 - WHERE MY SPACE GOES
- List where space usually piles up on a setup like mine, by type: caches and build files my tools recreate, old versions and installers, simulators or virtual machines, downloads, media caches and proxies, old exports, duplicates, backups.
- For each: where it usually lives on my system, whether it can be made again, and what it costs if it is (a slower build, a re-download, a re-render).
- Say plainly that the biggest folder is not always the one to delete.

STEP 3 - WRITE THE SKILL
Write the skill as one plain document I can save and give to an AI assistant. It must say:
- Scan first, read-only. Measure free space, then the folders from step 2. Change nothing during the scan.
- Sort everything found into three groups:
  1. Can be made again - safe to delete, with what that costs.
  2. Needs a closer look - check before deleting: is it in use right now, does a project or app still rely on it, is it the only copy.
  3. Protected - never deleted: my originals and project files, keys and passwords, settings, anything I named in step 1, and anything that cannot be made again.
- Anything the assistant cannot explain goes in no group. It says so and leaves it alone.
- Before any delete, show a plan: each folder, its size, its group, what goes, what stays, and how much space I should get back. I can keep a folder, ask for a simpler explanation, ask it to check another folder, or stop.
- Delete only what I approved, nothing more.
- After the cleanup: confirm the folders are really gone, and compare the free space before and after. Report that difference as the result; a folder's size is only an estimate of what comes back. If it cannot check what really happened, it must say so instead of reporting success.
- Look for the cause: what keeps growing back, and the setting behind it (for example a cache saved inside a project instead of its normal place). Suggest the fix, and change nothing without asking.
- Never send my file list or file contents anywhere outside my computer.

STEP 4 - A DRY RUN
- Walk me through running the scan on my computer, read-only, and fill in the plan from what it finds.
- Point out every place where you were unsure, and add a rule to the skill for it.

STEP 5 - KEEP IT USEFUL
- Suggest how often to run it for a setup like mine, and what to watch between runs.
- Tell me honestly what the skill cannot do: it will not stop the disk from filling up, it gives me a clear way to check and a better decision next time.

SAVE THE SKILL
Call the skill clean-storage, so next time I only have to type /clean-storage. After the dry run, if you can create files, save it where your app keeps its skills and tell me where that is. If you cannot, give me the finished SKILL.md so I can add it myself.

MY COMPUTER
System: [e.g. MacBook, macOS / Windows laptop, Windows 11]
My main apps: [e.g. Xcode, Android Studio, Premiere Pro, Lightroom]
My work: [WHAT YOU DO ON THIS COMPUTER]
Never delete: [FOLDERS OR FILES THAT MUST STAY]

How to use it

  1. Press Copy prompt.
  2. Paste it into Claude, ChatGPT or any AI chat.
  3. Fill in the lines under MY COMPUTER and send.
  4. Answer its questions. It writes a cleanup skill for your setup, then tests it with you.

The skill it writes is a set of instructions you give an AI assistant that can see your files, like Claude Code. A normal chat cannot see your disk, but you can still follow the skill by hand: it tells you what to check, in what order, and what never to touch.

Why I made it

You want to export a video or install an update, and your computer says there is not enough storage. You delete a few downloads, empty the trash, and a few weeks later the warning is back. The worst part is not the full disk. It is not knowing what is safe to delete.

I am a developer, so my Mac fills up with build files, old simulators and caches. The biggest folder is not always the one to delete: an old Xcode archive can be an app I released. So I built an AI skill that scans first, explains what it finds, and shows me a plan before anything is deleted. My disk was 99% full before the last cleanup with it. This prompt writes the same kind of skill for your computer and the work you do.

What the skill does

1. It scans first, and only looks

It checks how much space is free, then where it goes: your work folders, your apps' caches, build files, downloads, old exports. Nothing is changed during the scan.

2. It sorts what it finds into three groups

What can be made again (caches and build files your tools recreate - free to delete, but the next build or export is slower). What needs a closer look first (is it still in use, is a project still relying on it). And what is protected: your originals, your projects, your keys and settings, anything you cannot make again.

3. It shows you a plan

Every folder, its size, what goes, what stays, and how much space you should get back. You can keep a folder, ask for a simpler explanation, check another folder, or stop. Nothing is deleted until you approve the plan.

4. It checks the result

After the cleanup it confirms the folders are really gone and compares the free space before and after. That difference is the real result; a folder's size is only a guess of what you get back. If it cannot check, it says so instead of reporting success.

5. It looks for the cause

Cleaning once helps, but the space comes back. In one of my projects a build cache had been saved inside the project instead of its normal place and grew back to 21 GB after every build. Deleting it was a symptom fix; the setting behind it was the cause. The skill looks for what keeps growing and tells you why.

What you get back

A list of where space usually goes on a setup like yours, a ready-to-use cleanup skill with its read-only scan, its three groups and its protected list, the format of the plan it will show you, and a dry run on your own computer before you trust it with a delete.

Questions

Is it safe to let AI clean my storage?

Only with rules. The skill this prompt writes never deletes anything before you approve a plan, leaves alone anything it cannot explain, and protects your originals and projects. Keep a backup of what matters anyway, and give the AI access only to the folders it needs.

Does it work on Windows?

Yes. The idea is the same; the folders and tools are different. Tell the prompt your system and it writes the skill for it.

Do I need to be a developer?

No. You need to tell the AI about your computer and how you use it. A video editor's disk fills with render caches, proxies and exports; a photographer's with raw files and backups. The prompt asks, and builds the skill around your work.

Does it work with ChatGPT and Gemini, or only Claude?

Writing the skill works in any AI chat. Running it needs an assistant that can read your folders; I use Claude Code.

The video

How to Free Up Disk Space With AI (Mac & Windows)