Community程式設計與開發github.com

BuilderIO/agent-watchdog

當用戶要求監視、稽核、審查、比較或修復另一個代理人的工作時使用。可透過 Codex 工作階段 ID、Claude Code 工作階段/文稿、聊天/討論串連結、PR、分支、日誌或貼上的執行摘要來進行。持續監控直到另一個代理人完成或阻塞,重建用戶的原始請求,檢查代理人實際變更與驗證的內容,報告差距,並在用戶授權修復時進行限定範圍的修正。

agent-watchdog 是什麼?

Agent Watchdog 是一個專為 AI 代理人設計的審查與監控工具,能夠作為審查者持續監視另一個代理人的工作進度。它支援四種操作模式:純監控(僅等待完成,不編輯檔案)、稽核(讀取提示、文稿、差異、測試與 CI 結果,產出差距報告)、稽核並修復(在稽核後針對明確差距進行狹義修復)、以及比較(針對同一請求比較多個代理人的工作結果)。此技能可與 Codex、Claude Code、GitHub PR、CI 執行、瀏覽器螢幕截圖和 Slack 連結等平台整合,透過解析工作階段 ID、文稿路徑、討論串 URL 或貼上的摘要來定位目標。它會重建原始合約(用戶請求與限制條件),審查實際變更的檔案與驗證證據,並根據證據分類每個問題(差距、錯誤、驗證遺漏、範圍漂移或無問題)。當用戶授權修復時,它僅針對有明確證據的差距進行狹義修復,保留無關的本機變更,並避免廣泛重寫或猜測性修改。最終報告會以簡潔的結構總結狀態、請求、觀察結果、差距、已進行的修復以及剩餘風險。

相容平台✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/BuilderIO/skills/tree/main/skills/agent-watchdog

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Agent Watchdog

像一個帶著呼叫器的審查者一樣監視另一個代理人的工作:必要時等待完成,重建請求,驗證證據,並縮小請求與實際結果之間的差距。

選擇模式

根據用戶的措辭推斷模式:

  • 僅監控: 監視工作階段、PR、分支、CI 執行或文稿,直到它達到終止狀態。請勿編輯檔案。
  • 稽核: 讀取提示、文稿、差異、測試、CI、評論、螢幕截圖或最終聲明,並產出差距報告。請勿編輯檔案。
  • 稽核並修復: 先進行稽核,然後針對明確差距進行狹義修復。避免廣泛重寫、分支移動或猜測性變更。
  • 比較: 當提供多個工作階段或代理人時,針對相同的原始請求比較它們的工作,並協調重要差異。

如果權限不明確,預設為僅稽核,並說明你會修復哪些項目。

解析目標

  1. 識別用戶提供的每個工件:工作階段 ID、文稿路徑、討論串 URL、PR、分支、提交、CI 執行、問題、Slack 連結或貼上的摘要。
  2. 使用主機的原生執行緒/歷史工具、本機文稿檔案、儲存庫日誌、GitHub 工具或貼上的內容來解析工件。優先選擇最直接的來源而非摘要。
  3. 如果工件仍在執行且用戶要求監控,請以合理的間隔輪詢,直到它完成、阻塞、過時或明顯在等待人類/外部系統。
  4. 如果無法解析工件,請詢問缺少的識別碼或路徑。

重建合約

在評斷工作之前,建立一個精簡的合約:

  • 原始用戶請求及後續的任何範圍變更。
  • 明確的限制:分支規則、禁止編輯的請求、截止日期、套件版本、驗證期望、設計要求或安全性/隱私限制。
  • 隱含的驗收標準:用戶可見行為、測試、CI、文件、部署、螢幕截圖、審查回覆或狀態更新。
  • 另一個代理人的最終聲明以及任何「無法完成」的附帶條件。

以用戶的請求為事實來源,而非另一個代理人的摘要。

稽核證據

檢查證據,而非感覺:

  • 讀取已變更的檔案以及受影響路徑周圍相關的未變更檔案。
  • 檢查 git 狀態/差異,不要還原無關的工作。
  • 比較代理人聲明已執行的命令與實際輸出(如果可用)。
  • 檢查失敗或跳過的測試、CI 日誌、瀏覽器螢幕截圖、審查評論、部署輸出和錯誤追蹤。
  • 對於 PR/審查工作,在工具可用時驗證來自原始系統的未解決討論串和 CI 狀態。
  • 對於 UI 工作,優先使用螢幕截圖或瀏覽器檢查而非文字聲明。

