运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install task-watchdog-plugin
镜像加速npx clawhub@latest install task-watchdog-plugin --registry https://cn.longxiaskill.com镜像同步中
技能文档
Task Watchdog
OpenClaw 插件 that auto-notifies on sub代理 失败s, exec errors, and stale tasks.
Hooks sub代理_ended: 检测s abnormal outcomes (error/timeout/killed/re设置/删除d) and notifies parent 会话 after_工具_call (exec): Watches for abnormal exec exits (non-zero, OOM, 签名als) heartbeat_prompt_contribution: Injects stale-task patrol instructions into heartbeat cycles gateway_启动: Timer-based patrol that periodically triggers heartbeat 检查s 安装 OpenClaw 插件 安装 OpenClaw-task-watchdog
Config
All optional — works with defaults:
{ "task-watchdog": { "sub代理通知On": ["error", "timeout", "killed"], "exec通知OnAbnormal": true, "timerPatrol": true, "timerPatro代码检查工具valMs": 120000, "staleThresholdMs": 1800000 } }