/install gateway-resilience-guard
OpenClaw Gateway Resilience Guard
Use this skill when a user wants to keep OpenClaw Gateway and message channels online after network drops, WSL sleep/resume, macOS/Windows wake events, or long-lived connection failures.
Install
Linux, WSL, or macOS:
bash install-watchdog.sh
The installer works with defaults. It prompts for the main channel probe URL when running interactively, but pressing Enter is enough for the default WeChat probe.
For unattended install:
bash install-watchdog.sh --yes
For a custom channel:
bash install-watchdog.sh --channel-url "https://your-channel.example.com/health"
Windows PowerShell:
powershell -ExecutionPolicy Bypass -File .\install-watchdog.ps1
Operate
systemctl --user status gateway-watchdog
journalctl --user -u gateway-watchdog -f
bash ~/.local/share/openclaw-gateway-watchdog/uninstall-watchdog.sh
On macOS, inspect launchctl print gui/$(id -u)/ai.clawhub.gateway-resilience-guard.
On Windows, inspect Get-ScheduledTask -TaskName "OpenClaw Gateway Resilience Guard".
If user systemd is unavailable, the installer starts a direct background fallback and stores its pid under ~/.local/state/openclaw-gateway-watchdog/watchdog.pid.
Safety Model
The watchdog restarts only after layered checks:
- OpenClaw native health probes:
openclaw gateway status --require-rpc,openclaw health --json --verbose, andopenclaw status --deepwhen available. - Local gateway health URL/TCP and main channel URL fallbacks.
- General network URLs to avoid restarting during whole-machine network failure.
- Backoff and hourly restart limits to avoid restart storms.
Tell users to review ~/.config/openclaw-gateway-watchdog/watchdog.env before publishing, sharing logs, or reporting issues.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install gateway-resilience-guard - After installation, invoke the skill by name or use
/gateway-resilience-guard - Provide required inputs per the skill's parameter spec and get structured output
What is OpenClaw Gateway Resilience Guard?
OpenClaw Gateway Resilience Guard keeps Gateway and long-lived channel plugins online after Wi-Fi changes, WSL sleep/resume, session expiry, or partial outag... It is an AI Agent Skill for Claude Code / OpenClaw, with 206 downloads so far.
How do I install OpenClaw Gateway Resilience Guard?
Run "/install gateway-resilience-guard" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is OpenClaw Gateway Resilience Guard free?
Yes, OpenClaw Gateway Resilience Guard is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does OpenClaw Gateway Resilience Guard support?
OpenClaw Gateway Resilience Guard is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created OpenClaw Gateway Resilience Guard?
It is built and maintained by zc-kama (@zc-kama); the current version is v1.2.0.