← Back to Skills Marketplace
514
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install storage-cleanup
Description
One-command disk cleanup for macOS and Linux — trash, caches, temp files, old kernels, snap revisions, Homebrew, Docker, and Xcode artifacts. Use when user a...
Usage Guidance
This skill appears to be a legitimate disk-cleanup utility, but it performs many destructive operations and needs sudo for system-level cleanup. Before installing or running it: 1) Don't run with --yes initially — always run bash scripts/cleanup.sh --dry-run and inspect the results. 2) Review the full scripts/cleanup.sh file yourself (the provided manifest/content was truncated in the review, so confirm the missing tail of the script before trusting it). 3) Back up important data or test in a disposable VM/container first. 4) Pay attention to where it uses sudo and which paths it deletes (ensure no unexpected empty variables or path expansions). 5) If you lack confidence reading shell scripts, ask a knowledgeable admin to audit the complete script. If you want, provide the full, untruncated cleanup.sh so I can re-evaluate with higher confidence.
Capability Analysis
Type: OpenClaw Skill
Name: storage-cleanup
Version: 1.0.0
The storage-cleanup skill is a legitimate disk maintenance utility for macOS and Linux. The primary script, scripts/cleanup.sh, targets standard system caches (pip, npm, Go, Docker), temporary directories, and package manager artifacts (Homebrew, Apt, Snap) using transparent system commands. It includes safety features such as a --dry-run mode and specific flags to skip sensitive operations like kernel removal. No evidence of data exfiltration, obfuscation, or malicious intent was found.
Capability Assessment
Purpose & Capability
The name, description, SKILL.md and the visible portion of scripts/cleanup.sh align: they scan and remove trash, caches, temp files, package manager caches, journal logs, snap revisions, Homebrew/Xcode artifacts, Docker, etc. The targets the skill touches are consistent with a disk-cleanup utility.
Instruction Scope
SKILL.md instructs users to run the included shell script and documents dry-run and skip flags. The script performs many file-system and package-manager operations (rm -rf, apt clean, brew cleanup, journalctl vacuum, snap remove, sudo find -delete, Docker prunes, etc.). That behavior is in-scope for a cleanup tool, but it's inherently destructive and requires careful review before use. SKILL.md claims 'no dependencies beyond bash and awk' — the script conditionally invokes many external tools (pip, go, brew, apt, snap, docker, journalctl) but checks for their presence; this is reasonable but the claim may be misleading to less-technical users.
Install Mechanism
No install spec — instruction-only with an included script. Nothing is being downloaded or installed by the skill itself, which limits supply-chain risk.
Credentials
No environment variables or external credentials are requested. However, the script invokes sudo for many actions on Linux and runs privileged package-manager and file-deletion commands. Requesting elevated privileges is proportionate to cleaning system-level caches, but it increases risk and requires user caution.
Persistence & Privilege
The skill is not marked always:true and does not request persistent system-wide configuration. It does not declare autonomous-execution restrictions (default behavior), which is expected for skills. There is no evidence it modifies other skills or agent configuration.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install storage-cleanup - After installation, invoke the skill by name or use
/storage-cleanup - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: cross-platform (macOS + Linux) disk cleanup — trash, caches, tmp, old kernels, snap, Homebrew, Xcode, Docker
Metadata
Frequently Asked Questions
What is Storage Cleanup?
One-command disk cleanup for macOS and Linux — trash, caches, temp files, old kernels, snap revisions, Homebrew, Docker, and Xcode artifacts. Use when user a... It is an AI Agent Skill for Claude Code / OpenClaw, with 514 downloads so far.
How do I install Storage Cleanup?
Run "/install storage-cleanup" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Storage Cleanup free?
Yes, Storage Cleanup is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Storage Cleanup support?
Storage Cleanup is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Storage Cleanup?
It is built and maintained by camopel (@camopel); the current version is v1.0.0.
More Skills