← Back to Skills Marketplace
系统清理技能
by
mickey3721
· GitHub ↗
· v1.0.0
· MIT-0
152
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install system-cleanup
Description
定期清理OpenClaw系统中的备份、临时及会话文件,分析磁盘使用并检查系统状态,优化系统性能。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install system-cleanup - After installation, invoke the skill by name or use
/system-cleanup - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
系统清理技能:定期清理和维护OpenClaw系统的临时文件、备份文件、日志文件
Metadata
Frequently Asked Questions
What is 系统清理技能?
定期清理OpenClaw系统中的备份、临时及会话文件,分析磁盘使用并检查系统状态,优化系统性能。 It is an AI Agent Skill for Claude Code / OpenClaw, with 152 downloads so far.
How do I install 系统清理技能?
Run "/install system-cleanup" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 系统清理技能 free?
Yes, 系统清理技能 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 系统清理技能 support?
系统清理技能 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 系统清理技能?
It is built and maintained by mickey3721 (@mickey3721); the current version is v1.0.0.
More Skills