跳到正文
TakoAPI
返回技能列表

auto-watchdog

由 peti0402 提供

Coding Agents & IDEs
—暂无评分
你的评分

简介

Automatic health monitoring and self-healing for OpenClaw agents.

描述

该技能的功能

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.

何时使用

  • 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

安装

clawhub install peti0402/auto-watchdog

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接