Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Agent Watchdog

ASecurity

Use when asked to watch, audit, compare, or fix another agent's work given only artifacts - a session ID or transcript, a scheduled/cron run, a PR, branch, CI run, log, or pasted summary. Reconstruct what was asked, verify what happened against evidence, report gaps, fix narrowly only when authorized. Not for a task you just dispatched - that is subagent-driven-development.

2 stars
0 votes
0 copies
0 views
Added 9/19/2026
ai-agentsrustgitsecurity

Works with

terminal

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add Mixard/fable-pack --skill agent-watchdog --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Watchdog?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Agent Watchdog
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mixard-agent-watchdog/badge)](https://www.skillsdirectory.com/skills/mixard-agent-watchdog)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: agent-watchdog
description: Use when asked to watch, audit, compare, or fix another agent's work given only artifacts - a session ID or transcript, a scheduled/cron run, a PR, branch, CI run, log, or pasted summary. Reconstruct what was asked, verify what happened against evidence, report gaps, fix narrowly only when authorized. Not for a task you just dispatched - that is subagent-driven-development.
---

# Agent Watchdog

## Overview

An unattended agent run - a scheduled job, a background session, a teammate's agent - ends with a summary written by the agent itself. Summaries describe intent, not outcome: "done" may mean done, half-done, or done to the wrong spec. Auditing such a run means reconstructing the original contract from artifacts and judging the work against evidence, not against the agent's own account.

**Core principle:** the user's request is the source of truth. The watched agent's summary is a claim to be verified.

## The Iron Law

```
NO VERDICT ON ANOTHER AGENT'S WORK WITHOUT THE RECONSTRUCTED REQUEST AND INSPECTED EVIDENCE
```

If you have not established what was actually asked AND looked at what actually changed (diffs, logs, test output - not prose), you may not report the work as complete or broken.

## Choose the Mode

Infer the mode from the user's wording; when authority is unclear, default to audit-only and say what you would fix.

- **Watch only:** monitor a session, PR, branch, or CI run until it reaches a terminal state. No edits.
- **Audit:** read the prompt, transcript, diff, tests, CI, and final claims; return a gap report. No edits.
- **Audit and fix:** audit first, then make narrow fixes for clear gaps. No broad rewrites, branch movement, or speculative changes.
- **Compare:** given multiple sessions or agents, judge each against the same original request and reconcile the differences that matter.

## Resolve the Target

1. List every artifact supplied: session ID, transcript path, thread URL, PR, branch, commit, CI run, log, or pasted summary.
2. Resolve it through the most direct source available - host history tools, local transcript files, repo logs, `gh` - preferring raw artifacts over anyone's summary.
3. If the run is still in flight and the ask is to watch, poll at a reasonable interval until it is done, blocked, stale, or waiting on a human.
4. If the artifact cannot be resolved, ask for the missing identifier. Do not audit a paraphrase when the primary source was offered.

## Reconstruct the Contract

Before judging anything, write down the contract the watched agent was working under:

- The original request and any later scope changes.
- Explicit constraints: branch rules, no-edit zones, deadlines, version pins, validation expectations, security/privacy limits.
- Implied acceptance criteria: user-visible behavior, tests, CI, docs, status updates.
- The watched agent's final claims and its stated "could not do" caveats.

## Audit the Evidence

Inspect evidence, not vibes:

- Read the changed files and the relevant unchanged files around them.
- Check `git status`/`git diff` without disturbing unrelated local work.
- Compare commands the agent claimed to run against actual output where available.
- Inspect failed or skipped tests, CI logs, review comments, and error traces.
- For PR work, verify unresolved threads and CI state from the source system.
- For UI work, prefer screenshots or a browser check over prose claims.

Classify each issue found:

| Class | Meaning |
|-------|---------|
| **Gap** | Requested behavior is missing or incomplete |
| **Bug** | The implementation likely fails or regresses behavior |
| **Verification miss** | The work may be right but the evidence is weak or absent |
| **Scope drift** | Unrelated changes were made or a constraint was skipped |
| **No issue** | The concern is handled - cite the evidence |

## Fix Narrowly

Only when the user authorized repair:

1. Fix only gaps backed by clear evidence.
2. Preserve unrelated local changes; never move branches unless that exact operation was requested.
3. Follow existing repo patterns; verify with targeted tests.
4. Re-run the smallest useful validation after each meaningful fix.
5. If a fix needs a product decision, credential, destructive action, or broad rewrite - stop and report the decision instead of guessing.

## Report

Lead with the outcome; keep it scannable. Name exact files, commands, PRs, and thread IDs where they matter.

```md
Status
- Done, blocked, stale, or still running.

Requested
- What the user asked the watched agent to do.

Observed
- What the agent changed, claimed, and actually verified.

Gaps
- Missing behavior, bugs, weak verification, scope drift.

Fixes made
- Files changed and validation run. Omit for audit-only.

Remaining risk
- Anything unverified or waiting on CI/review/human input.
```

**Boundary with subagent-driven-development:** its Task Reviewer gates work you just dispatched - the brief, the report, and a fresh diff are already in hand. This skill covers the other case: a run you did not watch, where the contract itself must be reconstructed from artifacts before any judgment is possible.

## Red Flags - STOP and Return to Evidence

- Writing "the agent completed the task" with the agent's summary as the only source
- Judging the work against your guess of the request instead of the reconstructed contract
- Marking a gap "fixed" without re-running the validation that exposed it
- Fixing beyond the evidence - refactors, style passes, branch moves nobody asked for
- Reporting "tests pass" from the transcript's claim rather than a fresh run
- Auditing a pasted summary when the session, diff, or PR was available

**ALL of these mean: STOP. Reconstruct the contract, inspect the artifact.**

## Common Rationalizations

| Excuse | Reality |
|--------|---------|
| "The agent's summary is detailed, so it's accurate" | Detail measures effort, not truth. Summaries describe intent; diffs describe outcome. |
| "Re-running the tests is redundant" | A claim in a transcript is not a test run. Fresh output or it did not happen. |
| "The request is obvious from the diff" | Diffs show what was done, not what was asked. Scope drift hides exactly there. |
| "While I'm here, I'll clean this up too" | Unauthorized fixes are scope drift - the same defect you were sent to find. |
| "It's still running, I'll report from partial output" | Partial state misclassifies in-progress work as gaps. Wait for a terminal state or say it is in flight. |
| "The user trusts the other agent, keep it light" | The user asked for a watchdog. Light audits return the summary they already had. |

## Quick Reference

| Phase | Key activity | Success criteria |
|-------|--------------|------------------|
| **Mode** | Infer watch/audit/fix/compare from wording | Authority is explicit; default audit-only |
| **Resolve** | Reach the primary artifact | Raw source, not a paraphrase |
| **Contract** | Reconstruct request, constraints, acceptance | Judging against the ask, not the summary |
| **Audit** | Inspect diffs, logs, tests, CI | Every issue classified with evidence |
| **Fix** | Narrow, authorized, validated | No branch moves, no speculative rewrites |
| **Report** | Status, gaps, fixes, remaining risk | Exact files, commands, IDs named |

Attribution

MixardMixard
View sourceMore from Mixard →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.

1023331 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3331 votes

catchup

Recovers prior coding-agent session context by running `catchup <agent> --since-compact`, which extracts a clean summary of a previous Codex, Claude Code, Antigravity, OpenCode, or Pi Agent session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", or asks to recover/summarize a previous session before continuing. Do NOT use for the current conversation, git history, or any non-agent log.

611 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →