Token导航 LogoToken导航

Agent Skill · 研究检索

coordinate-swarm(坐标群)

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

coordinate-swarm 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 60,488。

总安装 367周安装 15GitHub Stars 12下载 119核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/pjt222/development-guides --skill coordinate-swarm

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。适合根据关键词、任务场景或来源线索快速定位候选结果。可结合来源仓库和原始 README 核验具体用法。安装前建议确认权限范围、维护状态及是否会触发联网或文件读写。

coordinate-swarm 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/coordinate-swarm

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/pjt222/development-guides --skill coordinate-s…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

coordinate-swarm 怎么安装?

在终端执行 npx skills add https://github.com/pjt222/development-guides --skill coordinate-swarm。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

coordinate-swarm 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

coordinate-swarm 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

coordinate-swarm 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

coordinate-swarm 用的人多吗?

公开数据是累计安装 367 次,近一周安装 15 次,下载 119 次,GitHub 12 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

coordinate-swarm 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
coordinate-swarm

坐标群 · 本页

36712需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Coordinate Swarm

Establish coordination across distributed agents using stigmergy (indirect communication through environment modification), local interaction rules, and quorum sensing — enabling coherent collective behavior without a central controller.

When to Use

  • Designing distributed systems where no single node should be a coordination bottleneck
  • Organizing teams or workflows that must self-coordinate without constant management oversight
  • Building event-driven architectures where components communicate through shared state rather than direct messaging
  • Scaling a process that works well with 3 agents but breaks down at 30
  • Bootstrapping coordination patterns for a new swarm-style domain (see forage-resources, build-consensus)
  • Replacing fragile centralized orchestration with resilient emergent coordination

Inputs

  • Required: Description of the agents (workers, services, team members) that need coordination
  • Required: The collective goal or desired emergent behavior
  • Optional: Current coordination mechanism and its failure modes
  • Optional: Number of agents (affects pattern selection — small swarms vs. large colonies)
  • Optional: Latency tolerance (real-time vs. eventual coordination)
  • Optional: Environmental constraints (shared state availability, communication bandwidth)

Procedure

Step 1: Identify the Coordination Problem Class

Classify the coordination challenge to select appropriate patterns.

  1. Map the current state: who are the agents, what do they do individually, where does coordination break down?
  2. Classify the problem:

- Foraging — agents search for and exploit distributed resources (see forage-resources) - Consensus — agents must agree on a collective decision (see build-consensus) - Construction — agents build or maintain a shared structure incrementally - Defense — agents detect and respond to threats collectively (see defend-colony) - Division of labor — agents must self-organize into specialized roles

  1. Identify the failure mode of current coordination:

- Single point of failure (centralized controller) - Communication bottleneck (too many direct messages) - Coherence loss (agents drift apart without feedback) - Rigidity (cannot adapt to changing conditions)

Expected: A clear classification of the coordination problem type and the specific failure mode to address. This determines which swarm patterns to apply.

On failure: If the problem doesn't fit a single class, it may be a composite. Decompose into sub-problems and address each with the appropriate pattern. If agents are too heterogeneous for a single coordination model, consider layered coordination — homogeneous clusters coordinated via inter-cluster stigmergy.

Step 2: Design Stigmergic Signals

Create the indirect communication channels through which agents influence each other's behavior.

  1. Define the shared environment (database, message queue, file system, physical space, shared board)
  2. Design signals that agents deposit into the environment:

- Trail signals: markers that accumulate along successful paths (like ant pheromones) - Threshold signals: counters that trigger behavior changes when they cross thresholds - Inhibition signals: markers that repel agents from exhausted areas

  1. Define signal properties:

- Decay rate: how quickly signals fade (prevents stale state from dominating) - Reinforcement: how successful outcomes strengthen signals - Visibility radius: how far a signal propagates

  1. Map signals to agent behaviors:

- When an agent detects signal X above threshold T, it performs action A - When an agent completes action A successfully, it deposits signal Y - When no signal is detected, the agent follows its default exploration behavior

Signal Design Template:
┌──────────────┬───────────────────┬──────────────┬────────────────────┐
│ Signal Name  │ Deposited When    │ Decay Rate   │ Agent Response     │
├──────────────┼───────────────────┼──────────────┼────────────────────┤
│ success-trail│ Task completed OK │ 50% per hour │ Follow toward      │
│ busy-marker  │ Agent starts task │ On completion│ Avoid / pick other │
│ help-signal  │ Agent stuck >5min │ 25% per hour │ Assist if nearby   │
│ danger-flag  │ Error detected    │ 10% per hour │ Retreat & report   │
└──────────────┴───────────────────┴──────────────┴────────────────────┘

Expected: A signal table mapping environmental markers to agent deposit conditions, decay rates, and response behaviors. Signals should be simple, composable, and independently meaningful.

On failure: If signal design feels overly complex, reduce to two signals: one positive (success trail) and one negative (danger flag). Most coordination problems can be bootstrapped with attract/repel dynamics. Add nuance only after the basic system is functioning.

Step 3: Define Local Interaction Rules

Specify the simple rules each agent follows, using only local information (their own state + nearby signals).

  1. Define the agent's perception radius (what can it sense?)
  2. Write 3-7 local rules in priority order:

