Skip to content
Skills Library
AI & agents · Automation

subagent-orchestration

/subagent-orchestration

Use when a request decomposes into multiple independent subtasks that can be worked on separately and combined afterward.

Repository
sourcerer ↗
Licence
Apache-2.0
Last repository change
23.09.2026

Assessment and security

85/ 100Class: good
Format20 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 23.09.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Use when a request decomposes into multiple independent subtasks that can be worked on separately and combined afterward.

Original author description

Use when a request decomposes into multiple independent subtasks that can be worked on separately and combined afterward.

How it works

  1. Default: delegate as one task
  2. Cost test (apply before fanning out to more than one)
  3. How to use
  4. When NOT to use
Original SKILL.md headings · 25 lines, 506 words
SKILL.md preview
---
name: "subagent-orchestration"
description: "Use when a request decomposes into multiple independent subtasks that can be worked on separately and combined afterward."
---
# Parallel subagent delegation

## Default: delegate as one task
Unless you already know of multiple distinct, already-located targets, delegate the whole investigation to a single subagent as one task. A subagent working serially through a multi-step investigation costs less than N subagents each paying their own fixed overhead (system prompt, skill instructions, tool schemas) - and can't redundantly re-search ground it's already covered, the way parallel subagents can.

## Cost test (apply before fanning out to more than one)
Each subagent pays its own token cost for every search it runs, plus its own fixed overhead. If two or more candidate tasks would plausibly search the same files or directories to get oriented, spawning them separately means paying that discovery cost once per subagent instead of once total. Shared search space is redundant spend, regardless of whether the tasks are otherwise independent.

Before writing more than one task, ask: **would these subagents likely re-derive the same location or content to do their job?** If yes:
- **Locate first, fan out second.** Resolve the shared target yourself (or with one subagent call) - get the actual file paths, directories, or line ranges - before spawning anything else.
- **Hand subagents targets, not search problems.** Once located, write each task around a concrete pointer ("read `x-pack/.../esql_tool.ts` lines 40-120 and explain X") rather than a keyword strategy ("search for terms like esql, execute_query, ... in agent builder directories"). A subagent given a known path does one cheap read call; a subagent given a search problem burns tokens on multiple exploratory searches - and burns them again per subagent if several are all guessing at the same thing.
- **Only fan out once discovery is done and targets have diverged.** If after locating things there's genuinely nothing left to parallelize (one file, one concern), stick with a single task.

## How to use
1. Locate the relevant files/directories first - directly, or with a single subagent call - until you have concrete targets, not just a search strategy.
2. Decide whether more than one task is actually warranted using the cost test above. Default to one.
3. If more than one, break the work into tasks each built around one already-known target (a specific path, directory, or narrow sub-question) - one per subagent. Count = number of distinct targets, not number of ways to search for the same thing.
4. Call the `sourcerer.subagents.spawn` tool with `tasks` set to that list.
5. The tool's response contains each subagent's raw result. Compose your final answer directly from them.

## When NOT to use
- Sequential tasks where step 2 depends on step 1's output.
- Any task set where you don't yet have concrete targets - locate first; fanning out multiple open-ended searches over the same unknown location is the single most expensive pattern this skill can produce.
- A single target/concern - just answer directly or delegate as one task; the fan-out overhead isn't worth it.
- Very large fan-outs (15-20+) - reconsider whether that many distinct targets actually exist.

Versions

RepositoryScoreLicence
This page · elastic/sourcerer85Apache-2.0
event4u-app/agent-config100MIT
PostHog/posthog100MIT
kpab/claude-fable-5-skills90MIT

Database snapshot: 13.11.2026 · package version 6825cf2c758d (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95sr-subagent-driven-development
    Use when executing implementation plans with independent tasks in the current session
  • 100subagent-delegation
    Delegate routine work to subagents — boilerplate generation, data transformation, file analysis, documentation drafting. Use when splitting tasks into independent subtasks for parallel subagent execution.
  • 100fleet-task-planner
    Split a complex task into dispatchable subtasks and hand them to fleetmux / Fleet agents to execute. Use when the user asks to split a task, plan a task, dispatch work in parallel, hand work to fleet agents, schedule execution the way Claude Code Task/subagent does, or needs…
  • 95subagent-driven-development
    Use when executing implementation plans with independent tasks in the current session
  • 100orchestrate
    This skill should be used when the user asks to 'orchestrate a task', 'break down work into parallel agents', 'coordinate subtasks', 'run agents in parallel', or mentions 'multi-agent'. Decomposes complex tasks into tracked subtasks, dispatches parallel subagents, and coordinates until completion.
  • 100packet-orchestration
    Use when one task is big enough to split into independent packets — one supervising agent decomposes it, dispatches a worker subagent per packet in parallel waves, reviews each packet, and integrates the results. Use for multi-page sites, multi-subsystem builds, wide refactors,…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.