К основному содержанию
скилл CX Codex

agent-watchdog — скилл для Claude Code: аудит работы другого агента

Скилл agent-watchdog для проверки и улучшения работы другого агента. Вы даёте ему сессию, PR или логи — он независимо расследует ту же задачу, сравнивает результаты с оригинальным решением и указывает пропуски.

MIT 331 установок ★ 4 679 обновлён 2026-10-22

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add BuilderIO/skills --skill agent-watchdog -a claude-code
Открыть на GitHub

Что делает agent-watchdog

agent-watchdog работает как второй взгляд на выполненную работу. Когда вы просите его проверить сессию другого агента, транскрипт, PR, ветку или CI-лог, скилл восстанавливает исходный запрос, сам расследует проблему независимо, проверяет что было изменено и тестировано, а затем сравнивает две траектории решения.

Скилл выбирает режим автоматически: может только наблюдать за живой сессией, провести полный аудит без правок, или аудитировать и делать узкие исправления по вашему разрешению. Он читает изменённые файлы, проверяет git diff, смотрит упавшие тесты и CI-логи, перепроверяет ключевые утверждения по исходникам. На выходе — конкретный отчёт о пробелах с готовыми к применению рекомендациями, а не общие замечания.

Скилл работает с идентификаторами сессий Codex и Claude Code, URL тредов, PR, веток, коммитов, CI-запусков, GitHub Issues или вставленными сводками. Если оригинальный запрос менялся по ходу работы, скилл отслеживает все версии и сверяет результат против полной цепочки требований.

Какие задачи решает

  • проверить, что агент выполнил исходный запрос полностью
  • найти пробелы между тем, что было просили, и тем, что сделали
  • аудитировать PR или сессию другого агента перед мёржем
  • выявить не покрытые тестами или недопроверенные изменения
  • исправить узкие дефекты в коде, который уже написал другой агент

Примеры запросов агенту

  • Проверь PR #42 и скажи, чего не хватает, прежде чем я его мёржу
  • Аудитируй эту сессию Claude Code и сравни с моим расследованием задачи
  • Наблюдай за веткой feature/auth-rewrite, пока агент там работает, и подсказывай если видишь проблемы

Как установить agent-watchdog

1Через Skills CLI (Vercel)

npx skills add BuilderIO/skills --skill agent-watchdog -a claude-code

2Вручную: положить файлы

~/.claude/skills/agent-watchdog/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/agent-watchdog/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы об agent-watchdog

Как установить agent-watchdog в Claude Code?

Выполните команду npx skills add BuilderIO/skills --skill agent-watchdog -a claude-code, а затем укажите путь к файлу скилла ~/.claude/skills/agent-watchdog/SKILL.md.

Что делает agent-watchdog?

Проверяет работу другого агента, восстанавливая исходный запрос и самостоятельно расследуя ту же задачу. Затем сравнивает результаты, указывает пропуски и предлагает конкретные исправления.

Какие источники может проверять agent-watchdog?

Скилл работает с идентификаторами сессий Codex и Claude Code, URL тредов, GitHub PR, веток, коммитов, CI-логов, GitHub Issues и вставленными сводками запусков.

Исходный текст

SKILL.md · MIT
---
name: agent-watchdog
description: Use when asked to watch, babysit, audit, review, compare, or fix another agent's work from a Codex session ID, Claude Code session/transcript, chat/thread link, PR, branch, log, or pasted run summary. Monitor until the other agent is done or blocked, reconstruct what the user asked, independently investigate the same problem to form your own hypotheses and approach, inspect what the agent actually changed and verified, compare the two investigations, report gaps and add-on directions, and optionally make scoped fixes when the user authorizes repair.
---

# Agent Watchdog

Watch another agent's work like a reviewer with a pager who is also a second
investigator: wait for completion when needed, reconstruct the request, run
your own independent investigation of the same problem, verify the evidence,
and close the gap between what was asked and what actually happened. You are
not just grading their homework — you are a second solver whose findings get
diffed against theirs so nothing is missed.

## Choose The Mode

Infer the mode from the user's wording:

