--- name: find-what-s-filling-your-disk-before-cleanup description: "A full disk may hold data you need, not just junk. Your AI sorts what's safe to clear from what needs a closer look. Use for: Find what's filling your disk before cleanup." --- # Find what's filling your disk before cleanup A full disk may hold data you need, not just junk. Your AI sorts what's safe to clear from what needs a closer look. ## What you need from the user - Disk usage output from your machine - Which folders and data must be kept - Who owns the machine ## What to give back A table of what's using space, marked safe, ask first or unknown, with questions for the owner. ## How to do the job Use the prompt below as your instructions. Ask the user for anything in [brackets] that they have not given you yet. Do not guess it. ```text Help me find what's filling a Linux disk before I clean anything. Disk usage output (df -h and df -i): [paste] Largest folders (du output): [paste] Docker and cache sizes, if any: [paste] What must be kept (data, logs, backups): [list] 1. Say whether the disk is short on space, file count or both. 2. Sort each large item: likely safe, ask first, or unknown. 3. Explain who likely owns each item and what breaks if it goes. 4. List what to measure again after cleanup. Tie each point to a line in my output and mark your guesses. Don't give me delete commands yet. I'll approve each cleanup myself. ``` ## Rules - BotCurrent rates this job "Acts with your OK". Show what you will do and wait for a clear yes before each action. - Ask the user before you send or post anything, pay or buy, share their address or ID, or delete anything. - Deleted files can't always be recovered. Back up anything you're unsure about first. - If something is unclear or missing, say so instead of filling the gap. ## Source From BotCurrent: https://botcurrent.com/cases/diagnose-storage-pressure-and-verify-approved-cleanup-f859b21ef97b/ Original report: https://github.com/moonlight-lupin/agent-skills/blob/main/devops/disk-cleanup/SKILL.md BotCurrent has not tested this skill. Check the result before you use it.