Skip to content
TakoAPI
Back to skills

auto-watchdog

by peti0402

Coding Agents & IDEs
—Not yet rated
Your rating

Brief

Automatic health monitoring and self-healing for OpenClaw agents.

Description

What This Skill Does

Monitors cron jobs, processes, disk usage, and gateway health for agents running 24/7. Checks log freshness (not just PID) to detect stuck processes, auto-restarts crashed services, rotates oversized logs, and only alerts when something actually breaks.

When to Use It

  • Detecting cron jobs with consecutive errors and alerting immediately
  • Auto-restarting a Node.js process when its log file goes stale
  • Rotating log files that grow beyond a size threshold
  • Checking gateway status on every heartbeat and restarting if down
  • Running silently in the background and only surfacing real problems

Installation

clawhub install peti0402/auto-watchdog

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links