- Rule 1 (safety): If danger-flag detected, move away - Rule 2 (response): If help-signal detected and idle, move toward - Rule 3 (exploitation): If success-trail detected, follow toward strongest signal - Rule 4 (exploration): If no signals detected, move randomly with bias toward unexplored areas - Rule 5 (deposit): After completing task, deposit success-trail at location

  1. Each rule must be:

- Local: depends only on what the individual agent can perceive - Simple: expressible in one if-then statement - Stateless (preferred): does not require the agent to remember past states

  1. Test rules mentally: if every agent follows these rules, does the desired collective behavior emerge?

Expected: A prioritized rule set that each agent executes independently. When applied across the swarm, these local rules produce the target collective behavior (foraging, construction, defense, etc.).

On failure: If mental simulation doesn't produce the desired emergent behavior, the rules likely need a feedback loop — agents must be able to observe the consequences of their collective actions. Add a signal that represents the collective state (e.g., "task completion rate") and a rule that adjusts behavior based on it.

Step 4: Calibrate Quorum Sensing

Set thresholds that trigger collective state changes when enough agents agree.

  1. Identify decisions that require collective agreement (not just individual response):

- Switching from exploration to exploitation mode - Committing to a new work site or abandoning an old one - Escalating from normal to emergency response

  1. For each collective decision, define:

- Quorum threshold: number or percentage of agents that must signal agreement - Sensing window: time period over which signals are counted - Hysteresis: different thresholds for activation vs. deactivation (prevents oscillation)

  1. Implement quorum as signal accumulation:

- Each agent that favors the decision deposits a vote-signal - When accumulated votes exceed the quorum threshold within the sensing window, the decision activates - When votes drop below the deactivation threshold, the decision reverses

Expected: Quorum thresholds that allow the swarm to make collective decisions without a leader. The hysteresis gap prevents rapid oscillation between states.

On failure: If the swarm oscillates between states, widen the hysteresis gap (e.g., activate at 70%, deactivate at 30%). If the swarm never reaches quorum, lower the threshold or increase the sensing window. If decisions are too slow, reduce the sensing window — but beware of premature consensus.

Step 5: Test and Tune Emergent Behavior

Validate that local rules produce the desired collective behavior, then tune parameters.

  1. Run a simulation or pilot with a small number of agents (5-10)
  2. Observe:

- Does the swarm converge on the intended behavior? - How long does convergence take? - What happens when conditions change mid-task? - What happens when agents fail or are added?

  1. Tune parameters:

- Signal decay rate: too fast → no coordination memory; too slow → stale signals dominate - Quorum threshold: too low → premature collective decisions; too high → paralysis - Exploration-exploitation balance: too much exploration → inefficient; too much exploitation → local optima

  1. Stress test:

- Remove 30% of agents suddenly — does the swarm recover? - Double the agent count — does the swarm still coordinate? - Introduce conflicting signals — does the swarm resolve or deadlock?

Expected: A tuned parameter set where the swarm self-organizes toward the target behavior, recovers from perturbations, and scales gracefully.

On failure: If the swarm fails stress tests, the signal design is likely too tightly coupled. Simplify: reduce to fewer signals, increase decay rates (fresher information), and ensure agents have a robust default behavior when no signals are present. A swarm that does something reasonable with zero signals is more resilient than one that depends on signal availability.

Validation

  • Coordination problem is classified into a recognized pattern (foraging, consensus, construction, defense, division of labor)
  • Stigmergic signal table is defined with deposit conditions, decay rates, and agent responses
  • Local interaction rules are simple, local, and prioritized (3-7 rules)
  • Quorum thresholds are set with hysteresis to prevent oscillation
  • Small-scale test shows emergent behavior matching the collective goal
  • Stress test (agent removal, addition, signal disruption) shows graceful degradation

Common Pitfalls

  • Over-engineering signals: Starting with too many signal types creates confusion. Begin with 2 signals (attract/repel) and add only when proven necessary
  • Centralized thinking in disguise: If your "local rule" requires an agent to know the global state, it's not local. Refactor until each rule depends only on what the agent can directly perceive
  • Ignoring decay: Signals that never decay create fossilized coordination state. Every signal needs a half-life appropriate to the task's time scale
  • Zero hysteresis: Quorum thresholds without a gap between activation and deactivation cause rapid state oscillation. Always set deactivation lower than activation
  • Assuming homogeneity: If agents have different capabilities, a single rule set may not work. Consider role-differentiated rules (see scale-colony)

Related Skills

  • forage-resources — applies swarm coordination specifically to resource search and explore-exploit tradeoffs
  • build-consensus — deep dive into distributed agreement mechanisms, extending the quorum sensing from this skill
  • defend-colony — collective defense patterns that build on the signal and rule framework here
  • scale-colony — scaling strategies for when the swarm outgrows its initial coordination design
  • adapt-architecture — morphic skill for transforming system architecture, complementary when swarm coordination triggers structural change
  • deploy-to-kubernetes — practical distributed system deployment where swarm coordination patterns apply
  • plan-capacity — capacity planning informed by swarm scaling dynamics
  • coordinate-reasoning — AI self-application variant; maps stigmergic signals to context management with information decay rates and local protocols

平台分布

Codex

37.76%
按下载量换算45

Claude

29.48%
按下载量换算35

Cursor

19.86%
按下载量换算24

Gemini CLI

8.91%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills