Agent Skillsmohitagw15856/pm-claude-skills › subagent-orchestration

subagent-orchestration

GitHub

指导如何正确分解任务以并行执行子代理,避免冲突和重复。涵盖决策是否委托、按所有权边界切片、编写独立简报及集成验证协议,确保高效且无矛盾的并行工作流。

exports/openclaw/subagent-orchestration/SKILL.md mohitagw15856/pm-claude-skills

Trigger Scenarios

需要并行处理多个独立子任务 决定是自行完成还是委托给子代理 过去多代理运行出现冲突或重复劳动

Install

npx skills add mohitagw15856/pm-claude-skills --skill subagent-orchestration -g -y
More Options

Non-standard path

npx skills add https://github.com/mohitagw15856/pm-claude-skills/tree/main/exports/openclaw/subagent-orchestration -g -y

Use without installing

npx skills use mohitagw15856/pm-claude-skills@subagent-orchestration

指定 Agent (Claude Code)

npx skills add mohitagw15856/pm-claude-skills --skill subagent-orchestration -a claude-code -g -y

安装 repo 全部 skill

npx skills add mohitagw15856/pm-claude-skills --all -g -y

预览 repo 内 skill

npx skills add mohitagw15856/pm-claude-skills --list

SKILL.md

Frontmatter
{
    "name": "subagent-orchestration",
    "homepage": "https:\/\/mohitagw15856.github.io\/pm-claude-skills\/skill\/subagent-orchestration.html",
    "metadata": {
        "openclaw": {
            "emoji": "📐"
        }
    },
    "description": "Decompose work across parallel subagents properly — task slicing that avoids collisions, briefs that stand alone, and result integration that catches contradictions. Use when work can genuinely parallelise (research fan-outs, multi-file changes, independent analyses), when deciding whether to delegate or do it yourself, or when past multi-agent runs produced conflicts and duplicated effort. Produces an orchestration plan: the parallel\/sequential split, per-agent briefs, and the integration protocol."
}

Subagent Orchestration Skill

Parallel agents multiply speed exactly when the decomposition is right — and multiply mess when it isn't: two agents editing one file, three agents making inconsistent assumptions, results that can't be merged. Orchestration is a design discipline: slice for independence, brief for standalone execution, integrate with suspicion.

What This Skill Produces

  • A decomposition decision: what runs parallel, what stays sequential, what isn't worth delegating at all
  • Per-agent briefs that survive without shared context
  • An integration protocol: merge order, conflict checks, and the verification of the combined result

