Checks your OpenClaw gateway every 60 seconds and restarts it if it stops responding. Background daemon, survives reboots.
--- name: gateway-guardian slug: cromabelt-gateway-guardian title: "Gateway Guardian — auto-restart for OpenClaw" description: "Checks your OpenClaw gateway every 60 seconds and restarts it if it stops responding. Background daemon, survives reboots." tags: [openclaw, gateway, auto-restart, monitoring] version: 1.0.0 author: Cromabelt Studios contact: cromabeltstudio@gmail.com platform: ClawHub price: FREE category: Server Maintenance security: | This skill does not: - Send data anywhere - Access credentials or keys - Call external servers - Modify files outside the workspace It only checks the local gateway health endpoint and runs openclaw gateway restart. --- # Gateway Guardian A background daemon that keeps your OpenClaw gateway online. ## How it works Every 60 seconds, it checks if the gateway responds. If the gateway goes down and fails 3 checks in a row, it runs `openclaw gateway restart` automatically. All events are written to `/tmp/gateway-guardian.log`. ## When to use it - Your gateway freezes often - You run OpenClaw on a server and cannot monitor it constantly - You want automatic recovery without manual restarts ## Commands Tell me "start gateway guardian" to start it. Tell me "gateway guardian status" to check if it's running. Tell me "gateway guardian logs" to see recent log entries. ## Requirements - Python 3.x - OpenClaw gateway running locally - `curl` available
don't have the plugin yet? install it then click "run inline in claude" again.