orchestrate-subagents
Use mediated subagent delegation through delegate_subagent and delegate_subagent_status.
Skill by judepayne
Chalk Labs
Need help deploying orchestrate-subagents?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/judepayne-orchestrate-subagents
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/orchestrate-subagents
What's inside
- Skill name
orchestrate-subagents- Description
- Use mediated subagent delegation through delegate_subagent and delegate_subagent_status. Use when deciding whether to delegate at all, and when choosing sync vs async, task vs tasks vs chain, and fresh vs fork vs explicit continue context.
- License
- MIT
- Instructions
- 305 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Orchestrate Subagents
## Purpose
Use this skill when you are considering delegated work through the local orchestrator tools.
The orchestrator is useful, but delegation has a coordination cost. First decide whether separation actually helps. If it does, decide how to delegate.
## When to delegate
Use a subagent only when the task has a clear boundary and separation provides a concrete benefit.
Good reasons to delegate:
- **Parallelism**: independent areas can be investigated, implemented, validated, or compared at the same time.
- **Async progress**: broad or slow work can continue in the background instead of blocking the conversation.
- **Role specialism**: a `reviewer` can provide read-only critique focused on correctness, regressions, security, and maintainability.
Do the work yourself when it is small, sequential, needs clarification, depends on nuanced user intent, or is mainly synthesis and assessment. Do not delegate merely because a `scout` or `worker` could perform the same steps; without parallelism or async progress, the handoff overhead is usually not worth it.
The parent keeps final accountability. Subagents gather evidence, perform bounded parallel/background work, or review; the parent decides what it means and answers the user.
## Review economy
- `reviewer` is for one independent final code-diff review or an explicitly requested audit
- do not use `reviewer` as routine validation for plans, designs, documentation, or artifacts the parent just created
- do not review partial stages when one final diff review will cover the complete packet
- default to one reviewer invocation per user-requested packet
- after Medium/Low findings, fix and validate directly without another reviewer pass
- repeat review only for Critical/High remediation, security-sensitive changes, or an explicit user request
- never fan out multiple reviewers over the same change merely to increase confidence
## First how-choice: sync vs async
After deciding to delegate, choose whether the result is needed in this turn.
Prefer **sync** when the delegated task is bounded and you need the result before answering. Sync is best for small fan-outs, focused reviewer passes, and investigations where the default 40-second inactivity timeout is likely to be enough. If needed, set a longer `timeoutSeconds` deliberately.
Prefer **async** when the delegated task is broad, slow, long-running, or useful to start while the conversation continues. Long-running work is only a delegation reason when async progress helps; a long sync subagent often just moves the waiting elsewhere.
When `async: true`, do not add an assistant launch acknowledgment if the tool result already shows the run started. Wait for the orchestrator completion payload, then answer the original request naturally.
## Current orchestrator constraints
- Use only the mediated tools: `delegate_subagent` and `delegate_subagent_status`.
- Do not use raw `subagent` here.
- Available child agent types are known package/user subagents minus the current card's `banned_subagents`; depth and pi-gate lineage ceilings still apply.
- Child gate profile/env is assigned by the orchestrator, not by you.
- Child runs are unattended, so `clarify` is not available.
- Agent-driven continuation is explicit: use `context: "continue"` with a concrete `childSessionId`.
- For current or recent async work, use the orchestrator status tool rather than digging through files on disk.
- Read async artifacts on disk only for older runs outside the current/latest tree, or for low-level debugging.
## Choosing the subagent type
Use the subagent type that matches the actual reason for delegation.
- `scout`: reconnaissance when the work is parallelized, broad enough to benefit from async, or part of a chain that deliberately narrows a large search space.
- `worker`: bounded implementation or validation when it is not banned and the work can run in parallel or in the background.
Keep worker assignments small and independently verifiable. If unsure, prefer smaller work packages and more workers, with non-overlapping ownership and explicit completion checks; sequence packages that depend on each other.
- `reviewer`: independent read-only critique of a design, plan, diff, or working tree. This is the main role-specialist subagent.
Do not use a scout or worker just to avoid doing ordinary parent-agent work. If the parent can inspect, decide, or edit directly with less coordination overhead, keep the work in the parent.
## Choosing task vs tasks vs chain
Use `task` for one bounded delegation, especially one reviewer pass, one async scout, or one explicit `continue` resume.
Use `tasks` for parallel work. Each task should stand on its own, have a distinct area or question, and avoid overlap unless the overlap is intentional.
Use `chain` when later steps should build on earlier child output. Prefer `tasks` when the work is independent.
Examples:
- `task`: review the current working tree diff.
- `tasks`: inspect frontend, backend, and configuration separately.
- `chain`: first map entry points, then inspect the most relevant paths.
## Choosing context
Use `context: "fresh"` when the child should work from a clean context and rely only on the delegated task plus files it reads. Prefer this for broad scans, neutral investigation, and avoiding unnecessary conversational baggage.
Use `context: "fork"` only when the current conversation branch contains important live context the child must inherit. Fork sparingly: subagents may use different models than the parent, and forking can require the current context to be processed without cache on that model, which can be slow and token-heavy.
Use `context: "continue"` when resuming one exact delegated child conversation. Use it only with single-task delegation, always supply `childSessionId`, and get that id from prior orchestration details or `delegate_subagent_status`.
## Tool reference
### `delegate_subagent`
Call exactly one of these shapes:
```json
{ "task": "...", "async": false, "context": "fresh", "showRunCard": false }
```
```json
{ "tasks": [{ "task": "..." }, { "task": "..." }], "async": false, "context": "fresh", "showRunCard": false }
```
```json
{ "chain": [{ "task": "..." }, { "task": "..." }], "async": false, "context": "fresh", "showRunCard": false }
```
Supported top-level options:
- `agent` — optional subagent type; defaults to `scout` when omitted
- `task` — one subagent
- `tasks` — multiple subagents in parallel
- `chain` — multiple subagents in sequence
- `async` — background execution when `true`
- `timeoutSeconds` — optional inactivity timeout for synchronous delegated runs; defaults to 40 seconds without child activity. Async runs do not use it, but if you provide it anyway it must still be valid.
- `context` — `fresh`, `fork`, or `continue`
- `childSessionId` — required when `context` is `continue`
- `showRunCard` — visible orchestrator run card message; keep this `false` unless the user explicitly wants that UI card
Not available: raw env/profile control, `cwd`, `clarify`, or implicit agent-side `continue latest`.
### `delegate_subagent_status`From judepayne/picode, MIT.
More from judepayne/picode
- 0.497score
prompt-vars
judepayne
Use prompt vars for the active plan and design files, plus merged project/global agent-mode vars.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
planning-workflow
judepayne
Use a structured planning workflow to produce an implementation-ready Builder handoff grounded in the actual repository.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
partner-reviewer
judepayne
Run the bounded Partner Reviewer workflow for implementations that changed five or more unique files.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
automode-designer
judepayne
Designer-mode automode handoff rules for explicit user-started Design → Plan → Build automation.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
automode-planner
judepayne
Planner-mode automode rules for turning the active design into a Builder-ready plan and handing off to Builder.
SkillCFreshness: C★ 1Claude Code +9 - 0.486score
automode-builder
judepayne
Builder-mode automode rules for implementing the active plan and clearing automode on stop.
SkillCFreshness: C★ 1Claude Code +9 - 0.432score
pr-management
judepayne
Use the team-lead subagent to run a staged PR workflow.
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
karpathy-coding-discipline
judepayne
Behavioral guidelines to reduce common LLM coding mistakes.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 23, 2026 (7 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/judepayne/picode
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from judepayne
- 0.497score
prompt-vars
judepayne
Use prompt vars for the active plan and design files, plus merged project/global agent-mode vars.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
planning-workflow
judepayne
Use a structured planning workflow to produce an implementation-ready Builder handoff grounded in the actual repository.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
partner-reviewer
judepayne
Run the bounded Partner Reviewer workflow for implementations that changed five or more unique files.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
automode-designer
judepayne
Designer-mode automode handoff rules for explicit user-started Design → Plan → Build automation.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
automode-planner
judepayne
Planner-mode automode rules for turning the active design into a Builder-ready plan and handing off to Builder.
SkillCFreshness: C★ 1Claude Code +9 - 0.486score
automode-builder
judepayne
Builder-mode automode rules for implementing the active plan and clearing automode on stop.
SkillCFreshness: C★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get orchestrate-subagents running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
orchestrate-subagents skill. Agent Mart. https://agentmart.dev/skills/judepayne-orchestrate-subagents (last updated 2026-10-24)