← Back to Skills Marketplace
lrddrl

OpenClaw Session Cleanup

by lrddrl · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
81
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-session-cleanup-ruodon
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openclaw-session-cleanup-ruodon
  3. After installation, invoke the skill by name or use /openclaw-session-cleanup-ruodon
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: clean up subagent/cron child sessions to fix slow subagent startup
Metadata
Slug openclaw-session-cleanup-ruodon
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 81 downloads so far.

How do I install OpenClaw Session Cleanup?

Run "/install openclaw-session-cleanup-ruodon" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is OpenClaw Session Cleanup free?

Yes, OpenClaw Session Cleanup is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does OpenClaw Session Cleanup support?

OpenClaw Session Cleanup is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created OpenClaw Session Cleanup?

It is built and maintained by lrddrl (@lrddrl); the current version is v1.0.0.

💬 Comments