Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
清理过期缓存文件、auto-flush 文件、旧日志,释放磁盘空间。
清理过期缓存文件、auto-flush 文件、旧日志,释放磁盘空间。
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
清理各类缓存和临时文件,释放磁盘空间。
输入:缓存目录 输出:清理报告 核心:扫描 → 分类 → 清理
1. 扫描缓存目录 2. 识别过期文件(按类型设定过期时间) 3. 统计大小 4. 清理 5. 报告
目录类型过期时间~/.npm/_cache/NPM 缓存7 天~/.cache/通用缓存7 天/tmp/临时文件1 天~/.openclaw/logs/日志文件14 天~/.openclaw/browser/浏览器缓存3 天~/.openclaw/sandbox/沙箱7 天~/.openclaw/sandbox-neko/猫娘沙箱7 天~/.openclaw/canvas/Canvas 缓存3 天
类型规则日志.log, .jsonl > 14 天缓存所有 > 7 天临时所有 > 1 天浏览器所有 > 3 天
磁盘使用 > 80% 时增强清理 清理前检查磁盘使用率
每3天执行一次 磁盘使用率高时主动清理
# 手动执行 ~/.openclaw/workspace/skills/cache-cleanup/cleanup.sh # 配置定时任务(每3天凌晨2点) cron job add cache-cleanup "0 2 */3 * *" ~/.openclaw/workspace/skills/cache-cleanup/run.sh
Workflow acceleration for inboxes, docs, calendars, planning, and execution loops.
Largest current source with strong distribution and engagement signals.