Rechercher

PythonReactSEOPDF
OpenClaw

Gateway Watchdog Xiaoxi

SKILL.md OpenClaw Gateway Watchdog

adminlove5200 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install adminlove520/gateway-watchdog-xiaoxi

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

SKILL.md - OpenClaw Gateway Watchdog

让你的 OpenClaw Gateway 7/24 稳定运行

触发语

  • "帮我 7/24 运行"
  • "让 Gateway 持续运行"
  • "设置 watchdog"
  • "保持 Gateway 运行"

做什么

  1. 检查是否有 gateway_watchdog.py,如果没有则从 GitHub 下载
  2. 执行 python gateway_watchdog.py start
  3. 反馈结果

快速开始

# 一键安装+启动
python install.py

# 或手动
python gateway_watchdog.py start
python gateway_watchdog.py status
python gateway_watchdog.py restart
python gateway_watchdog.py stop

输出示例

用户: 帮我7/24运行
-> 📥 正在下载 gateway_watchdog.py...
-> ✅ 下载完成
-> 🚀 启动 Gateway Watchdog...
-> ✅ Gateway Watchdog 已启动 (PID: 12345)
-> ✅ 完成!Gateway 将 7/24 运行

命令

命令 说明
python install.py 一键安装并启动
python gateway_watchdog.py start 启动 watchdog
python gateway_watchdog.py status 查看状态
python gateway_watchdog.py restart 重启 Gateway
python gateway_watchdog.py stop 停止 watchdog

依赖

  • Python 3.7+
  • openclaw CLI

原理

不要用 OpenClaw 自己的 cron 监控 Gateway。 Gateway 挂了,cron job 根本收不到 wake event,形成死锁。

外部 watchdog:

  • Gateway 挂了 → 外部进程检测到 → 触发重启 → 恢复运行

🦞 小溪的作品

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/adminlove520/gateway-watchdog-xiaoxi
Version
—
Commit
0372cac02bad03c2bd8923e6387b81582ae647c4
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

README

OpenClaw Gateway Watchdog

Gateway 24/7 稳定运行 watchdog

为什么需要

不要用 OpenClaw 自己的 cron 监控 Gateway。 Gateway 挂了,cron job 根本收不到 wake event,形成死锁。

解决方案

用独立的 watchdog 跑在 OpenClaw 进程外部,每 10 秒检查一次,连续 2 次失败自动重启。

安装

git clone https://github.com/adminlove520/openclaw-gateway-watchdog.git
cd openclaw-gateway-watchdog

使用方法

# 启动 watchdog
python gateway_watchdog.py start

# 查看状态 (同时显示 watchdog 和 Gateway 状态)
python gateway_watchdog.py status

# 重启 Gateway
python gateway_watchdog.py restart

# 停止 watchdog
python gateway_watchdog.py stop

命令行选项

python gateway_watchdog.py start --interval 10 --threshold 2
参数 默认值 说明
--interval 10 检查间隔(秒)
--threshold 2 连续失败次数

本地文件

运行后会生成以下文件(不要提交到 git):

  • gateway_watchdog.json - 配置(openclaw 路径)
  • gateway_watchdog.log - 日志
  • gateway_watchdog.pid - 进程 PID

兼容性

  • ✅ Windows
  • ✅ Linux

🦞 小溪的作品

Contenu extrait

SKILL.md
# SKILL.md - OpenClaw Gateway Watchdog

> 让你的 OpenClaw Gateway 7/24 稳定运行

## 触发语

- "帮我 7/24 运行"
- "让 Gateway 持续运行"
- "设置 watchdog"
- "保持 Gateway 运行"

## 做什么

1. 检查是否有 `gateway_watchdog.py`,如果没有则从 GitHub 下载
2. 执行 `python gateway_watchdog.py start`
3. 反馈结果

## 快速开始

```bash
# 一键安装+启动
python install.py

# 或手动
python gateway_watchdog.py start
python gateway_watchdog.py status
python gateway_watchdog.py restart
python gateway_watchdog.py stop
```

## 输出示例

```
用户: 帮我7/24运行
-> 📥 正在下载 gateway_watchdog.py...
-> ✅ 下载完成
-> 🚀 启动 Gateway Watchdog...
-> ✅ Gateway Watchdog 已启动 (PID: 12345)
-> ✅ 完成!Gateway 将 7/24 运行
```

## 命令

| 命令 | 说明 |
|------|------|
| `python install.py` | 一键安装并启动 |
| `python gateway_watchdog.py start` | 启动 watchdog |
| `python gateway_watchdog.py status` | 查看状态 |
| `python gateway_watchdog.py restart` | 重启 Gateway |
| `python gateway_watchdog.py stop` | 停止 watchdog |

## 依赖

- Python 3.7+
- openclaw CLI

## 原理

**不要用 OpenClaw 自己的 cron 监控 Gateway。** Gateway 挂了,cron job 根本收不到 wake event,形成死锁。

外部 watchdog:
- Gateway 挂了 → 外部进程检测到 → 触发重启 → 恢复运行

---

🦞 小溪的作品
README
# OpenClaw Gateway Watchdog

> Gateway 24/7 稳定运行 watchdog

## 为什么需要

**不要用 OpenClaw 自己的 cron 监控 Gateway。** Gateway 挂了,cron job 根本收不到 wake event,形成死锁。

## 解决方案

用独立的 watchdog 跑在 OpenClaw 进程外部,每 10 秒检查一次,连续 2 次失败自动重启。

## 安装

```bash
git clone https://github.com/adminlove520/openclaw-gateway-watchdog.git
cd openclaw-gateway-watchdog
```

## 使用方法

```bash
# 启动 watchdog
python gateway_watchdog.py start

# 查看状态 (同时显示 watchdog 和 Gateway 状态)
python gateway_watchdog.py status

# 重启 Gateway
python gateway_watchdog.py restart

# 停止 watchdog
python gateway_watchdog.py stop
```

## 命令行选项

```bash
python gateway_watchdog.py start --interval 10 --threshold 2
```

| 参数 | 默认值 | 说明 |
|------|--------|------|
| --interval | 10 | 检查间隔(秒) |
| --threshold | 2 | 连续失败次数 |

## 本地文件

运行后会生成以下文件(不要提交到 git):
- `gateway_watchdog.json` - 配置(openclaw 路径)
- `gateway_watchdog.log` - 日志
- `gateway_watchdog.pid` - 进程 PID

## 兼容性

- ✅ Windows
- ✅ Linux

---

🦞 小溪的作品

Skills associés

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

parakeet-stt

carlulsoe

Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, o...

OpenClaw

feishu-process-feedback

carlzhao007

飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化...