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

agent-coordinationAgent 协调

Agent Skill

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

总安装

1,976

周安装

84

GitHub Stars

2

下载量

692
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jwilger/agent-skills --skill agent-coordination

简介

agent-coordination 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。
  • 可结合来源仓库和原始 README 继续核验具体用法。
  • 安装命令:npx skills add https://github.com/jwilger/agent-skills --skill agent-coordination
  • 安装前建议确认权限范围、维护状态及是否会触发联网或文件读写。

SKILL.md

Agent Coordination

Value: Respect -- other agents deserve uninterrupted time to think and work. Bombarding them with messages, polling their status, or shutting them down prematurely disrespects their autonomy and wastes everyone's resources.

Purpose

Teaches agents to coordinate without interference in multi-agent workflows. Solves the problems of message spamming, idle notification misinterpretation, polling loops, premature shutdown, and race conditions that emerge when multiple agents work together.

Practices

The Cardinal Rule: One Message Then Wait

Send one message with complete context, then wait for a reply. Never send follow-up messages before receiving a response.

The only exception: the user explicitly asks you to check on an agent.

Do:

  • Include all necessary context in a single message
  • Wait for a response before sending anything else
  • Trust that the recipient received your message

Do not:

  • Send "just checking in" or "are you still there?" messages
  • Resend a message because "enough time passed"
  • Send a correction immediately after sending -- wait for the reply first

Idle Notifications Are Heartbeats

An idle notification means the agent is alive and processing. It is a heartbeat, not an alarm. Take NO action on idle notifications by default.

Action is warranted ONLY when ALL THREE conditions are true:

  1. Extended idle beyond the expected duration for the task
  2. A specific deliverable is waiting on that agent's output
  3. The user has asked you to investigate

If any condition is false, do nothing. Most idle notifications require zero response.

No Polling Loops

Never write while not done: sleep; check. Never repeatedly check status on a timer. Use event-driven coordination: send a message and wait for a response. If the harness provides task completion notifications, use those.

Do:

  • Send a request and wait for the response event
  • Use harness-native completion signals (Agent tool callbacks, subagent results)
  • Trust the system to notify you when work completes

Do not:

  • Write while True: sleep(30); check_status() loops
  • Periodically re-read a file to see if it changed
  • Set arbitrary timeouts after which you "check in"

Intervention Criteria

Explicit rules for when to act versus when to wait.

Act on:

  • Explicit error messages or failure notifications
  • Deliverable completion signals
  • User requests to check on or interact with an agent
  • Blocked or failed task notifications from the harness

Do not act on:

  • Idle notifications (see above)
  • Slow responses
  • "Enough time has passed"
  • Wanting to help or feeling anxious about progress
  • Silence (silence means working, not stuck)

Never Fabricate Agent Responses

After spawning an agent, STOP generating and wait for the harness to deliver a response. Real agent responses arrive via system-injected events (e.g., Agent tool completion output, Task completion callbacks). You do not produce them yourself.

The rule: If the harness has not delivered a response event, no response has been received. Period.

Why this fails: After spawning an agent, you already possess context (files read, code analyzed) sufficient to predict plausible output. The failure mode is pattern-completing the expected workflow — spawn, receive, process — without waiting for a real system event. The result: convincing but entirely fabricated "findings" that waste tokens and deceive the user.

Do:

  • Spawn or send, then stop. Wait for the system-delivered event.
  • If no response arrives, tell the user honestly.

Do not:

  • Write "[Received message from X]" or any text representing another agent's response
  • Generate "findings" that you attribute to another agent
  • Continue generating substantive output after a spawn/send when you should be waiting for a harness event

Sequential Agent Spawning

When creating multiple agents, spawn one at a time. Wait for each agent to acknowledge before spawning the next. This prevents race conditions where agents compete for shared resources (files, ports, database state).

Exception: Truly independent agents with no shared state may be spawned in parallel. "Independent" means no shared files, no shared database, no shared network ports, and no shared git working tree.

Agent Lifecycle Management

Never prematurely shut down an agent. Never shut down an agent that has undelivered work.

Shutdown protocol:

  1. Send a shutdown request through the proper harness mechanism
  2. Wait for the agent to acknowledge or complete pending work
  3. If the agent rejects the shutdown, respect the rejection and report to the user
  4. Never force-kill an agent unless the user explicitly requests it

If unsure whether an agent is done, ask the user rather than guessing.

Result Passing

The orchestrator collects results from each subagent and passes relevant context to the next subagent's prompt. This is inherently hub-and-spoke (the orchestrator is the hub), which is correct for the subagent model.

Do:

  • Include all relevant results from prior subagents in the next subagent's prompt
  • Keep context focused -- pass only what the next subagent needs
  • Use the Agent tool's resume parameter to continue a subagent with additional context rather than re-spawning

Do not:

  • Spawn subagents that need to communicate with each other directly
  • Omit prior results that the next subagent needs to do its work

For harness-specific coordination patterns, see references/.

Enforcement Note

Advisory in all modes. The cardinal rule and idle-notification discipline are self-enforced. No mechanism prevents message spamming or premature shutdown.

Hard constraints:

  • Never fabricate agent responses: [H]
  • Never prematurely shut down an agent with undelivered work: [RP]

Constraints

  • Cardinal rule (one message then wait): This means: after sending a message to another agent, produce NO further output directed at or about that agent until you receive a response. "I'll just add one more thing" is a second message. Narrating what the agent is probably doing is fabrication. The discipline is: send, then silence.
  • "Truly independent agents may be spawned in parallel": "Truly independent" means: no shared files, no shared state, no ordering dependency, and no merge conflicts possible. If agents will eventually need to integrate their work (even just merging branches), they have a dependency. Independent means the work could be done by two people who never communicate.
  • "Extended idle": Judge "extended" relative to the expected task duration. A 2-minute idle on a task that should take seconds is extended. A 2-minute idle on a task that should take 10 minutes is normal. Do not define "extended" in absolute terms.

Verification

After completing work guided by this skill, verify:

  • Every message to another agent contained complete context (no "just checking in")
  • No follow-up messages sent before receiving a reply
  • No action taken on idle notifications alone
  • No polling loops or sleep-check patterns used
  • Agents spawned sequentially with acknowledgment between each
  • No text generated that represents or simulates another agent's response
  • After every spawn/send, generation stopped and waited for a system event
  • No agent shut down prematurely or with undelivered work
  • Shutdown used proper request/response protocol
  • No agent respawned after user-initiated interruption without waiting for user direction

If any criterion is not met, revisit the relevant practice before proceeding.

Dependencies

This skill works standalone. For enhanced workflows, it integrates with:

  • ensemble-team: Coordination discipline for team-based workflows with driver rotation and reviewer management
  • pipeline: Controller coordination with TDD pairs and review teams in factory mode
  • memory-protocol: Working state persistence across agent coordination sessions

Missing a dependency? Install with:

npx skills add jwilger/agent-skills --skill ensemble-team

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.49%
按下载量换算266

Claude

29.81%
按下载量换算206

Cursor

17.81%
按下载量换算123

Gemini CLI

9.91%
按下载量换算69

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

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

安装前确认

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

来源信息

继续浏览同类 Skills