OpenClaw System Optimization
Paste the following prompt into your AI chat to install this skill:
Please install @user_0f7a070e/openclaw-system-optimization according to https://skillhub.cn/install/skillhub.md.
About this skill
Problems It Addresses
During long-term use, OpenClaw develops two common operational burdens: memory, skills, and core config files may be missing after upgrades, deletion, or abnormal operations, requiring manual inspection; Python caches, logs over 10M, temporary files, and leftover install packages keep consuming disk space and raise troubleshooting cost. This skill turns those checks into a daily automated routine, reducing the need to log into the console and clean up manually.
How It Works And Where It Fits
When triggered by a scheduled task, it first runs file health checks for memory, skills, and core config integrity, and attempts automatic repair when items are missing. It then runs memory optimization cleanup for Python caches, redundant logs larger than 10M, temporary files, and unused install packages. After completion, it sends a structured Feishu notification so the checked items, cleaned items, and execution result can be reviewed. The default recommended cron is 0 0 * * *, meaning 00:00 Beijing time daily; the execution time can also be changed by sending an instruction in the Feishu chat, after which the system validates the expression and returns a confirmation. Note that this skill requires an OpenClaw runtime and an authorized Feishu plugin. It fits routine local OpenClaw health checks, but does not replace backups, security audits, or production incident handling.
Use Cases
- After long OpenClaw runs, automatically check memory, skills directories, and core config integrity and repair missing items.
- When disk usage is tight, clean Python caches, logs over 10M, temp files, and unused install packages on a schedule.
- Without console access, change the daily optimization time in Feishu chat and receive expression validation confirmation.
- After cleanup, confirm file checks, cleaned items, and task result via a structured Feishu notification.
Best For
- Solo developers maintaining OpenClaw who want daily checks of directories, configs, and disk cleanup results.
- Small-team operators using Feishu who want to change scheduled time in chat and review structured notifications.
- Service admins running OpenClaw long-term who need automatic cleanup of Python caches, large logs, and temp files.
- IT support staff responsible for routine checks who want to verify memory, skills, and core configs without console work.
Related Skills
Analyzes network captures from Wireshark, tcpdump, Fiddler, and Charles, then pinpoints TCP, HTTP, DNS, and TLS issues with filter expressions and remediation steps.
Detects AI-generated images from Stable Diffusion, Midjourney, and GPT-4o via Tencent Cloud image moderation and returns risk scores.
A log analysis tool combining deterministic rules and AI reasoning, with error severity levels, keyword filtering, real-time monitoring, webhook alerts, batch directory analysis, and path, SSRF, and XSS protections.
A WCAG 2.2 accessibility audit and remediation guide covering scans, manual checks, issue mapping, and retesting records.