← 返回 Skills 市场
lrddrl

OpenClaw Session Cleanup

作者 lrddrl · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
81
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-session-cleanup-ruodon
功能描述
Clean up accumulated subagent and cron:run child sessions in OpenClaw to fix slow subagent startup. Use when: subagents are slow to start, sessions.json is t...
安全使用建议
This SKILL.md describes a reasonable maintenance task but does not ship the cleanup.ps1 script it tells you to run. Before using it: (1) locate or obtain the cleanup.ps1 it expects and inspect its contents thoroughly — do not run unknown PowerShell. (2) Back up sessions.json and any .jsonl files; prefer the documented -DryRun first to preview changes. (3) Avoid the -CleanJsonl flag unless you intentionally want to permanently delete conversation history. (4) Confirm your environment (PowerShell available, OpenClaw CLI installed) and, if you're not on Windows, ask for or create an equivalent script for your OS. If the skill author can provide the cleanup script or the SKILL.md is updated to include the script contents or a trusted install step, re-evaluate — that would likely make the skill coherent and lower-risk.
功能分析
Type: OpenClaw Skill Name: openclaw-session-cleanup-ruodon Version: 1.0.0 The skill bundle is missing the primary execution logic file (cleanup.ps1) referenced in SKILL.md, which is a significant red flag. The instructions direct the AI agent to perform high-privilege actions, including stopping the OpenClaw gateway and executing a PowerShell script with parameters that can delete session data and dialogue history. Furthermore, SKILL.md contains pushy directives ("务必使用此 skill" / "must use this skill") to influence the agent's decision-making process, which, combined with the missing script, poses a risk of executing unverified or potentially harmful local code.
能力评估
Purpose & Capability
The name/description (clean OpenClaw sessions.json to speed subagents) is consistent with the actions described (stop gateway, run cleanup script, restart). However the SKILL.md assumes a cleanup.ps1 script exists; the skill bundle contains no code or install step that supplies that script, which is an inconsistency worth noting.
Instruction Scope
The instructions tell the user to stop the gateway, run a PowerShell cleanup script (with a dangerous -CleanJsonl flag that deletes conversation history), and restart the gateway. That behavior is in-scope for session cleanup, but the doc presumes a local .\cleanup.ps1 is present and gives a destructive option. The skill does not provide the script, nor does it include cross-platform variants (only PowerShell examples), so following these instructions without verifying the script could delete user data.
Install Mechanism
No install spec or downloaded code is present, so nothing is written to disk by the skill itself. This minimizes supply-chain risk, but also means the missing cleanup script must come from elsewhere.
Credentials
The skill requests no environment variables, credentials, or config paths. There is no sign of unrelated credential access.
Persistence & Privilege
always:false and normal invocation settings. The skill does not request persistent presence or modification of other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-session-cleanup-ruodon
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-session-cleanup-ruodon 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: clean up subagent/cron child sessions to fix slow subagent startup
元数据
Slug openclaw-session-cleanup-ruodon
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

OpenClaw Session Cleanup 是什么?

Clean up accumulated subagent and cron:run child sessions in OpenClaw to fix slow subagent startup. Use when: subagents are slow to start, sessions.json is t... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 81 次。

如何安装 OpenClaw Session Cleanup?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-session-cleanup-ruodon」即可一键安装,无需额外配置。

OpenClaw Session Cleanup 是免费的吗?

是的,OpenClaw Session Cleanup 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

OpenClaw Session Cleanup 支持哪些平台?

OpenClaw Session Cleanup 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 OpenClaw Session Cleanup?

由 lrddrl(@lrddrl)开发并维护,当前版本 v1.0.0。

💬 留言讨论