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

compound-eng-orchestrating-swarms复合工程编排集群

Agent Skill

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

总安装

9,033

周安装

369

GitHub Stars

公开资料未说明

下载量

2,922
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:compound-eng-orchestrating-swarms(复合工程编排集群)
来源仓库:https://github.com/iliaal/compound-eng-orchestrating-swarms
安装命令:
openclaw skills install compound-eng-orchestrating-swarms
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install compound-eng-orchestrating-swarms

简介

compound-eng-orchestrating-swarms 协调多代理群实现并行与管道工作流程。

  • 适用于 OpenClaw 中运行并发审查、构建 CI/CD 流水线或分布式任务调度时使用。
  • 支持任务分发、结果聚合与异常重试机制,提升协作效率。
  • 安装需确认代理间通信协议与资源配额,避免竞争条件导致死锁。
  • 涉及关键业务逻辑时应设置超时与熔断策略,防止级联故障。

SKILL.md

name
ia-orchestrating-swarms
class
workflow
description
>-

Swarm orchestration

Primitives

Agents, teams, teammates, leaders, tasks, inboxes, messages, backends — see primitives.md for definitions and the file-system layout.


Two Ways to Spawn Agents

AspectTask (subagent)Task + team_name + name (teammate)
LifespanUntil task completeUntil shutdown requested
CommunicationReturn valueInbox messages
Task accessNoneShared task list
Team membershipNoYes
CoordinationOne-offOngoing
Best forSearches, analysis, focused workParallel work, pipelines, collaboration

Subagent (short-lived, returns result):

Task({ subagent_type: "Explore", description: "Find auth files", prompt: "..." })

Teammate (persistent, communicates via inbox):

Teammate({ operation: "spawnTeam", team_name: "my-project" })
Task({ team_name: "my-project", name: "worker", subagent_type: "general-purpose",
       prompt: "...", run_in_background: true })

For detailed agent type descriptions, see agent-types.md.

Parallel Fan-Out (for independent work)

When dispatching multiple read-only or worktree-isolated agents whose work is independent, issue all Task calls in a SINGLE assistant message. Sequential dispatch across separate messages serializes what should run concurrently. Opus 4.7 does not parallelize by default -- state it explicitly.

// Correct: one message, multiple Task tool uses
Task({ subagent_type: "security-sentinel", ... })
Task({ subagent_type: "performance-oracle", ... })
Task({ subagent_type: "architecture-strategist", ... })

Sequential dispatch (each Task in its own message, waiting on the previous to return) is a serialization bug, not a coordination pattern. If agents truly depend on each other's output, that is a pipeline -- see Coordination Models below.

Bounded parallelism when the harness caps active subagents. Single-message fan-out (above) tells Opus to dispatch in parallel; the harness then decides how many to *run* concurrently. When the harness accepts the dispatch but caps active execution, queue the overflow rather than failing. Dispatch as many as the harness accepts in the first batch, treat transient capacity-related spawn errors as backpressure (any retryable error indicating the limiter rejected the dispatch — exact wording varies across harness versions and platforms; do not pattern-match on a fixed string list), and re-dispatch queued agents as active ones complete. Record an agent as failed only after a successful dispatch times out or returns an error, or when dispatch fails for a non-capacity reason (bad tool name, malformed prompt, missing permission). The fan-out is still parallel — it is just rate-capped to whatever the harness can run concurrently.


Quick Reference

For copy-paste spawn/message/task/shutdown snippets, load quick-reference.md.


Dispatch Discipline

Rules for when and how to dispatch agents. Getting these wrong wastes tokens and creates hard-to-debug failures.

When to dispatch a team vs. do it yourself:

Assess 5 signals: file count, module span, dependency chain, risk surface, parallelism potential. If 3+ fall in the "complex" column, dispatch a team. Below 3, do it yourself. When in doubt, prefer the simple path -- team overhead is only justified when parallelism provides a real speedup.

Task description template (for every dispatched task):

Every task prompt must include these fields to prevent integration failures:

  • Objective: what to accomplish (one sentence)
  • Owned Files: files this agent creates or modifies (exclusive -- no file assigned to multiple agents)
  • Interface Contracts: what to import from other agents' work, what to export for downstream agents
  • Acceptance Criteria: how the agent knows the task is correct
  • Out of Scope: what NOT to touch, even if it looks related

