Agent skill

Orchestrating Subagents

by ZaxbyHub in ZaxbyHub/opencode-swarm

Tiering and economics for delegating to subagents: which agent type, model, and effort to use per role (explorer, implementer, reviewer, critic), how many agents to launch in parallel, how to write…

MITAuto-check passedAgent Workflows

Install Orchestrating Subagents

skills CLI
$ npx skills add ZaxbyHub/opencode-swarm --skill orchestrating-subagents -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ZaxbyHub/opencode-swarm orchestrating-subagents --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ZaxbyHub/opencode-swarm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/orchestrating-subagents .claude/skills/orchestrating-subagents && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
orchestrating-subagents
GitHub stars
494
Token cost
~1.5k tokens
SKILL.md length
772 words
Files
1
Skills in repo
91
Repo updated
First seen
Licence
MIT

At a glance

Tiering and economics for delegating to subagents: which agent type, model, and effort to use per role (explorer, implementer, reviewer, critic), how many agents to launch in parallel, how to write…

  • Works in 5 steps: Scope — exact directories, files, or… → Deliverable — the structure of the… → Evidence bar — exact file:line… → …
  • Launching subagents
  • SKILL.md covers Role → tier mapping, Fan-out discipline, Subagent prompt contract and Independence and staleness, plus 3 more sections
  • Calls git

What it does

Orchestrating Subagents is an agent skill from ZaxbyHub/opencode-swarm. Tiering and economics for delegating to subagents: which agent type, model, and effort to use per role (explorer, implementer, reviewer, critic), how many agents to launch in parallel, how to write scoped subagent prompts with bounded structured returns, and how to keep the main context clean. Use when launching subagents, parallel explorers, independent reviewers, or critic passes — especially for swarm-mode, qa-sweep, or issue-tracer work.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Subagents. The repository describes itself as: Architect-centric agentic swarm plugin for OpenCode. Hub-and-spoke orchestration with SME consultation, code generation, and QA review. The licence is MIT.

When your agent uses it

  • Launching subagents
  • Parallel explorers
  • Independent reviewers
  • Critic passes — especially for swarm-mode

