← Back to Skills Marketplace
lxwseeyouaska

OpenClaw Watchdog Li

by lxwseeyouaska · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
112
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-watchdog-liwg
Description
OpenClaw Gateway 看门狗技能。监控 OpenClaw Gateway 进程存活、WebSocket 错误、飞书/企业微信/微信通道状态、网络连通性。在检测到异常时自动重启 Gateway(最多2次,10分钟窗口),并记录通道暂停状态。当 OpenClaw Gateway 无响应、通道报错、sess...
Usage Guidance
This skill appears to do what it says: monitor OpenClaw Gateway and attempt recovery. Before installing or running it, review the script line-by-line and test in a safe environment. Pay attention to: 1) the script attempts to move /etc/profile.d/proxy.sh using sudo (will require sudo rights and will change system proxy configuration); 2) it edits ~/.bashrc to comment proxy exports and uses systemctl --user set-environment to clear proxy env vars — these are persistent environment changes; 3) it uses pkill and runs 'openclaw gateway start' (ensure the 'openclaw' binary on PATH is the expected trusted program); 4) log and state files are under /tmp — consider changing paths and file permissions. If you do not want it to modify system proxy settings or require sudo, remove or adjust the disable_proxy() section before use. Test behavior (restarts and restart-count logic) on a non-production instance to confirm it matches your operational requirements.
Capability Analysis
Type: OpenClaw Skill Name: openclaw-watchdog-liwg Version: 1.0.0 The openclaw-watchdog skill contains a bash script (scripts/watchdog.sh) that performs intrusive system modifications, including using sudo to move files in /etc/profile.d/ and using sed to modify the user's ~/.bashrc to disable proxy settings. While these actions are aligned with the stated purpose of network recovery in SKILL.md, the ability to alter shell configurations and system-wide settings constitutes a high-risk behavior. The script also monitors system logs via journalctl and manages processes using pkill and systemctl.
Capability Assessment
Purpose & Capability
The name/description (monitor Gateway, channels, network, auto-restart) align with the provided runtime script and SKILL.md. The script checks systemd, port, process name, reads gateway logs, checks channels, disables proxies, and restarts the gateway — all consistent with a gateway watchdog.
Instruction Scope
The SKILL.md instructs running the included bash script or deploying a systemd user service, which matches the script. The script reads gateway logs under /tmp/openclaw-*.log, uses journalctl, and writes state files under /tmp. It also edits ~/.bashrc and can move /etc/profile.d/proxy.sh — these are broader system changes than simple monitoring and should be reviewed before use.
Install Mechanism
No install spec; this is an instruction-only skill with an included shell script. No external downloads or package installs are performed, which minimizes install-time risk.
Credentials
The skill declares optional environment variables for log paths and thresholds but requires no secrets. However, the script calls 'sudo mv /etc/profile.d/proxy.sh ...' and uses systemctl --user set-environment and sed on ~/.bashrc — operations that affect system/user environment and may require elevated privileges. That elevated permission requirement is not surfaced in the metadata.
Persistence & Privilege
always is false and the skill does not request persistent platform-level privileges. Running it as a systemd user service will allow autonomous periodic checks and actions, which is expected for a watchdog. It does not modify other skills or agent-wide configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openclaw-watchdog-liwg
  3. After installation, invoke the skill by name or use /openclaw-watchdog-liwg
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
监控Gateway、飞书、企业微信、微信通道状态,自动重启
Metadata
Slug openclaw-watchdog-liwg
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is OpenClaw Watchdog Li?

OpenClaw Gateway 看门狗技能。监控 OpenClaw Gateway 进程存活、WebSocket 错误、飞书/企业微信/微信通道状态、网络连通性。在检测到异常时自动重启 Gateway(最多2次,10分钟窗口),并记录通道暂停状态。当 OpenClaw Gateway 无响应、通道报错、sess... It is an AI Agent Skill for Claude Code / OpenClaw, with 112 downloads so far.

How do I install OpenClaw Watchdog Li?

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

Is OpenClaw Watchdog Li free?

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

Which platforms does OpenClaw Watchdog Li support?

OpenClaw Watchdog Li is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created OpenClaw Watchdog Li?

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

💬 Comments