← 返回 Skills 市场
OpenClaw Watchdog Li
作者
lxwseeyouaska
· GitHub ↗
· v1.0.0
· MIT-0
112
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-watchdog-liwg
功能描述
OpenClaw Gateway 看门狗技能。监控 OpenClaw Gateway 进程存活、WebSocket 错误、飞书/企业微信/微信通道状态、网络连通性。在检测到异常时自动重启 Gateway(最多2次,10分钟窗口),并记录通道暂停状态。当 OpenClaw Gateway 无响应、通道报错、sess...
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openclaw-watchdog-liwg - 安装完成后,直接呼叫该 Skill 的名称或使用
/openclaw-watchdog-liwg触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
监控Gateway、飞书、企业微信、微信通道状态,自动重启
元数据
常见问题
OpenClaw Watchdog Li 是什么?
OpenClaw Gateway 看门狗技能。监控 OpenClaw Gateway 进程存活、WebSocket 错误、飞书/企业微信/微信通道状态、网络连通性。在检测到异常时自动重启 Gateway(最多2次,10分钟窗口),并记录通道暂停状态。当 OpenClaw Gateway 无响应、通道报错、sess... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 112 次。
如何安装 OpenClaw Watchdog Li?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-watchdog-liwg」即可一键安装,无需额外配置。
OpenClaw Watchdog Li 是免费的吗?
是的,OpenClaw Watchdog Li 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
OpenClaw Watchdog Li 支持哪些平台?
OpenClaw Watchdog Li 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 OpenClaw Watchdog Li?
由 lxwseeyouaska(@lxwseeyouaska)开发并维护,当前版本 v1.0.0。
推荐 Skills