Auto Cleaning Disk
Safely clean disk space on any operating system (Windows, Linux, macOS).
Never deletes important files — only junk, cache, temp, and log files.
What This Skill Cleans
| Category |
Examples |
| Temp Files |
%TEMP%, /tmp, system temp folders |
| Browser Cache |
Chrome, Firefox, Edge, Safari cache |
| Recycle Bin / Trash |
Windows Recycle Bin, macOS Trash, Linux Trash |
| Log Files |
Old .log files in system/app folders |
⚠️ NEVER delete: Documents, Downloads, Desktop files, user data, system files,
installed apps, or anything outside designated junk folders.
Mode Selection
Always ask the user FIRST (if not already specified):
- Auto Mode — Clean everything silently, show summary at end
- Confirm Mode — Ask user before each category is cleaned
Step-by-Step Instructions
Step 1: Detect Operating System
Detect the OS using Python:
import platform
os_type = platform.system() # "Windows", "Linux", "Darwin" (Mac)
Step 2: Run the Appropriate Script
Based on OS, refer to the matching reference file:
- Windows → See
windows-cleaner.md
- Linux → See
linux-cleaner.md
- macOS → See
mac-cleaner.md
Step 3: Show Results
After cleaning, always show:
- ✅ How much space was freed (MB/GB)
- 📁 Which categories were cleaned
- ⚠️ Anything skipped and why
Safety Rules (MUST FOLLOW)
- ❌ Never touch System32 or Windows folder
- ❌ Never touch Documents, Pictures, Videos, Downloads
- ❌ Never touch installed software folders
- ✅ Only clean folders explicitly listed in scripts
- ✅ Only delete files older than 1 day
- ✅ If unsure about a file — SKIP it
Usage Examples
User says: "My disk is full"
→ Ask mode preference → Run full clean → Show space freed
User says: "Clear browser cache only"
→ Only clean browser cache → Show result
User says: "Auto clean everything"
→ Run all categories silently → Show summary
1---2name: auto-cleaning-disk3description: Automatically clean disk space by removing temp files, browser cache, recycle bin/trash, and log files — safely, without deleting any important files. Use this skill whenever the user asks to clean their disk, free up space, remove junk files, clear cache, empty trash, or says things like "disk full", "storage is low", "computer is slow", "clean my disk", "remove junk files", or wants to speed up their system. Works on Windows, Linux, and Mac. Always ask user whether to run automatically or with confirmation.4---56# Auto Cleaning Disk78Safely clean disk space on **any operating system** (Windows, Linux, macOS).9Never deletes important files — only junk, cache, temp, and log files.1011---1213## What This Skill Cleans1415| Category | Examples |16|---------------------|-------------------------------------------------|17| Temp Files | `%TEMP%`, `/tmp`, system temp folders |18| Browser Cache | Chrome, Firefox, Edge, Safari cache |19| Recycle Bin / Trash | Windows Recycle Bin, macOS Trash, Linux Trash |20| Log Files | Old `.log` files in system/app folders |2122> ⚠️ **NEVER delete:** Documents, Downloads, Desktop files, user data, system files,23> installed apps, or anything outside designated junk folders.2425---2627## Mode Selection2829Always ask the user FIRST (if not already specified):3031- **Auto Mode** — Clean everything silently, show summary at end32- **Confirm Mode** — Ask user before each category is cleaned3334---3536## Step-by-Step Instructions3738### Step 1: Detect Operating System3940Detect the OS using Python:41```python42import platform43os_type = platform.system() # "Windows", "Linux", "Darwin" (Mac)44```4546### Step 2: Run the Appropriate Script4748Based on OS, refer to the matching reference file:4950- Windows → See `windows-cleaner.md`51- Linux → See `linux-cleaner.md`52- macOS → See `mac-cleaner.md`5354### Step 3: Show Results5556After cleaning, always show:57- ✅ How much space was freed (MB/GB)58- 📁 Which categories were cleaned59- ⚠️ Anything skipped and why6061---6263## Safety Rules (MUST FOLLOW)64651. ❌ Never touch System32 or Windows folder662. ❌ Never touch Documents, Pictures, Videos, Downloads673. ❌ Never touch installed software folders684. ✅ Only clean folders explicitly listed in scripts695. ✅ Only delete files older than 1 day706. ✅ If unsure about a file — SKIP it7172---7374## Usage Examples7576**User says:** "My disk is full"77→ Ask mode preference → Run full clean → Show space freed7879**User says:** "Clear browser cache only"80→ Only clean browser cache → Show result8182**User says:** "Auto clean everything"83→ Run all categories silently → Show summary