← 返回 Skills 市场
514
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install storage-cleanup - 安装完成后,直接呼叫该 Skill 的名称或使用
/storage-cleanup触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: cross-platform (macOS + Linux) disk cleanup — trash, caches, tmp, old kernels, snap, Homebrew, Xcode, Docker
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 514 次。
如何安装 Storage Cleanup?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install storage-cleanup」即可一键安装,无需额外配置。
Storage Cleanup 是免费的吗?
是的,Storage Cleanup 完全免费(开源免费),可自由下载、安装和使用。
Storage Cleanup 支持哪些平台?
Storage Cleanup 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Storage Cleanup?
由 camopel(@camopel)开发并维护,当前版本 v1.0.0。
推荐 Skills