Back to skills
extension
Category: OtherNo API key required

Gateway Guardian

Checks your OpenClaw gateway every 60 seconds and restarts it if it stops responding. Background daemon, survives reboots.

personAuthor: gate76hubclawhub

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