← 返回 Skills 市场
adminlove520

Gateway Watchdog

作者 Anonymous · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
230
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-gateway-watchdog
功能描述
Automatically installs and configures Gateway Watchdog to monitor Gateway status, enable DingTalk alerts, set up auto-start, and run the monitoring service.
安全使用建议
This skill's code and instructions are coherent with its goal (monitor and auto-restart the OpenClaw Gateway and notify via DingTalk). Before installing: - Inspect the config.py you create and only set the DingTalk WEBHOOK/SECRET if you trust the recipient robot; the code will post status messages to that webhook. - Review the process-killing logic: on Windows the script will call taskkill /IM node.exe (kills all node.exe) and on Linux/macOS uses pkill -f openclaw. If you run other Node.js services on the same host those may be killed; consider modifying the script to target the gateway process more precisely. - The SKILL.md suggests cloning a GitHub repo (adminlove520). Even though the packaged skill already contains the same scripts, cloning or fetching code from external sources is a supply-chain risk—only do this from repositories you trust. - Installing auto-start entries requires elevated privileges (systemd/service or scheduled tasks). Prefer installing under a restricted user account rather than root/admin when possible. - Test the watchdog in a controlled environment (non-production) to confirm restart behavior and side effects before deploying on production hosts. If you want a lower-risk setup: avoid running the installer as root, review and edit kill/start commands to be less broad, or run the monitor in a container or restricted user session so any aggressive process-kill affects only an isolated environment.
功能分析
Type: OpenClaw Skill Name: openclaw-gateway-watchdog Version: 0.1.0 The skill bundle implements a watchdog service designed to monitor and restart the OpenClaw gateway, featuring high-risk capabilities such as automated persistence (Windows Task Scheduler, macOS LaunchAgents, and systemd) and process termination (using taskkill and pkill). While these actions are aligned with the stated purpose of a watchdog, the broad termination of all 'node.exe' processes on Windows in 'gateway_monitor.py' and the instruction to clone an external repository ('github.com/adminlove520/gateway-watchdog.git') in 'SKILL.md' introduce significant security risks. No explicit evidence of data exfiltration or backdoors was found, but the high-privilege operations and external dependencies warrant a suspicious classification.
能力评估
Purpose & Capability
The skill's name/description (Gateway monitoring, DingTalk alerts, auto-start) aligns with the provided code: gateway_monitor.py implements health checks, restart logic, and DingTalk notifications; install.py configures startup on Windows/macOS/systemd. Required capabilities (killing/restarting the gateway, writing logs/config in the user's home directory, calling a webhook) are consistent with the stated purpose.
Instruction Scope
SKILL.md instructs cloning a GitHub repo and running install.py/configuring config.py — that matches the included files but also points agents/users to an external GitHub URL (adminlove520/gateway-watchdog). The runtime instructions are otherwise narrowly scoped to installation, configuration, and running the watchdog. They do not request arbitrary system-wide data or other credentials beyond the DingTalk webhook/secret (which are stored in config.py).
Install Mechanism
There is no platform install spec in the registry (instruction-only), which limits automatic disk writes from the registry. However, SKILL.md tells the user to git clone from a third-party GitHub repo. The packaged skill already contains the same files, but following SKILL.md would fetch code from an external source — a minor supply-chain risk if you don't trust that GitHub repository.
Credentials
The registry metadata lists no required env vars; the code uses a config.py (WEBHOOK, SECRET) for DingTalk credentials, which is proportional to its notification feature. A notable operational concern: kill_gateway_processes() uses broad commands (Windows: taskkill /IM node.exe; Linux/macOS: pkill -f openclaw) which could terminate unrelated node processes or match unintended processes. The skill does not attempt to read or exfiltrate other secrets or environment variables.
Persistence & Privilege
The install script creates persistent startup entries (Windows scheduled task, a plist for macOS, or a systemd service template). That is expected for auto-start behavior. The script prints instructions for systemd rather than writing the file directly (it does write the plist for macOS). Installing system services will require elevated permissions — this is normal but something to be aware of.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-gateway-watchdog
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-gateway-watchdog 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
openclaw-gateway-watchdog 0.1.0 - Initial release of the Gateway Watchdog skill - Enables automatic installation, configuration (with optional DingTalk notifications), autostart, and service running for Gateway monitoring - Provides clear trigger phrases and step-by-step installation instructions - Includes guides for configuration, command usage, and log checking - Supports notification scenarios for startup, disconnection, restart success/failure, and daily status updates
元数据
Slug openclaw-gateway-watchdog
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Gateway Watchdog 是什么?

Automatically installs and configures Gateway Watchdog to monitor Gateway status, enable DingTalk alerts, set up auto-start, and run the monitoring service. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 230 次。

如何安装 Gateway Watchdog?

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

Gateway Watchdog 是免费的吗?

是的,Gateway Watchdog 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Gateway Watchdog 支持哪些平台?

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

谁开发了 Gateway Watchdog?

由 Anonymous(@adminlove520)开发并维护,当前版本 v0.1.0。

💬 留言讨论