Claude Skill
LeoYeAI/openclaw-guardian
Automated watchdog for OpenClaw Gateway with monitoring, self-repair (doctor --fix), Git rollback, daily snapshots, and Discord alerts. Ensure reliability for your AI agent infrastructure.
Overview
Repository
Install this Skill
git clone https://github.com/LeoYeAI/openclaw-guardian.gitRegistry
Summary
OpenClaw Guardian is a watchdog tool for the OpenClaw Gateway, providing automated monitoring, self-repair via doctor --fix, Git-based rollback, daily snapshots, and Discord alerts. Powered by MyClaw.ai.
🛡️ OpenClaw网关守护看门狗——自动监控,通过doctor --fix自修复,基于Git的回滚机制,每日快照备份,以及Discord警报推送。由MyClaw.ai驱动。
Key features
- Automated monitoring for OpenClaw Gateway
- Self-repair via doctor --fix command
- Git-based rollback mechanism
- Daily snapshot backups
- Discord alert notifications
- Powered by MyClaw.ai
Use cases
- Ensuring high availability of OpenClaw Gateway
- Automated incident response and recovery
- Maintaining system state with daily snapshots
- Team alerting via Discord integration
- Version control and safe rollback of configurations
- DevOps automation for AI agent infrastructure
README excerpt
# 🛡️ OpenClaw Guardian <div align="center"> <a href="https://myclaw.ai"> <img src="https://img.shields.io/badge/Powered%20by-MyClaw.ai-blue?style=for-the-badge" alt="Powered by MyClaw.ai" /> </a> **Languages:** [English](README.md) · [中文](README.zh-CN.md) · [Français](README.fr.md) · [Deutsch](README.de.md) · [Русский](README.ru.md) · [日本語](README.ja.md) · [Italiano](README.it.md) · [Español](README.es.md) </div> --- ## 🤖 Powered by [MyClaw.ai](https://myclaw.ai) **[MyClaw.ai](https://myclaw.ai)** is an AI personal assistant platform that gives every user a fully-featured AI agent running on a dedicated server — with complete code control, internet access, and tool integrations. Think of it as your own private AI that can actually *do* things, not just answer questions. OpenClaw Guardian is an open-source project born from MyClaw.ai's production infrastructure. We run thousands of AI agent instances 24/7, and Guardian is the hardening layer that keeps them alive. We're open-sourcing it so everyone can benefit. > 🌐 **Try MyClaw.ai**: [https://myclaw.ai](https://myclaw.ai) --- ## Features - **Auto-monitor** — checks Gateway health every 30 seconds - **Auto-repair** — runs `openclaw doctor --fix` on failure (up to 3 attempts) - **Auto-rollback** — resets workspace to last stable git commit if repair fails - **Daily snapshots** — automatic daily `git commit` of your workspace - **Discord alerts** — optional webhook notifications on failures and recovery ## How It Works ``` Gateway down detected │ ▼ doctor --fix ──→ success? ──→ ✅ Done (up to 3x) │ all failed ▼ git rollback ──→ success? ──→ ✅ Done │ failed ▼ cooldown 300s → resume monitoring ``` ## ⚡ One-Line Deploy (OpenClaw Users) Already using Ope