openclaw-watchdog

Community

Self-healing monitor for OpenClaw gateway

Authorxintuchain
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Watch Dog eliminates silent gateway downtime by continuously monitoring an OpenClaw gateway, automatically attempting safe recoveries, and notifying the operator so services stay available with minimal manual intervention.

Core Features & Use Cases

  • Continuous Health Monitoring: Pings the local OpenClaw health endpoint every 15 seconds and tracks consecutive failures.
  • Automated Recovery Workflow: Performs up to two automatic restarts, requests user approval via Telegram to attempt reinstall, and escalates to manual intervention after multiple failed attempts.
  • Local Diagnostics & Privacy: Runs pattern-matching diagnostics locally (no logs are sent externally) and encrypts credentials with a machine-specific AES-256 key.
  • Cross-Platform Service Installation: Installs as a macOS LaunchAgent or a Linux systemd user service and includes utilities to validate Telegram credentials and send test messages.
  • Use Case: Ideal for home or edge deployments running OpenClaw that require resilient uptime and immediate operator alerts via Telegram.

Quick Start

Provide your Telegram bot token and chat ID and run the included setup script to install and start the Watch Dog service.

Dependency Matrix

Required Modules

python3aiohttpopensslnpmopenclaw

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: openclaw-watchdog
Download link: https://github.com/xintuchain/tongtong/archive/main.zip#openclaw-watchdog

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.