Orchestration Method

  1. Decide IF before HOW. Delegation costs: brief-writing, context loss, integration, and review of work you didn't watch. Worth it when subtasks are genuinely independent AND individually substantial. A task you could finish in the time it takes to write two good briefs is yours to do.
  2. Slice by ownership boundary, not by topic. The test per pair of subtasks: do they write to the same artifact, or does one's output change the other's input? Yes → sequential or merged into one task. The safe cuts: different files/directories · different data sources to research · different independent deliverables. The classic collision: "agent A refactors, agent B adds tests" on the same module — topically distinct, physically overlapping.
  3. Write briefs that stand alone. A subagent doesn't share your conversation. Each brief carries: the goal as an outcome test · the context it can't infer (constraints, conventions, decisions already made — stated, not referenced) · what it must NOT touch (the other agents' territory, named) · the exact deliverable shape (so integration is mechanical) · when to stop and return rather than improvise.
  4. Pin the shared assumptions. If any decision affects multiple agents (naming, interface shapes, the version of truth), make it BEFORE dispatch and put it in every brief. Two agents each "reasonably deciding" an interface produces two interfaces.
  5. Integrate with suspicion. On return: check each result against its brief (subagents drift too) · diff for cross-agent contradictions (terminology, duplicate implementations, conflicting claims — the research fan-out that returns three different revenue numbers is a finding, not an averaging opportunity) · then run whole-result verification, because parts that pass individually can fail composed.
  6. Sequence the merge. Integrate in dependency order, verifying at each join, not all-at-once at the end. A bad result caught at merge #1 costs one redo; at merge #4 it costs archaeology.

Output Format

Orchestration plan: [task]

Do-it-yourself instead? [no, because … / partially — these bits stay with me: …]

Lane Subtask (outcome test) Territory (writes to) Must not touch Deliverable shape
parallel-1
sequential-after-1&2

Pinned shared assumptions (in every brief):Integration protocol: [merge order · contradiction checks · the composed-result verification]

Quality Checks

  • The delegate-vs-do decision was made explicitly, with the brief-writing cost counted
  • No two parallel lanes write to the same artifact
  • Every brief contains its territory, its must-not-touch, and a stop condition
  • Shared assumptions were pinned before dispatch, not discovered at merge
  • Integration verifies the composed whole, not just each part

Anti-Patterns

  • Do not parallelise for the feeling of speed — two colliding agents are slower than one sequential pass
  • Do not write briefs that reference your context ("as discussed", "the usual way") — subagents weren't in the room
  • Do not average contradictory results — a contradiction is a defect to resolve, with a cause
  • Do not merge everything then verify once — verify at each join while causes are still traceable
  • Do not delegate the judgment-bearing core (the decision, the synthesis, the taste) — delegate the legwork around it

Version History

  • 54fad50 Current 2026-07-19 12:35

Same Skill Collection

exports/openclaw/360-feedback-template/SKILL.md
exports/openclaw/401k-plan-decoder/SKILL.md
exports/openclaw/ab-test-planner/SKILL.md
exports/openclaw/ab-test-readout/SKILL.md
exports/openclaw/accessibility-audit/SKILL.md
exports/openclaw/account-plan/SKILL.md
exports/openclaw/acquirer-red-team/SKILL.md
exports/openclaw/ad-copy/SKILL.md
exports/openclaw/aeo-optimizer/SKILL.md
exports/openclaw/agenda-or-cancel/SKILL.md
exports/openclaw/agent-design-review/SKILL.md
exports/openclaw/agent-hiring-panel/SKILL.md
exports/openclaw/agent-observability-spec/SKILL.md
exports/openclaw/agent-severance/SKILL.md
exports/openclaw/agent-spec/SKILL.md
exports/openclaw/agm-in-a-box/SKILL.md
exports/openclaw/ai-ethics-review/SKILL.md
exports/openclaw/ai-eval-plan/SKILL.md
exports/openclaw/ai-feature-prd/SKILL.md
exports/openclaw/ai-product-canvas/SKILL.md
exports/openclaw/air-quality/SKILL.md
exports/openclaw/altitude-shifter/SKILL.md
exports/openclaw/ambiguity-resolver/SKILL.md
exports/openclaw/analyst-relations-brief/SKILL.md
exports/openclaw/announcement-card/SKILL.md
exports/openclaw/api-docs-writer/SKILL.md
exports/openclaw/api-test-plan/SKILL.md
exports/openclaw/api-versioning-strategy/SKILL.md
exports/openclaw/apology-letter/SKILL.md
exports/openclaw/architecture-decision-record/SKILL.md
exports/openclaw/architecture-diagram/SKILL.md
exports/openclaw/archive-strategy/SKILL.md
exports/openclaw/assumption-bounty/SKILL.md
exports/openclaw/assumption-mapper/SKILL.md
exports/openclaw/async-update-format/SKILL.md
exports/openclaw/auto-repair-estimate-decoder/SKILL.md
exports/openclaw/autopilot-charter/SKILL.md
exports/openclaw/behavior-intervention-plan/SKILL.md
exports/openclaw/benefits-decoder/SKILL.md
exports/openclaw/bennett-time-audit/SKILL.md
exports/openclaw/bid-tender-review/SKILL.md
exports/openclaw/board-deck-narrative/SKILL.md
exports/openclaw/board-game-designer/SKILL.md
exports/openclaw/board-minutes/SKILL.md
exports/openclaw/board-pre-read/SKILL.md
exports/openclaw/bom-cost-review/SKILL.md
exports/openclaw/bookkeeping-categorization/SKILL.md
exports/openclaw/boolean-search-builder/SKILL.md
exports/openclaw/brag-doc/SKILL.md
exports/openclaw/brainstorming/SKILL.md

Metadata

Files
0
Version
e4def4c
Hash
9071bb0f
Indexed
2026-07-19 12:35

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-31 01:08
浙ICP备14020137号-1 $방문자$