Auto Cleaning Disk
/install auto-cleaning-disk
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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install auto-cleaning-disk - 安装完成后,直接呼叫该 Skill 的名称或使用
/auto-cleaning-disk触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Auto Cleaning Disk 是什么?
Automatically clean disk space by removing temp files, browser cache, recycle bin/trash, and log files — safely, without deleting any important files. Use th... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 282 次。
如何安装 Auto Cleaning Disk?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install auto-cleaning-disk」即可一键安装,无需额外配置。
Auto Cleaning Disk 是免费的吗?
是的,Auto Cleaning Disk 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Auto Cleaning Disk 支持哪些平台?
Auto Cleaning Disk 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Auto Cleaning Disk?
由 ahqazi-dev(@ahqazi-dev)开发并维护,当前版本 v1.0.0。