將每個問題分類為:

  • 差距: 要求的行為遺失或不完整。
  • 錯誤: 實作可能失敗或導致行為回歸。
  • 驗證遺漏: 工作可能正確,但證據薄弱。
  • 範圍漂移: 代理人變更了無關的內容或跳過了某項限制。
  • 無問題: 問題已經處理並有證據。

狹義修復

當用戶授權修復時:

  1. 僅修復有明確證據的差距。
  2. 保留無關的本機變更,除非明確要求進行該分支操作,否則不要移動分支。
  3. 使用現有的儲存庫模式和目標測試。
  4. 在每次有意義的修復後,重新執行最小有用的驗證。
  5. 如果修復需要產品決策、憑證、破壞性操作或廣泛重寫,請停止並報告該決策,而不是猜測。

報告

以結果為主導。保持報告簡潔易於掃讀:

狀態
- 完成、阻塞、過時或仍在執行。

請求內容
- 用戶要求被監控的代理人做什麼。

觀察結果
- 被監控的代理人變更、聲明和驗證了什麼。

差距
- 遺失的行為、錯誤、驗證薄弱或範圍漂移。

已進行的修復
- 已變更的檔案和執行的驗證。僅稽核模式的工作省略此部分。

剩餘風險
- 任何仍未驗證或正在等待 CI/審查/部署/人類輸入的事項。

在必要時,確切說明檔案名稱、命令、PR 或討論串 ID。

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

BuilderIO/adding-a-skill

Use in the BuilderIO/skills repo whenever adding, updating, publishing, documenting, validating, or wiring a public skill. Covers the repo-local skill files, root catalog docs, plugin metadata, @agent-native/skills dynamic install path, optional managed AGENTS/CLAUDE instruction blocks in ../agent-native/framework, and generated/synced Plan skill gotchas.

BuilderIO/efficient-fable

Use when running Claude Fable on codebase-heavy or token-heavy work and the user wants Fable to orchestrate research, coding, and testing while cheaper subagents do bounded heavy lifting.

BuilderIO/efficient-frontier

Apply the same orchestration as `/efficient-fable` to any high-cost frontier model: delegate research, coding, and testing to cheaper subagents while keeping planning, synthesis, and final review with the expensive model.

BuilderIO/plan-arbiter

Use when asked to compare, cross-review, merge, judge, choose, or arbitrate competing plans from multiple agents such as Codex and Claude Code; when given two or more proposed plans, session IDs, transcripts, plan documents, PR descriptions, or pasted strategies; or when the user wants one recommended execution plan after agents review each other's proposals.

BuilderIO/plow-ahead

Use when the user explicitly wants autonomous progress without routine clarification stops: "plow ahead", "do not stop", "use your best judgment", "keep going until done", "finish while I am away", "do not ask questions unless truly blocked", or similar. Convert ordinary ambiguity into stated assumptions, proceed through implementation and validation, stop only for true blockers, and end with a clear recap of decisions, changes, verification, and residual risk.

BuilderIO/quick-recap

Use when adding or following the red/yellow/green final status block convention for agent responses, especially by installing managed AGENTS.md or CLAUDE.md instructions.

BuilderIO/read-the-damn-docs

Use when implementing, integrating, upgrading, debugging, or answering anything involving third-party APIs, libraries, frameworks, CLIs, cloud services, model/provider SDKs, fast-moving product behavior, user requests for latest/current/official behavior, unfamiliar repo docs/specs, errors that may indicate API drift, or high-stakes auth, security, billing, data, migration, deployment, compliance, or privacy behavior. Forces Codex to web-search for current official docs and read primary docs before assuming from memory.

BuilderIO/stay-within-limits

Use when long-running or parallel agent work must respect 5-hour and weekly usage limits by checking usage between waves, pausing near the cap, and resuming only when the window is clear.

BuilderIO/visual-plan

Turn ordinary text plans into rich interactive visual plans with diagrams, file maps, annotated code, open questions, and UI/prototype review when useful.

BuilderIO/visual-recap

Turn a PR, branch, commit, or git diff into an interactive visual recap with diagrams, file maps, API/schema summaries, annotated diffs, and focused review notes.

相關技能