360 Secure SkillHub
360 安全技能中心

Gateway Guardian

面向 OpenClaw 的看护守护进程:每 60 秒检查本地 gateway 是否响应,连续 3 次失败后运行 openclaw gateway restart,并把事件写入 /tmp/gateway-guardian.log;支持用对话指令启动、查看状态与日志。需要本地运行 OpenClaw gateway、Python 3 和 curl。

分类:自动化
gate76
gate76
热度 1.36
最近更新 2026-05-20 03:35:31

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add gate76/cromabelt-gateway-guardian
兼容性
OpenClaw 专属
联网要求
不联网
数据出网
数据不出本机
Metadata
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