Example prompts

  • “/orchestrating-subagents”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Scope — exact directories, files, or question. Name what is out of scope.
  2. Deliverable — the structure of the report (per-item findings, then a
  3. Evidence bar — exact file:line references; no invented paths; verify a
  4. Status labels — explorers return CANDIDATE findings only; reviewers
  5. Output bound — compact structured returns; no full-file dumps.

What it can do on your machine

Read from SKILL.md and the folder at commit b63a4bd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Orchestrating Subagents loads about 1.5k tokens when it runs. Until then it costs about 117 tokens; SKILL.md has 772 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~117
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ZaxbyHub/opencode-swarm at commit b63a4bd, republished under its MIT licence (© ZaxbyHub). 772 words, ~1,529 tokens.

Download SKILL.mdSave it as .claude/skills/orchestrating-subagents/SKILL.md (or your agent's skills folder).
name
orchestrating-subagents
description
Tiering and economics for delegating to subagents: which agent type, model, and effort to use per role (explorer, implementer, reviewer, critic), how many agents to launch in parallel, how to write scoped subagent prompts with bounded structured returns, and how to keep the main context clean. Use when launching subagents, parallel explorers, independent reviewers, or critic passes — especially for swarm-mode, qa-sweep, or issue-tracer work.
audience
swarm-plugin

Orchestrating Subagents

Swarm-mode work in this repo delegates heavily (explorer → reviewer → critic). This skill defines HOW to delegate so validation gates stay strong while breadth stays fast and cheap. It complements — never replaces — the gates in .claude/session/swarm-mode.md, qa-sweep, and swarm-implement.

Role → tier mapping

RoleAgent typeModel / effortRationale
Explorer (mapping, candidate findings)Explore when read-only sufficesCheaper/faster tier acceptable; low–medium effortRecall-bound, not reasoning-bound; the reviewer gate catches misses
Implementer (scoped edits)general-purposeSession model; medium–high effortEdits need project conventions (CLAUDE.md context)
Reviewer (independent validation)general-purpose, fresh contextSession (strongest) model; high effortPrecision-bound; false approvals are the expensive failure
Critic (final challenge)general-purpose, fresh contextSession (strongest) model; high effortSame — this is the last line of defense

Hard rule: economize on explorers, never on reviewers or critics. If the harness exposes model or effort overrides for subagents, tier explorers down; do not tier the reviewer or critic below the session model or below high effort. If no override is available, tier by agent type (Explore is lightweight: read-only tools, skips CLAUDE.md) and by prompt scope.

Fan-out discipline

  • Launch parallel agents only for disjoint scopes. Before launching, write one line per agent stating its scope; if two overlap, merge them.
  • 2–4 explorers per wave is a heuristic only when the active workflow does not define its own fan-out contract. A workflow-specific contract overrides this heuristic: PR review, for example, requires all six base dimensions and all eleven risk families to be covered on every PR — its capability profiles and depth tiers (see swarm-pr-review) govern how many lanes carry that coverage, and under the plugin's mechanical controller the tier is computed from the bound diff and the matching lane floors are enforced outright. No time, cost, repository-size, or simplicity rationale may reduce the coverage a workflow mandates. Outside fixed-fan-out workflows, more agents than distinct scopes adds token cost and synthesis burden without adding recall.
  • Launch independent agents in a single message so they run concurrently.
  • Do not re-run a search an agent is already doing; wait for its report.
  • Scale waves, not width: if the first wave surfaces new territory, launch a second targeted wave rather than one giant speculative first wave.

Subagent prompt contract

Every delegation prompt must state:

  1. Scope — exact directories, files, or question. Name what is out of scope.
  2. Deliverable — the structure of the report (per-item findings, then a ranked summary). The agent's final message is the only thing you receive.
  3. Evidence bar — exact file:line references; no invented paths; verify a path exists before citing it.
  4. Status labels — explorers return CANDIDATE findings only; reviewers classify CONFIRMED / DISPROVED / UNVERIFIED / PRE_EXISTING; reviewer and critic verdicts are APPROVE / NEEDS_REVISION / BLOCKED.
  5. Output bound — compact structured returns; no full-file dumps.

For reviewers and critics additionally:

  • Give the claims and locations, not the author's justification — the reviewer must re-derive, not confirm, the reasoning.
  • State the adversarial default explicitly: "default to DISPROVED/UNVERIFIED unless the code evidence supports the finding."
  • A reviewer or critic must be a fresh agent, never a continued conversation with the agent whose work it judges.
Show full SKILL.md (260 more words)Show less

Independence and staleness

  • Reviewer and critic review the latest diff, not a description of it. Give them the branch state and the validation evidence, and require them to run git diff/git log themselves.
  • Any edit after an approval invalidates it. Record what was approved (e.g. git rev-parse HEAD, git diff --stat) so staleness is checkable — see the durable-session-state skill.

Nesting limitation

Whether a subagent can spawn further subagents depends on the harness and agent type — check whether a subagent tool (Agent or Task) is actually available in your context before assuming either way. If a skill mandating fresh-subagent review (qa-sweep, swarm-implement) executes in a context without a subagent tool:

  • perform the same review checklist yourself as a clearly labeled fallback self-review, and
  • disclose in your report that independent review was unavailable in this context, so the orchestrator can re-run the gate with a real fresh agent. Never silently present self-review as independent review.

Main-context hygiene

  • Push reading-heavy work into subagents; keep the main thread for scoping, synthesis, and decisions.
  • Do not paste subagent transcripts or large tool outputs back into the main thread; carry forward only validated findings and verdicts.
  • When a subagent report arrives, extract the load-bearing facts into your durable task artifacts (see durable-session-state) before moving on.

When not to delegate

Answer directly, without a subagent, when the task is a single-fact lookup you can resolve with one or two targeted Grep/Read calls, or when you already know the file and symbol. Delegation overhead should buy breadth, isolation, or independence — if it buys none of those, skip it.

© ZaxbyHub, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/orchestrating-subagents of ZaxbyHub/opencode-swarm.

Open the folder on GitHubat commit b63a4bd

Compare with similar skills

Orchestrating Subagents next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Orchestrating Subagents compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Orchestrating Subagents this skillZaxbyHub/opencode-swarm494—~1.5kAutomated safety check: PassMIT
Claude Code Agent Developmentanthropics/claude-plugins-official38k7 repos~2.8kAutomated safety check: PassApache-2.0
Subagent Driven DevelopmentAsvarox/allkaraoke26138 repos~1.2kAutomated safety check: PassNone
Dispatching Parallel Agentsultralisp/ultralisp25841 repos~1.5kAutomated safety check: PassNone
Reflect on Session Learningscursor/plugins11k5 repos~1.2kAutomated safety check: PassNone
Paseo Advisor Second Opiniongetpaseo/paseo20k1 repos~756Automated safety check: PassCustom licence

Similar skills

  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 7 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Subagent Driven Development

    Asvarox/allkaraoke

    A skill your agent uses when executing implementation plans with independent tasks in the current session

    261 GitHub starsUsed in 38 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Dispatching Parallel Agents

    ultralisp/ultralisp

    A skill your agent uses when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

    258 GitHub starsUsed in 41 repos~1.5k tokens
    Agent WorkflowsAuto-check passed
  • Official

    Starts three parallel reviewer subagents over the current conversation transcript, then turns their findings into concrete edits to existing skills.

    11k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Launches one separate agent through Paseo to give a second opinion on the current task, with a self-contained briefing and no permission to edit files.

    20k GitHub starsUsed in 1 repo~756 tokens
    Agent WorkflowsAuto-check passed
  • Task Observer

    rebelytics/one-skill-to-rule-them-all

    Monitors task execution for skill improvement opportunities.

    3.2k GitHub starsUsed in 1 repo~11k tokens
    Agent WorkflowsAuto-check passed

More from ZaxbyHub/opencode-swarm

All 91 skills in this repo
  • Codebase Review Swarm

    ZaxbyHub/opencode-swarm

    Runs an evidence-gated, quote-grounded audit of a codebase for security, QA, accessibility, performance and more, and writes a verified report without changing source files.

    496 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Issue Tracer

    ZaxbyHub/opencode-swarm

    Drives a bug report from validation and root-cause tracing through a critic-reviewed plan, an approved minimal fix and a PR-ready closure, never merging without recorded human approval.

    496 GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Commit and PR Publishing for Codex

    ZaxbyHub/opencode-swarm

    Codex adapter for opencode-swarm that governs commits, pushes, draft PRs, PR body updates and CI closeout, deferring to the repo's canonical commit-pr protocol.

    496 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Durable Session State

    ZaxbyHub/opencode-swarm

    Keeps plans, decisions, evidence and reviewer verdicts in small files so long multi-phase tasks survive context compaction and session resumes.

    496 GitHub stars~896 tokensUpdated today
    Auto-check passed
  • Swarm PR Feedback Closer

    ZaxbyHub/opencode-swarm

    Ingests existing pull request feedback such as review comments and CI failures, verifies each claim, fixes confirmed issues and reports closure status for every item.

    496 GitHub stars~14k tokensUpdated today
    Auto-check passed
  • Swarm PR Subscribe

    ZaxbyHub/opencode-swarm

    Monitor a pull request after creation and act autonomously on pushed PR activity.

    496 GitHub stars~2.2k tokensUpdated today
    Auto-check passed

Categories

Questions about Orchestrating Subagents

What does Orchestrating Subagents do?

Tiering and economics for delegating to subagents: which agent type, model, and effort to use per role (explorer, implementer, reviewer, critic), how many agents to launch in parallel, how to write…. Orchestrating Subagents is an agent skill from ZaxbyHub/opencode-swarm. Tiering and economics for delegating to subagents: which agent type, model, and effort to use per role (explorer, implementer, reviewer, critic), how many agents to launch in parallel, how to write scoped subagent prompts with bounded structured returns, and how to keep the main context clean.

When should I use Orchestrating Subagents?

Orchestrating Subagents fits situations like: launching subagents; parallel explorers; independent reviewers; critic passes — especially for swarm-mode.

How do I install Orchestrating Subagents in Claude Code?

Run `npx skills add ZaxbyHub/opencode-swarm --skill orchestrating-subagents -a claude-code`. Or copy the skill folder (.claude/skills/orchestrating-subagents in ZaxbyHub/opencode-swarm) into .claude/skills/orchestrating-subagents in your project. Claude Code loads it when a task matches its description.

How do I install Orchestrating Subagents in Codex?

Run `npx skills add ZaxbyHub/opencode-swarm --skill orchestrating-subagents -a codex`. Or copy the skill folder (.claude/skills/orchestrating-subagents in ZaxbyHub/opencode-swarm) into .agents/skills/orchestrating-subagents in your project. Codex loads it when a task matches its description.

Can I use Orchestrating Subagents in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ZaxbyHub/opencode-swarm --skill orchestrating-subagents -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/orchestrating-subagents, .gemini/skills/orchestrating-subagents, .github/skills/orchestrating-subagents and .opencode/skills/orchestrating-subagents in your project.

What does Orchestrating Subagents need to run?

Going by SKILL.md and its folder, Orchestrating Subagents needs the command-line tools its instructions call (git).

Does Orchestrating Subagents access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Orchestrating Subagents safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Orchestrating Subagents use?

Orchestrating Subagents is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Orchestrating Subagents use?

About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Orchestrating Subagents?

Skills that share tags, products or a category with Orchestrating Subagents: Claude Code Agent Development (anthropics/claude-plugins-official, 38k stars), Subagent Driven Development (Asvarox/allkaraoke, 261 stars), Dispatching Parallel Agents (ultralisp/ultralisp, 258 stars) and Reflect on Session Learnings (cursor/plugins, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Orchestrating Subagents?

ZaxbyHub (a GitHub organization) maintains it in ZaxbyHub/opencode-swarm, which has 494 GitHub stars. The repository holds 91 skills in this directory. The repository was last updated on October 10, 2026.

Source: ZaxbyHub/opencode-swarm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.