← 返回 Skills 市场
neoch3n

OpenClaw Session Cleanup

作者 NeoCh3n · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
392
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-session-cleanup
功能描述
Diagnose and stabilize long-running OpenClaw deployments that accumulate stale sessions, unreaped agents, browser-control timeouts, gateway websocket 1006 cl...
安全使用建议
This skill appears to do what it says: prune/clear OpenClaw sessions, render safer runtime limits, add a cron job, and optionally install a systemd watchdog and swap. Before installing, review the scripts (especially install-to-openclaw.sh, install-watchdog.sh, and the raw GitHub URL if you use the curl|bash one-liner). Note that adding swap and enabling systemd units changes system state and may require sudo; the watchdog unit will attempt to restart OpenClaw gateway automatically. If you don't want system-wide changes, install only into a workspace skills directory or run the cron/script steps manually after inspection.
功能分析
Type: OpenClaw Skill Name: openclaw-session-cleanup Version: 1.0.0 The skill performs high-privilege system operations including modifying user crontabs (install-cron-prune.sh), installing systemd services to /etc/systemd/system (install-watchdog.sh), and creating/enabling system-wide swap files (SKILL.md). While these actions are aligned with the stated goal of stabilizing OpenClaw on small VPS hosts, the requirement for root-level access and persistent system modifications represents a significant attack surface and high-risk behavior.
能力评估
Purpose & Capability
Name/description, SKILL.md instructions, templates, and scripts all align: the skill runs OpenClaw CLI commands, installs a cron prune job, renders a tuned config, and can install a watchdog unit. Required binaries (bash, openclaw) match the declared purpose.
Instruction Scope
SKILL.md instructs running openclaw CLI commands, adding swap, and installing cron/systemd watchdogs — all relevant. These instructions do change system state (crontab, swap, systemd timer/service); they do not attempt to read unrelated secrets or system paths. Users should be aware the playbook performs privileged/administrative operations (swap creation, restarting services) when followed.
Install Mechanism
There is no platform install spec; the repo provides local scripts (install-to-openclaw.sh, install-cron-prune.sh, install-watchdog.sh). README suggests a one-line curl|bash installer from GitHub raw URLs — the source is a well-known host (raw.githubusercontent.com), but piping remote scripts to bash has inherent risk and should be reviewed before running.
Credentials
The skill declares no environment variables, no credentials, and only requires the openclaw binary — this is proportional to its stated purpose. The scripts do not access secrets or unrelated env vars.
Persistence & Privilege
The skill can persist recurring behavior: it installs a per-user cron job (writes crontab) and offers to install a systemd timer/service (system-level). Installing the systemd units targets /etc/systemd/system by default (requires elevated privileges). This persistence is coherent with a watchdog/automation role but is a meaningful system-level change that users should consent to.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-session-cleanup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-session-cleanup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Provides tools and guidance for stabilizing long-running OpenClaw deployments affected by stale sessions and resource exhaustion. - Diagnose and resolve high session and agent counts, browser-service timeouts, and gateway websocket closures. - Add step-by-step cleanup and escalation instructions to restore a healthy runtime. - Offer safe default configuration recommendations for low-resource VPS hosts. - Include scripts and commands for automating session pruning and watchdog installation. - Provide references to runbooks, config templates, and service files for further customization.
元数据
Slug openclaw-session-cleanup
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

OpenClaw Session Cleanup 是什么?

Diagnose and stabilize long-running OpenClaw deployments that accumulate stale sessions, unreaped agents, browser-control timeouts, gateway websocket 1006 cl... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 392 次。

如何安装 OpenClaw Session Cleanup?

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

OpenClaw Session Cleanup 是免费的吗?

是的,OpenClaw Session Cleanup 完全免费(开源免费),可自由下载、安装和使用。

OpenClaw Session Cleanup 支持哪些平台?

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

谁开发了 OpenClaw Session Cleanup?

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

💬 留言讨论