← Back to Skills Marketplace
shenbinxin

OpenClaw Guardian CN

by shenbinxin · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
113
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install openclaw-guardian-cn
Description
OpenClaw 系统守护 skill。每日定时自检、自动检测异常并尝试自救。 用于:(1) 每日定时检查 Gateway 状态 (2) 自动检测进程/WebSocket/插件异常 (3) 自动尝试恢复服务 (4) 用户可自定义自检时间 当用户要求设置每日自检、自助恢复、系统守护、自动重启 Gateway 时触发。
Usage Guidance
This skill appears coherent for an OpenClaw Gateway watchdog: it inspects ~/.openclaw, checks processes, and can attempt to restart the gateway. Before installing or running automated setup: 1) Inspect the provided scripts (check.sh, guardian-daily.sh, heartbeat-check.sh) to confirm you accept their behavior. 2) Do not blindly execute the SKILL.md's auto-configuration one-liners — they will add cron entries or register scheduled tasks that cause persistent automated actions. 3) Understand that the cron entry runs a node start command from your ~/.openclaw directory; if those files are untrusted or modified, that cron could execute arbitrary code. 4) If you want persistent supervision, prefer adding the cron/task manually after review or run the checks interactively first. 5) Note small bugs in scripts (e.g., locale assumptions when parsing free output) — test in a safe environment. If you need, I can point out exact lines to modify or create a safer, minimal version that only reports problems without auto-modifying crontab/tasks.
Capability Analysis
Type: OpenClaw Skill Name: openclaw-guardian-cn Version: 1.0.1 The openclaw-guardian-cn skill bundle is a system maintenance utility designed to monitor and recover OpenClaw services. It includes scripts (check.sh, guardian-daily.sh) that track process health, system resources, and configuration integrity. The bundle is classified as suspicious because it performs high-risk system modifications, specifically establishing persistence by automatically adding entries to crontab on Linux or Scheduled Tasks on Windows, and it uses eval for shell command execution. While these actions are consistent with the stated 'Guardian' purpose, the use of persistence mechanisms and broad shell access constitutes a significant security risk without evidence of explicit malicious intent.
Capability Assessment
Purpose & Capability
Name/description describe a guardian that checks Gateway, processes, WebSocket/plugin status and tries to recover; the scripts and SKILL.md implement those checks (pgrep, openclaw gateway status/start/restart, checking ~/.openclaw, crontab/tasks). Required items (none) are consistent with this purpose.
Instruction Scope
Instructions and scripts read user-local configuration (e.g., ~/.openclaw/openclaw.json, ~/.openclaw/skills/, extensions), run commands (pgrep, openclaw gateway start/restart, node ./dist/daemon-cli.js if present) and propose adding cron entries or Windows scheduled tasks. This is within scope for a guardian, but the SKILL.md includes one-liners that will modify the user's crontab / scheduled tasks if executed — review those commands before allowing automatic execution.
Install Mechanism
No install spec; the skill is instruction- and script-based. No external downloads or obscure URLs are used. Scripts are provided in the package and will not fetch remote archives by the skill itself.
Credentials
The skill does not request environment variables or credentials. It relies on standard environment values (HOME, OSTYPE) and existing local tools (pgrep, node, python3 if present). No unrelated secrets are requested.
Persistence & Privilege
always:false and model invocation defaults are normal. However, the SKILL.md explicitly instructs how to (and provides snippets that will) add cron entries or register Windows scheduled tasks to run guardian checks. Those actions persist on the system and will cause repeated execution if you run the auto-configuration snippets — you should review/approve any crontab/Task Scheduler changes before applying them.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openclaw-guardian-cn
  3. After installation, invoke the skill by name or use /openclaw-guardian-cn
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- 文档中自动守护脚本的路径、示例命令更新为通用默认路径 ~/.openclaw,说明中移除了硬编码的安装路径。 - 强调实际安装路径如有变化需相应修改脚本命令。 - 其它内容无变动,仅文档细节优化,提升适用性和易用性。
v1.0.0
OpenClaw Guardian skill – initial release: - 提供 OpenClaw Gateway 全自动定时自检、异常检测和自救功能(支持 Linux/Windows 自动适配) - 支持每日定时检查 Gateway、进程、WebSocket 连接、插件和系统资源状态 - 检测异常时自动尝试恢复(启动/重启服务、重连、释放端口等),并验证是否恢复成功 - 用户可自定义自检时间,也可手动触发自检 - 首次自检时自动配置系统级守护(Linux: Cron, Windows: 任务计划程序),确保服务持续运行 - 自检报告清晰反馈当前状态、异常及自救结果
Metadata
Slug openclaw-guardian-cn
Version 1.0.1
License MIT-0
All-time Installs 1
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is OpenClaw Guardian CN?

OpenClaw 系统守护 skill。每日定时自检、自动检测异常并尝试自救。 用于:(1) 每日定时检查 Gateway 状态 (2) 自动检测进程/WebSocket/插件异常 (3) 自动尝试恢复服务 (4) 用户可自定义自检时间 当用户要求设置每日自检、自助恢复、系统守护、自动重启 Gateway 时触发。 It is an AI Agent Skill for Claude Code / OpenClaw, with 113 downloads so far.

How do I install OpenClaw Guardian CN?

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

Is OpenClaw Guardian CN free?

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

Which platforms does OpenClaw Guardian CN support?

OpenClaw Guardian CN is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created OpenClaw Guardian CN?

It is built and maintained by shenbinxin (@shenbinxin); the current version is v1.0.1.

💬 Comments