← Back to Skills Marketplace
adminlove520

Gateway Watchdog

by Anonymous · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
230
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-gateway-watchdog
Description
Automatically installs and configures Gateway Watchdog to monitor Gateway status, enable DingTalk alerts, set up auto-start, and run the monitoring service.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openclaw-gateway-watchdog
  3. After installation, invoke the skill by name or use /openclaw-gateway-watchdog
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Slug openclaw-gateway-watchdog
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Gateway Watchdog?

Automatically installs and configures Gateway Watchdog to monitor Gateway status, enable DingTalk alerts, set up auto-start, and run the monitoring service. It is an AI Agent Skill for Claude Code / OpenClaw, with 230 downloads so far.

How do I install Gateway Watchdog?

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

Is Gateway Watchdog free?

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

Which platforms does Gateway Watchdog support?

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

Who created Gateway Watchdog?

It is built and maintained by Anonymous (@adminlove520); the current version is v0.1.0.

💬 Comments