← 返回 Skills 市场
系统清理技能
作者
mickey3721
· GitHub ↗
· v1.0.0
· MIT-0
152
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install system-cleanup
功能描述
定期清理OpenClaw系统中的备份、临时及会话文件,分析磁盘使用并检查系统状态,优化系统性能。
安全使用建议
This skill appears to be what it says — a local cleanup helper for OpenClaw — but please do the following before installing or scheduling it:
- Verify the package.json requirement for the 'openclaw' binary and ensure you actually have that CLI and want it called.
- Review scripts/cleanup.sh line-by-line (especially the remove commands). The script will delete vim swap files in ~/.openclaw without confirmation and example commands in SKILL.md show -delete on /tmp; do not copy-paste destructive find -delete commands without review.
- Run the script in 'dry-run' or listing-only mode first (or run the find commands manually and inspect output) to confirm which files would be removed.
- Back up important data before running scheduled deletions and avoid running the script as root; schedule it under the intended user's account.
- Consider adjusting the script to skip files in use (or add extra confirmations) and update registry metadata so declared required binaries match the registry summary.
功能分析
Type: OpenClaw Skill
Name: system-cleanup
Version: 1.0.0
The skill bundle provides legitimate system maintenance and cleanup utilities for the OpenClaw environment, targeting temporary and backup files in ~/.openclaw and /tmp. The scripts/cleanup.sh script includes user confirmation prompts and safety checks, and no evidence of data exfiltration, unauthorized execution, or malicious intent was found.
能力评估
Purpose & Capability
Overall coherent: the skill targets OpenClaw-specific paths (~/.openclaw, agents sessions) and checks the openclaw gateway status, which matches its stated purpose. Minor metadata inconsistency: the provided registry summary listed no required binaries, while package.json declares a requirement for the 'openclaw' binary — that requirement is reasonable for this skill but the registry metadata should reflect it.
Instruction Scope
SKILL.md and scripts stay within cleanup/analysis scope (find, du, rm, stat, openclaw). The script lists candidates before deletion and prompts for confirmation for backup-file deletion, and it only reports session files. Caveats: some example SKILL.md find commands are syntactically incorrect (multiple -name without -o) and other examples show -delete on /tmp — the documentation contains commands that, if copy-pasted, could delete files without confirmation. The script will automatically remove vim swap files in ~/.openclaw without a confirmation prompt and does not check whether files are in use.
Install Mechanism
Instruction-only skill with a single shell script and package.json; no install spec or remote downloads. No files are fetched from external URLs and nothing is written to system locations beyond normal script execution.
Credentials
The skill requests no environment variables or credentials and does not access unrelated config paths. The only external dependency is the local 'openclaw' CLI (declared in package.json), which is proportionate to checking gateway status.
Persistence & Privilege
always:false and no modifications to other skills or global agent configuration. The script is intended to be run manually or via cron; it does not attempt to persist credentials or enable itself automatically.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install system-cleanup - 安装完成后,直接呼叫该 Skill 的名称或使用
/system-cleanup触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
系统清理技能:定期清理和维护OpenClaw系统的临时文件、备份文件、日志文件
元数据
常见问题
系统清理技能 是什么?
定期清理OpenClaw系统中的备份、临时及会话文件,分析磁盘使用并检查系统状态,优化系统性能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 152 次。
如何安装 系统清理技能?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install system-cleanup」即可一键安装,无需额外配置。
系统清理技能 是免费的吗?
是的,系统清理技能 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
系统清理技能 支持哪些平台?
系统清理技能 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 系统清理技能?
由 mickey3721(@mickey3721)开发并维护,当前版本 v1.0.0。
推荐 Skills