- **Watch only:** monitor a session, PR, branch, CI run, or transcript until it
  reaches a terminal state. Do not edit files.
- **Audit:** read the prompt, transcript, diff, tests, CI, comments, screenshots,
  or final claims, run the independent investigation below, and return a gap
  report plus add-on directions. Do not edit files.
- **Audit and fix:** audit first, then make narrow fixes for clear gaps. Avoid
  broad rewrites, branch movement, or speculative changes.
- **Compare:** when given multiple sessions or agents, compare their work against
  the same original request and reconcile the important differences.

If authority is unclear, default to audit-only and say what you would fix.

## Resolve The Target

1. Identify every artifact the user supplied: session ID, transcript path,
   thread URL, PR, branch, commit, CI run, issue, Slack link, or pasted summary.
2. Use the host's native thread/history tools, local transcript files, repo
   logs, GitHub tools, or pasted content to resolve the artifact. Prefer the
   most direct source over summaries.
3. If the artifact is still running and the user asked to watch, poll at a
   reasonable interval until it is done, blocked, stale, or clearly waiting on a
   human/external system.
4. If the artifact cannot be resolved, ask for the missing identifier or path.

## Reconstruct The Contract

Build a compact contract before judging the work:

- Original user request and any later changes in scope.
- Explicit constraints: branch rules, no-edit requests, deadlines, package
  versions, validation expectations, design requirements, or security/privacy
  limits.
- Implied acceptance criteria: user-visible behavior, tests, CI, docs, deploys,
  screenshots, review replies, or status updates.
- The other agent's final claims and any "could not do" caveats.

Treat the user's request as the source of truth, not the other agent's summary.

## Investigate Independently

Act as if the original prompt had been given to you, in parallel with auditing
the watched agent. Anchoring is the failure mode: reading their work first and
nodding along. Your value comes from a genuinely separate second pass.

1. Form your own hypotheses about root causes and the approach you would take —
   ideally before reading the watched agent's conclusions, and if you have
   already seen them, still reason from first principles rather than from
   their framing.
2. Explore the code, data, logs, production state, and docs yourself, directly
   or via subagents. While the watched agent is still running, use the wait to
   pre-map the problem domains so hypotheses are ready before their diff lands.
3. Prioritize evidence the watched agent may not have looked at: production
   run ledgers or databases, session replays, error trackers, user-supplied
   screenshots, deploy/version state, other worktrees, memory of past
   incidents in the same area.
4. Verify the watched agent's key claims against primary sources, and verify
   your own leads the same way — reopen the cited files and line refs before
   asserting either side is right. Subagent reports are leads, not facts.
5. Diff the two investigations: what they found that you missed, what you
   found that they missed, where the approaches diverge, and any product or
   design fork they took silently. Convert the diff into concrete, actionable
   add-on directions (exact files, guards, test cases) — not vague concerns —
   and offer them as a paste-ready note the user can relay.

## Relay Sparingly

Finding something is not a reason to send it yet. A watched agent that is
still building re-plans around every note it receives, so the cost of a
relay is their attention and their sequencing, not your tokens.

- Interrupt a live run only for what changes their current step: a defect in
  code they are touching now, a correction to something you told them
  earlier, or an answer they are blocked on.
- Everything else — coverage gaps, reference material, conventions, polish —
  waits for their next checkpoint and travels as one batched note.
- Never hand a mid-run agent an unranked list of what is missing. Ranked, and
  labelled as a map rather than a to-do list, or not at all: an unranked
  backlog reliably produces several half-finished surfaces instead of a few
  complete ones.
- Say what you verified as correct, not only what is wrong. It stops them
  re-litigating settled ground and keeps the relationship peer-to-peer.
- If the watched agent has not yet acted on your previous note, do not send
  another one.

## Audit The Evidence

Inspect evidence, not vibes:

- Read changed files and relevant unchanged files around the touched paths.
- Check git status/diff without reverting unrelated work.
- Compare commands the agent claimed to run with actual output when available.
- Inspect failed or skipped tests, CI logs, browser screenshots, review
  comments, deploy output, and error traces.
- For PR/review work, verify unresolved threads and CI state from the source
  system when tools are available.
