Home / Prompts / Troubleshooting

Free up disk space safely

Clear caches and leftovers without touching your documents.

TroubleshootingStep by step

The prompt

Find safe ways to free disk space: caches, temporary files, old installers, package manager caches and trash. Show how much each would free and do nothing until I pick.

What the AI will do

  1. Checks caches, temporary files, old installers, package manager caches and the trash.
  2. Shows how much space each would free.
  3. Does nothing until you pick what to clear.

On Windows, Mac and Linux

Windows: temp folder and Recycle Bin; installers are .exe or .msi. Mac: ~/Library/Caches and Trash. Linux: ~/.cache and Trash; clearing system package caches (apt, dnf) needs sudo.

How to use it

  1. Make sure Shellway is connected in ChatGPT, Claude or Cursor.
  2. Paste the prompt and change the folder names or paths to match your computer.
  3. Review the plan your AI shows before you confirm any changes.

Example reply

An illustration of a typical answer. Your AI will show the real files, names and numbers from your computer.

You could free about 21.6 GB:
  Temp files            8.3 GB
  Chrome/Edge caches    4.1 GB
  Old installers        3.9 GB (Downloads)
  npm and pip caches    3.2 GB
  Recycle Bin           2.1 GB
Your documents are not included. Pick the ones to clear.

Good to know

Your AI shows its plan before it changes anything, and your rules on the computer still apply: read-only mode, allowed folders and blocked commands, with a backup before each file edit (safety rules). Works in ChatGPT, Claude, Claude Code and Cursor; the free plan gives 50 actions a day (pricing).

Related prompts