watchdog
它能做什么
这项技能讲解如何为长时间运行的智能体工作设置定时提醒和推动。适合运行智能体团队、而团队有时会停止响应或偏离方向的人。
适用场景
- ✓当一个 AI 智能体已经闲置,需要轻轻推动才能继续的时候。
- ✓当智能体偏离目标,需要把注意力拉回来的时候。
- ✓当你在决定多久检查一次团队,才不会让团队被消息淹没的时候。
技能链接
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/watchdog/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我的 AI 智能体停止了任务的推进。请帮我设置一个温和的提醒,让它继续工作。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能描述了三个层级的推动方式,从轻轻唤醒到较大的重新对齐检查。智能体会选择能解决问题的最轻方式,避免团队被消息淹没。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Watchdog
Continuity checks are timed or evidence-triggered interventions that keep an agent workflow from going idle, drifting, or entering needless bureaucracy. They operationalize the refocus doctrine.
Use this when
- Authoring a watchdog policy for a long-running rig (artifact-pool edges, stale-owner detection, periodic reminders).
- Choosing the intervention level for a stale-owner situation: is this a wake, a refocus, or an alignment checkpoint?
- Drafting wake/refocus/alignment-checkpoint message text that prevents cadence pollution and bureaucracy theater.
- Deciding cadence — scan vs wake intervals, conservative vs aggressive nudging.
Don't use this when
- The agent is actively working and closing artifacts. Prefer no-op.
- The intervention is masking bad startup or workflow design — fix the underlying cause, don't compensate via watchdog.
- The work has a clear next-action handoff already in queue. Use queue nudges instead of a watchdog policy.
The 3-level intervention stack
| Level | Goal | When | What it does |
|---|---|---|---|
| Wake | Restart motion | Owner appears idle, stale, blocked, or missing a next handoff | Small liveness nudge — does NOT reframe the work |
| Refocus | Correct drift | Output shows mode drift, approval regression, weak stop-condition reasoning | Medium alignment nudge — re-centers on role, north star, current approved workstream, coordination mode, stop conditions; does NOT interrupt valid work |
| Alignment checkpoint | Rebuild shared map | Phase boundary, lifecycle mutation, product-intent decision, confusing contradiction | Larger deliberate pause — agent runs full refocus before proceeding |
cron, timers, and rig watchdog are scheduling substrates. They
should NOT imply that every tick means the same semantic action. The
intervention level is chosen by evidence, not cadence.
Current best practice for refocus message text
A well-shaped refocus message:
- Starts with: finish current action first.
- Names the intervention kind: wake, refocus, or alignment checkpoint.
- Names the current approved workstream or says none is known.
- Says what continuity means: continue, verify, hand off, or explicitly park.
- Names stop conditions: scope/risk/posture changes, failed gate, contradictory evidence, or no continuity chain naming a sensible next step.
- Does NOT convert itself into a fresh approval gate.
- Does NOT wake delivery seats unless an approved workflow exists and the owner is stale.
Failure modes (7; verbatim)
- Cadence is too frequent and pollutes the workstream.
- Watchdog wakes the wrong seat instead of the stale owner.
- Refocus text is too rule-shaped and creates brittle behavior.
- Watchdog compensates for bad startup or workflow design instead of revealing it.
- Refocus is misread as a new top-priority task and interrupts the current action.
- Refocus becomes bureaucracy theater: an already-approved workflow stops for re-approval.
- Repeated static nudges teach agents to answer the reminder instead of progressing the artifact.
Artifact-pool loop edges (the first evidence-aware pattern)
The first evidence-aware watchdog use that should remain small and explicit:
- Consumer-pool wake: if a ready artifact exists, wake the consumer loop head.
- Producer-edge repair: if upstream completion exists but the downstream artifact is missing, wake the producer loop head.
Scan cadence and wake cadence are separate. Worked example (the numbers are illustrative; the scan-vs-wake separation is the durable rule): scan every 30 seconds, wake at most every 600 seconds while work remains actionable.
This is not a generic workflow engine. It's a guardrail against cold pools and missing edge artifacts.
Active surface
Daemon rig watchdog is the active host coordination surface for new
work. History records only loud evaluations (sent / terminal);
quiet skip reasons are NOT recorded — POC parity so agents are not
woken about scheduler polls.
Future shape (current limit)
The mature primitive should be evidence-aware: inspect durable queue/workflow state, pane activity, transcript/context growth, and known workstream frontier; classify the intervention as no-op / wake / refocus / alignment-checkpoint; prefer no-op for active owners; render message text from the active orientation graph instead of hard-coding static policy.
Until queue substrate, activity state, and lifecycle
常见问题
这里的 watchdog 是什么?
它是一种定时检查,当智能体看起来停滞或偏离方向时,向其发送一条消息。
这会让我的智能体变得嘈杂吗?
这项技能提醒不要过度检查,并建议选择有效的最轻级别。
智能体正忙的时候要用它吗?
不用。如果智能体正在积极工作并完成任务,这项技能会说明不要做任何操作。
详情
作者的原始描述
Use when configuring `rig watchdog` policies, authoring wake/refocus/alignment-checkpoint messages, or choosing the right intervention level for a stale-owner situation. The 3-level continuity-check stack (wake / refocus / alignment-checkpoint), the discipline that prevents cadence pollution and bureaucracy theater, and the artifact-pool loop-edge pattern for evidence-aware waking.
repo: mvschwarz/openrig
热度
- GitHub 星标
- 8.6k
- 排名
- #12415
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-operated-software
8.6k帮你的智能体设计、构建或调试一个后端包含 AI 智能体的持续运行应用,例如基于 Markdown 或 JSON 的智能体控制层。
agent-operated-workflows
8.6k帮你的智能体判断一个有边界的流程应由 AI 智能体还是普通代码执行,并基于已验证的证据从中断处恢复。
applying-a-permission-policy
8.6k帮你的智能体在团队设置时配置 AI 编程智能体使用的命令权限,让常规命令减少审批提示。
claude-compaction-restore
8.6k帮助 Claude Code 智能体在上下文被压缩后,借助保存的恢复图、对话记录和它改动过的文件,重建工作认知。