Cardinal rule: one owner per file. When files must be shared, designate a single owner; other agents send change requests, owner applies sequentially. If an upstream dependency isn't ready yet, write a stub/mock so downstream work can continue unblocked.

No parallel implementation agents (without worktrees):

Implementation agents share state via git by default, so parallel dispatch causes overwrites. Use isolation: "worktree" to give each agent its own copy. Without worktrees, dispatch implementation agents sequentially. Review, research, and analysis agents are always safe to parallelize (read-only).

Pre-dispatch file-intersection check -- operationalize the one-owner-per-file rule with a runnable safety gate before every parallel dispatch:

  1. Collect each unit's declared Owned Files / Test Paths / Modify Paths from its task spec.
  2. Build a {file → unit} map. If any file appears under more than one unit, the dispatch is unsafe. Quick check on Markdown task specs:
   grep -h "^Owned Files:" -A 20 tasks/*.md | grep -v "^Owned Files:" | grep -v "^--$" | sort | uniq -d

Any output is an overlapping file path that needs resolution.

  1. On overlap: either downgrade to serial (log the overlap and the reason), or assign worktree isolation (isolation: "worktree" per agent), or rewrite unit boundaries so files become exclusive.
  2. Even with no declared overlap, include this constraint verbatim in every parallel-dispatch prompt: *"Do not run git add, git commit, or the project's test suite while other parallel agents are active -- you'd race on the git index or thrash the test cache. Stage changes for the orchestrator to commit after integration."*

The intersection check catches silent conflicts the controller misses at plan time; the dispatch-prompt constraint catches them when a unit's file list was incomplete.

Preset team compositions: Start from a named preset before designing a custom team. See team-compositions.md for the full table (Review / Debug / Feature / Fullstack / Migration / Security / Research), the cardinal subagent_type rule (read-only agents cannot implement), and custom-team guidelines. Use the smallest preset that covers all required dimensions — overlap between reviewers is a sizing signal to redefine focus areas, not add more agents.

Model selection by task complexity:

Task shapeModel
1-2 files, clear spec, mechanicalmodel: "haiku"
Multi-file integration, standard complexityDefault model
Architecture decisions, ambiguous scope, reviewmodel: "opus"

Handoff protocol -- structured agent-to-agent transfers:

When passing work between agents (leader→implementer, implementer→reviewer, reviewer→leader), include:

  1. Context: what was done, relevant files, constraints discovered
  2. Deliverable: specific output expected from the receiving agent
  3. Acceptance criteria: how the receiving agent knows the work is correct

The controller reads all tasks from the plan upfront and provides full task text directly to subagents. Never make subagents read plan files themselves -- they waste tokens navigating, may read different versions, and inherit unclear context. Paste the task content into the prompt. See handoff-templates.md for QA FAIL and Escalation Report formats.

Standardize implementer status signals:

Include the four statuses defined in ia-verification-before-completion (DONE, DONE_WITH_CONCERNS, BLOCKED, NEEDS_CONTEXT) in every teammate prompt so they know the reporting format. Expect teammates to report one. BLOCKED responses get further triage via the decision tree below.

BLOCKED triage decision tree -- when a teammate reports BLOCKED, classify the root cause before acting. Never retry the same prompt on the same model without changing a variable.

Root causeSignalResponse
Missing contextAgent asked for a file, spec, or decision it neededProvide the missing context, re-dispatch same agent
Reasoning ceilingAgent attempted, got stuck on a subtlety it cannot resolveEscalate model (haiku → sonnet → opus) and re-dispatch
Task too largeAgent made partial progress but hit token/complexity limitsSplit into smaller tasks with explicit interface contracts
Spec wrongAgent surfaces a contradiction in the plan or a missing requirementEscalate to the user -- do not re-dispatch

Never ignore an escalation. Never force the same agent to retry without changing at least one variable (context, model, or task scope).

Two-stage review gate on subagent outputs:

Verify spec compliance first: does the output match what was requested? Only then evaluate quality. A beautifully written solution to the wrong problem is still wrong. Structure review as two explicit passes -- pass 1 rejects on spec mismatch without reading further, pass 2 assesses correctness and quality on spec-compliant outputs.

QA retry loop:

Max 3 attempts per task. After each QA failure, pass structured feedback to the implementer using the QA FAIL template. After 3 failures, mark the task as blocked, continue the pipeline (don't halt everything), and let final integration catch remaining issues. Counter resets when advancing to the next task.


Integration Rules

Post-integration verification -- after all agents return: check overlapping file edits, review for conflicting approaches, run full test suite.

Spawned-session behavior -- when a skill runs inside an orchestrated pipeline (as a subagent, not user-invoked), suppress interactive prompts: do not use AskUserQuestion, auto-choose the conservative/safe default, skip upgrade checks and telemetry. Focus on completing the task and reporting results via prose output. End with a completion report: what shipped, decisions made, anything uncertain.


Context Carry-Forward

After each turn, five strategies exist for moving context forward: Continue, Rewind, /compact, Subagent, /clear+brief. Choose deliberately — the default "Continue" is rarely best, and Rewind is strictly better than "correcting in place" after a failed attempt. See context-carry-forward.md for the full decision table and rationale.

Coordination Models

Two approaches to multi-agent coordination exist. Choose based on the work pattern:

AspectStateless (copy-paste outputs)Stateful (file ownership + dependencies)
How agents share stateLeader copies full outputs between promptsAgents read/write shared task files, claim ownership
Best forShort pipelines, 2-3 agents, sequential handoffsParallel work, 4+ agents, complex dependency graphs
Failure modeContext grows linearly with agent countConcurrent modification conflicts
MitigationSummarize before passing (keep essentials, drop navigation)Use worktrees or exclusive file ownership per agent

For most work, start with stateless handoffs. Graduate to stateful coordination only when parallelism provides a real speedup and you have worktree isolation to prevent file conflicts.


Dispatch Anti-Patterns

Before designing any multi-agent workflow, check it against the four named failure modes in dispatch-anti-patterns.md: router persona, persona calls persona, sequential paraphraser, deep persona trees. Rule of thumb: if the proposed swarm has more coordinator roles than worker roles, collapse it.

Anti-Sycophancy and Resilience

When dispatching judge panels, running parallel reviewers, or iterating on subjective evaluations, load anti-sycophancy.md — cold-start isolation, fresh instances per round, label randomization, convergence detection.

When designing multi-agent workflows that must survive partial failure, load resilience-patterns.md — cascade prevention (timeouts, circuit breakers, bulkheads), failure classification (retry vs reassign vs escalate), mid-pipeline compensation for irreversible side effects, post-failure synthesis of partial results.

Verify

  • All tasks in terminal state (completed or blocked)
  • No orphaned teammates (git worktree list shows no stale entries)
  • Overlapping file edits reviewed and merged
  • Full test suite passes post-integration

References

DocumentWhen to loadWhat it covers
team-compositions.mdSizing a team or choosing a preset7 preset compositions, subagent_type cardinal rule, custom-team guidelines
agent-types.mdChoosing which agent to spawnBuilt-in and plugin agent types with examples
teammate-operations.mdUsing TeammateTool for persistent agentsAll 13 operations (spawnTeam, write, broadcast, requestShutdown, etc.)
task-system.mdManaging work items and dependenciesTaskCreate, TaskList, TaskGet, TaskUpdate, file structure
message-formats.mdSending structured messages between agentsAll JSON message examples (regular, shutdown, idle, plan approval)
orchestration-patterns.mdDesigning a multi-agent workflow6 patterns + 3 complete workflow examples
spawn-backends.mdTroubleshooting agent spawn issuesBackend comparison, auto-detection, in-process/tmux/iterm2
environment-config.mdConfiguring team environmentEnvironment variables and team config structure
handoff-templates.mdPassing work between agentsQA FAIL and Escalation Report formats
context-carry-forward.mdLong sessions with orchestrated subagentsContinue / Rewind / compact / Subagent / clear+brief decision table
anti-sycophancy.mdJudge panels, parallel reviewers, subjective evalsCold-start isolation, fresh instances per round, label randomization, convergence detection
resilience-patterns.mdDesigning workflows that survive partial failureCascade prevention, failure classification, mid-pipeline compensation, post-failure synthesis

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

78.99%
按下载量换算2,308

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install compound-eng-orchestrating-swarms 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills