/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.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gateway-resilience-guard - 安装完成后,直接呼叫该 Skill 的名称或使用
/gateway-resilience-guard触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 206 次。
如何安装 OpenClaw Gateway Resilience Guard?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gateway-resilience-guard」即可一键安装,无需额外配置。
OpenClaw Gateway Resilience Guard 是免费的吗?
是的,OpenClaw Gateway Resilience Guard 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
OpenClaw Gateway Resilience Guard 支持哪些平台?
OpenClaw Gateway Resilience Guard 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 OpenClaw Gateway Resilience Guard?
由 zc-kama(@zc-kama)开发并维护,当前版本 v1.2.0。