360 Secure SkillHub
360 安全技能中心

Gateway Guardian

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

gate76
gate76
热度 25.37
最近更新 2026-05-20 03:35:31
分类:自动化依赖:代码执行 / 读写文件应用场景:自动化脚本 / DevOps / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add cromabelt-gateway-guardian
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