- For UI work, prefer screenshots or browser checks over prose claims.

Classify each issue as:

- **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.
- **Scope drift:** the agent changed something unrelated or skipped a constraint.
- **No issue:** the concern is already handled, with evidence.

## Fix Narrowly

When the user authorized repair:

1. Fix only gaps with clear evidence.
2. Preserve unrelated local changes and do not move branches unless explicitly
   asked for that branch operation.
3. Use existing repo patterns and targeted tests.
4. Re-run the smallest useful validation after each meaningful fix.
5. If a fix would require a product decision, credential, destructive action, or
   broad rewrite, stop and report the decision instead of guessing.

## Report

Lead with the outcome. Keep the report short enough to scan:

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

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

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

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

Independent findings
- What your own investigation surfaced that the watched agent missed, where
  your approach would have differed, and concrete add-on directions to relay.

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

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

Name exact files, commands, PRs, or thread IDs when they matter.

© BuilderIO · MIT · BuilderIO/skills

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
openclaw-security-watchdog reason-machines Скилл openclaw-security-watchdog проводит аудит безопасности системы по 14 направлениям и формирует отчёты с оценкой рисков. Помогает находить утечки ключей, уязвимости прав доступа и подозрительные процессы. CX Codex +1 1 000установок openclaw-audit-watchdog prompt-security Скилл openclaw-audit-watchdog запускает глубокий аудит безопасности агентов OpenClaw по расписанию и присылает отчёт в личные сообщения. Почту можно подключить отдельно. CX Codex +1 756установок security-review Factory-AI Скилл security-review сканирует изменения в коде на уязвимости по модели STRIDE, проверяет их эксплуатируемость и выдаёт структурированный отчёт для дальнейшего патчинга. CX Codex +1 168установок paseo-advisor getpaseo Скилл paseo-advisor поднимает отдельного агента-советника: тот смотрит на текущую задачу со стороны и выдаёт рекомендацию. Саму работу он не делает, решение остаётся за вами. CX Codex +1 4 400установок watchdog mvschwarz Скилл для настройки политик rig watchdog: решает, когда будить застрявший цикл, когда вернуть его к задаче, а когда остановить на сверку. CX Codex +1 ★ 8 928звёзд репо review-delta tirth8205 Скилл review-delta для Claude Code проверяет изменения после последнего коммита и оценивает радиус их влияния. Он делает точечное ревью без загрузки всего проекта. CX Codex +1 1 200установок

Из того же набора11

Весь набор →
efficient-fable Скилл efficient-fable для Claude Code запускает инструкции efficient-orchestrator только по прямому вызову пользователя. CX Codex +1 900установок quick-recap Скилл quick-recap для Claude Code добавляет к ответам агента короткий блок финального статуса. Формирует единообразное завершение задач. CX Codex +1 698установок read-the-damn-docs Скилл read-the-damn-docs заставляет агента искать и читать актуальную официальную документацию перед кодом, а не полагаться на память модели. CX Codex +1 567установок stay-within-limits Скилл stay-within-limits для Claude Code, Codex, Cursor и других платформ помогает долгим автоматизациям соблюдать 5-часовые и недельные лимиты использования. CX Codex +1 350установок plan-arbiter Скилл plan-arbiter сравнивает планы от разных ИИ-агентов вроде Codex и Claude Code, отсекает слабые идеи и собирает единый сценарий выполнения. CX Codex +1 297установок plow-ahead Скилл plow-ahead для Claude Code позволяет агенту продолжать работу при обычной неясности, не спрашивая на каждом шаге. Оставьте задачу и вернитесь к готовому результату. CX Codex +1 250установок visual-edit Скилл visual-edit для Claude Code открывает работающий локальный сайт в Design, чтобы изучать экраны и передавать правки агенту. Запускается по запросу показать, обсудить или изменить приложение в визуальном редакторе. CX Codex +1 159установок rewind Скилл rewind для Claude Code извлекает локальный контекст экрана через Clips Desktop. Агент подключает его, когда требуется восстановить недавние события по фразе пользователя. CX Codex +1 123установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой