Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

controller-proxy-watchdog控制器 Agent 看门狗

Agent Skill

controller-proxy-watchdog 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

188

周安装

8

GitHub Stars

公开资料未说明

下载量

66
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:controller-proxy-watchdog(控制器 Agent 看门狗)
来源仓库:https://github.com/kcaswick/agent-skills
仓库路径:skills/controller-proxy-watchdog
安装命令:
npx skills add https://github.com/kcaswick/agent-skills --skill controller-proxy-watchdog
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/kcaswick/agent-skills --skill controller-proxy-watchdog

简介

controller-proxy-watchdog 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。

  • 适用于后台看门狗监控,定期向 controller-proxy 面板发送协调提示。
  • 支持自检、交叉检阅与随机探索循环结构定义。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。

SKILL.md

Controller Proxy Watchdog

This skill runs a background watchdog that periodically sends a coordination prompt into a controller-proxy pane. It does not assign beads directly.

Files

  • scripts/watchdog_controller_proxy.sh: core watchdog loop
  • scripts/start.sh: start watchdog in a dedicated window inside the controlled tmux session
  • scripts/stop.sh: stop watchdog window
  • scripts/status.sh: show watchdog window state, recent pane output, and logs

Dependency Skills

SkillRole in this workflow
agent-swarm-workflowDefines self-review, cross-review, and random-exploration loop structure that the watchdog prompts the controller to execute
beads-workflowProvides bead create/update/close lifecycle so quality-loop work is tracked as beads, not ad-hoc notes

Properties

  • Uses br for readiness/progress state.
  • Selects controller pane by title regex (not pane number).
  • Runs as a watchdog window inside the controlled tmux session.
  • Discovers the controller with tmux list-panes -a and captures its tmux pane id (%27, %31,...), which is globally unique within the session.
  • Sends messages with ntm --robot-send... --panes=<pane_id> --json.
  • Treats partial or failed robot-send results as errors.
  • Uses Agent Mail + explicit ntm --robot-send... handoff commands for <<<CHECK MAIL>>>... <<<END CHECK MAIL>>> assignment-completion pings.
  • Requires pane-readiness verification before targeted worker sends.
  • Uses session-derived log file by default:

- /tmp/<session>-watchdog-controller-proxy.log

  • Writes output to both the watchdog pane and the log file.
  • Tracks quality loops via companion beads (e.g. Quality loops for bd-...), not tmp ledgers. Tracking explicitly includes creating the companion bead whenever/wherever a quality loop is needed and no such bead exists yet.
  • Exit behavior is configurable:

- confirm (default): sends a recurring action-required verify-completion notice on each closed-epic tick and waits for manual stop - auto: exits immediately when the epic is closed

Required Pre-Send Pane Check

Before sending any targeted assignment to a worker pane (from the controller), perform this readiness check first. Do not send blindly by pane index.

Operational rule: never interpret "only one visible pane in the current window" as "the session only has one pane." Before adding or reassigning workers, inspect all tmux windows/panes in the session.

  1. Check pane command/title state:
\tmux list-panes -t <session> -F '#{pane_index}|#{pane_title}|#{pane_current_command}'
  1. Check recent pane output:
\tmux capture-pane -t <session>:<window>.<pane> -p | tail -n 40
  1. Never send recovery keystrokes to the user's active pane. Check first: \tmux list-panes -t <session> -F '#{pane_index}|#{pane_active}|#{window_active}' If pane_active=1 and window_active=1, the user is working in that pane. Skip recovery and route work elsewhere.
  2. Recover based on observed state:

- Agent hanging with unsubmitted input (prompt visible, cursor at end of a message that was never submitted — common when a trailing newline was absorbed into the message body): \tmux send-keys -t <session>:<window>.<pane> Enter - Pane in shell mode (sh, bash, zsh, etc.) or suspended process: \tmux send-keys -t <session>:<window>.<pane> C-c Enter \tmux send-keys -t <session>:<window>.<pane> 'fg' Enter - If still not agent-ready, restart/recover the pane before assignment.

  1. Only send assignment after the pane shows active agent prompt context.

Controller rule: if a pane is not confirmed ready, recover it first or route the work to another ready pane.

Required Handoff Pattern

For every targeted assignment sent to a worker pane:

  • Instruct the worker to send the detailed result via Agent Mail (with a bead/topic-specific subject or topic).
  • Instruct the worker to ping pane 1 with a short handoff marker, and include the exact ntm --robot-send command with the real session name and worker pane index filled in. Do not assume the worker knows the syntax: ntm --robot-send=<session> --panes=1 --msg="<<<CHECK MAIL>>> paneN <bead-or-task> <short status> <<<END CHECK MAIL>>>"
  • Treat pane pings as notification-only. Source of truth is the Agent Mail body content, which the controller must fetch before marking work complete.

Start

~/.agents/skills/controller-proxy-watchdog/scripts/start.sh \
  --session project-session \
  --project-dir /abs/path/to/project \
  --controller-title-regex 'controller.*claude|controller.*codex|controller.*proxy' \
  --epic bd-epic \
  --beads bd-a,bd-b,bd-c \
  --interval-seconds 420 \
  --exit-mode confirm

Status

~/.agents/skills/controller-proxy-watchdog/scripts/status.sh --session project-session

Stop

~/.agents/skills/controller-proxy-watchdog/scripts/stop.sh --session project-session

Quality Loop Tracking

Quality loops are treated as regular beads.

Controller requirements:

  • For each implementation bead that needs post-bead loops, ensure there is an open companion bead named Quality loops for bd-....
  • If no open companion bead exists, create one before assigning/running loop work.
  • A previously closed Quality loops for bd-... bead does not satisfy this requirement for a reopened implementation bead; create a new open companion bead for the new loop cycle.
  • Run all required loops (self-review, cross-review, random exploration) and record findings.
  • Close each Quality loops for bd-... bead only after findings are recorded (or explicitly recorded as no findings).
  • For loop assignments, require Agent Mail findings plus an explicit ntm --robot-send=<session> --panes=1 --msg="<<<CHECK MAIL>>> paneN <bead-or-task> <short status> <<<END CHECK MAIL>>>" instruction for each worker before closure.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.96%
按下载量换算22

Claude

30.21%
按下载量换算20

Cursor

18.11%
按下载量换算12

Gemini CLI

9.33%
按下载量换算6

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/kcaswick/agent-skills --skill controller-proxy-watchdog 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills