Disk Cleaner is an intelligent command-line tool designed to safely analyze disk usage, identify large files, detect duplicates via SHA-256 hashing, and securely clean up application caches.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install disk-sweeper
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install disk-sweeper using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Disk Cleaner (disk-sweeper) is a high-performance system analysis and cleanup utility available via Openclaw Skills. Engineered for developers and power users, this CLI tool runs recursive directory scans to break down storage distribution by file type, size, and age. What makes it unique is its strict safety guardrails: it protects system-critical directories and uses a multi-tiered safety-grading framework to ensure you never delete essential files.
Beyond basic cleanup, the tool stands out in its ability to detect deep application caches, specifically targeting heavy resource hogs like macOS caches, Xcode, Docker, node_modules, and major Chinese productivity tools (WeChat, DingTalk, QQ, Baidu, WPS). It runs entirely offline, ensures zero network exposure, and leverages a smart, multi-pass SHA-256 deduplication algorithm to locate and reclaim space wasted by duplicate files.
Here are common ways to utilize this utility from the directory of Openclaw Skills:
This tool follows a structured five-step execution pipeline when triggered via Openclaw Skills:
scanner.py engine asynchronously scans the target path, automatically bypassing system-protected directories and directories without access permissions.analyzer.py engine processes the files in real time, grouping them by type, size, directory nesting depth, extension, and file age.Get started with Disk Cleaner directly from the registry of Openclaw Skills:
# Install the disk-sweeper skill globally
clawhub install disk-sweeper
# Run a quick, safe scan of your home directory
clawhub run disk-sweeper scan --paths ~/
# Preview cleanable items safely without deleting anything
clawhub run disk-sweeper clean --mode preview
# Safely execute automated cleanup for items marked green (Safe)
clawhub run disk-sweeper clean --mode auto-safe --confirm
The Disk Cleaner skill is structured modularly to decouple filesystem operations, analysis, and rule definitions. Below is the project file architecture and metadata schema used in this entry from Openclaw Skills:
disk-sweeper/
├── SKILL.md # Skill definitions and documentation
├── scripts/
│ ├── scanner.py # Filesystem scanner (streaming + progress)
│ ├── analyzer.py # Space analysis engine
│ ├── duplicates.py # Duplicate file detection (SHA-256)
│ ├── caches.py # App cache recognition
│ ├── safety.py # Safety grading + protection list
│ ├── cleaner.py # Cleanup executor (trash/delete/undo)
│ ├── formatter.py # Report formatting
│ └── progress.py # Progress bar + status output
└── references/
├── protected-paths.json # System path protection definitions
├── cache-patterns.json # Application cache regex and paths
└── file-types.json # Extension-to-category mappings
| Grade | Color Indicator | Rationale / Action |
|---|---|---|
| SAFE | Green | Reconstructable caches (e.g., npm, pip) that can be cleared safely |
| CLEANABLE | Yellow | Unused developer assets (e.g., Xcode DerivedData, Docker images) |
| CAUTION | Orange | App caches containing user data or attachments (e.g., WeChat, QQ) |
| PROTECTED | Red | System directories, core binaries, and OS-critical files (cannot override) |
Explore the advanced engineering built into this skill as part of the Openclaw Skills ecosystem:
/System, /bin, /sbin, /usr/bin, /etc, and /dev.Loading
An executable AI cognitive neuroscience toolkit implementing Stanislas Dehaene's groundbreaking framework on the Global Neuronal Workspace and neural signatures of awareness.

An executable AI toolkit that reframes ADHD from a disorder into a powerful set of traits you can leverage for success in the modern world.

An executable cognitive model and neuroscientific toolkit representing Jeff Hawkins's theories on biological intelligence, the neocortex, and the path to true AGI.

An automated command-line skill that retrieves and structures daily cryptocurrency market insights, macro news, and key indicators without requiring API keys.

An advanced, graph-routed AI assistant designed for secure, auditable, and traceable legal contract analysis and query resolution.

An independent, lightweight watchdog script that monitors daily report cron jobs and triggers instant Feishu alerts upon failure, bypassing platform-level silent failures.








































