← All skills
Tencent SkillHub · Productivity

Session Cleanup

定期清理过期会话,评估并保存有价值信息,自动清理无价值会话。

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

定期清理过期会话,评估并保存有价值信息,自动清理无价值会话。

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, cleanup.sh, skill.json

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

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.

Upgrade existing

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.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 8 sections Open source page

Session Cleanup

定期检查和清理过期会话,评估会话价值并保存重要信息。

能力轮廓

输入:会话目录路径 输出:清理报告 + 保存的有价值会话 核心:过期检测 → 价值评估 → 选择性清理

工作流

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

Category context

Workflow acceleration for inboxes, docs, calendars, planning, and execution loops.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs1 Scripts1 Config
  • SKILL.md Primary doc
  • cleanup.sh Scripts
  • skill.json Config