watchdog

watchdog is a skill for Claude Code, Codex from mvschwarz/openrig. It costs 75 tokens per session (1,322 once invoked), scanned A, original, Apache-2.0.

A guide for watchdog policies that periodically check whether a long-running agent workflow has gone idle, drifted, or lost its next task.

In plain words
What is it for?
Use it to write wake, refocus, and alignment-checkpoint messages, detect stale work ownership, and choose check intervals and intervention levels.
Why use it?
It helps choose an appropriate nudge without interrupting active work or adding unnecessary process.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to write wake, refocus, and alignment-checkpoint messages, detect stale work ownership, and choose check intervals and intervention levels.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mvschwarz/openrig/watchdog
About the project

OpenRig is a software harness that coordinates Claude Code and Codex coding agents as one system, with agent teams defined in YAML and launched together. It is for organizing persistent teams of coding agents that can delegate work to specialists and return results or decisions. The catalogue lists 53 skills and one plugin as add-ons for OpenRig.

mvschwarz/openrig · 9,019 stars · on GitHub · openrig.dev

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mvschwarz/openrig --skill watchdog
Clone the repo
git clone --depth 1 https://github.com/mvschwarz/openrig

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for watchdog

README.md
[![agentmods](https://agentmods.dev/badge/skills/mvschwarz/openrig/watchdog/github.svg)](https://agentmods.dev/skills/mvschwarz/openrig/watchdog)
Your own site
<a href="https://agentmods.dev/skills/mvschwarz/openrig/watchdog"><img src="https://agentmods.dev/badge/skills/mvschwarz/openrig/watchdog/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for watchdog

Your own site · 80×15
<a href="https://agentmods.dev/skills/mvschwarz/openrig/watchdog"><img src="https://agentmods.dev/badge/skills/mvschwarz/openrig/watchdog.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,322 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.01322
Opus 5.5 $0.00030 $0.00529
Sonnet 5.5 $0.00015 $0.00264
Haiku 4.5 $0.00007 $0.00132

Measured 19d ago against content hash 88e097e7fe73, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

watchdog scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/daemon/specs/agents/shared/skills/core/watchdog/SKILL.md · 126 lines

How it starts

The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on 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.

Read the full file on GitHub · 126 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 19d ago Changed · +5 lines 88e097e7fe73
  2. 3mo ago First seen · 121 lines · 75 tokens per session scan A 24b2e756e3e9

Subscribe to this mod's changes

watchdog is a skill published in the GitHub repository mvschwarz/openrig (9,019 stars, last pushed today), licensed Apache-2.0. It adds 75 tokens to every session and 1,322 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

watchdog compared with skills from other repositories

watchdog next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
watchdogmvschwarz/openrigSkill9.0ktodayApache-2.0A75Claude Code, Codex
metisWholiver/metisSkill4431mo agoMITA35Claude Code, Codex
metis-browserWholiver/metisSkill4431mo agoMITA82Claude Code, Codex
dynamic-resourcesWholiver/metisSkill4431mo agoMITA11Claude Code, Codex
interviewHmbown/CodeWhaleSkill41kyesterdayMITA40Claude Code, Codex
verifyHmbown/CodeWhaleSkill41kyesterdayMITA25Claude Code, Codex
swarm-pr-reviewZaxbyHub/opencode-swarmSkill549todayMITA91Claude Code