Installable skillMIT

Gateway Guardian

Watchdog daemon that monitors and auto-restarts OpenClaw gateway.

BY modbenderUPDATED Oct 27, 2026
INTENDED FOR◈OpenClawInstall in a listed agent.

instructions.md

---
name: gateway-guardian
description: Watchdog daemon that monitors and auto-restarts OpenClaw gateway.
---

# Gateway Guardian

Watchdog daemon that monitors and auto-restarts OpenClaw gateway.

## Usage

```bash
./guardian.sh
```

Run as background daemon:
```bash
nohup ./guardian.sh &
```

## Features

- Monitors gateway process health
- Auto-restarts on crash
- Configurable check interval
- Logs restart events
- Works on macOS and Linux

## Configuration

Edit guardian.sh to customize:
- CHECK_INTERVAL: seconds between checks (default: 30)
- MAX_RESTARTS: max restarts before alerting (default: 5)
- LOG_FILE: where to log events

## Requirements

- OpenClaw installed
- Bash shell
COMPATIBILITY & REFERENCES

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Includes source scripts; review them before use. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.