Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
定期清理过期会话,评估并保存有价值信息,自动清理无价值会话。
定期清理过期会话,评估并保存有价值信息,自动清理无价值会话。
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. 检查过期会话(7天无活动) 3. 评估会话价值(关键词匹配) 4. 保存有价值会话到记忆 5. 清理无价值会话 6. 生成报告
目录说明~/.openclaw/cron/runs/定时任务运行记录~/.openclaw/delivery-queue/消息投递队列~/.openclaw/telegram/Telegram 会话数据~/.openclaw/subagents/子智能体会话
cron runs: 超过 3 天 delivery-queue: 超过 1 天(已完成/失败的) telegram: 超过 7 天 subagents: 超过 7 天
类别关键词重要决策decision, important, remember, 重要, 决策学习learn, study, understand, 学习, 理解问题解决fix, bug, error, 修复, 问题, 错误创建create, build, new, 创建, 新建
每周执行一次 自动评估并保存有价值内容 汇报清理结果
# 手动执行 ~/.openclaw/workspace/skills/session-cleanup/cleanup.sh # 配置定时任务(每周日凌晨3点) cron job add session-cleanup "0 3 * * 0" ~/.openclaw/workspace/skills/session-cleanup/run.sh
Workflow acceleration for inboxes, docs, calendars, planning, and execution loops.
Largest current source with strong distribution and engagement signals.