labrinyang/team-ochestractor/orchestrating-work

Claude Code and agent skill by labrinyang/team-ochestractor

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when facing a task that could benefit from parallel work - decides whether to use subagents or agent teams, then composes the right team from the role pool based on task analysis

Install

npx vskill@latest install labrinyang/team-ochestractor/orchestrating-work

SKILL.md

The same SKILL.md was published earlier as labrinyang/team-ochestractor/orchestrating-work.

Orchestrating Work: Subagent vs Agent Team

Overview

Route tasks to the cheapest effective execution mode. Default to subagents. Escalate to teams only when inter-agent communication is genuinely needed.

Core principle: Start cheap (subagent), escalate only with clear signals (team).

Decision Framework

dot
digraph decision {
"Task arrives" [shape=box];
"Single focused task?" [shape=diamond];
"Subagent" [shape=box style=filled fillcolor=lightgreen];
"2+ independent tasks?" [shape=diamond];
"Parallel subagents" [shape=box style=filled fillcolor=lightgreen];
"Need inter-agent communication?" [shape=diamond];
"Agent Team" [shape=box style=filled fillcolor=lightyellow];
"Which pattern?" [shape=diamond];
"Task arrives" -> "Single focused task?";
"Single focused task?" -> "Subagent" [label="yes"];
"Single focused task?" -> "2+ independent tasks?" [label="no"];
"2+ independent tasks?" -> "Parallel subagents" [label="yes, no shared state"];
"2+ independent tasks?" -> "Need inter-agent communication?" [label="depends"];
"Need inter-agent communication?" -> "Agent Team" [label="yes"];
"Need inter-agent communication?" -> "Parallel subagents" [label="no"];
"Agent Team" -> "Which pattern?";
}
Use Subagent When
  • Task is self-contained, only the result matters
  • Research a question, verify a claim, review a file
  • No need for workers to talk to each other
  • Token budget is a concern
Use Parallel Subagents When
  • 2+ independent tasks with no shared state
  • Each can be understood without context from others
  • Results don't contradict or need debate

Subagent Dispatch Guide

When routing to subagents, you MUST choose the right subagent_type and mode based on whether the task requires code modification.

Subagent Permission Matrix
Agent RoleCan Modify Code?subagent_typeUse For
researcherNO (read-only)ExploreSearch, read, investigate
reviewerNO (read-only)general-purposeReview code, report issues
devil-advocateNO (read-only)general-purposeChallenge findings
implementerYESgeneral-purposeBuild features, write code
debuggerYESgeneral-purposeFix bugs, patch code
finisherYESgeneral-purposeWrite tests, handle edge cases
architectNO (design only)general-purposeDesign interfaces, plan
integratorYESgeneral-purposeFix cross-module issues

Critical: Read-only tasks use Explore (faster, cheaper). Code-modification tasks MUST use general-purpose (has Edit, Write, Bash tools).

Dispatch Examples

Read-only subagent (research):

Task tool:
subagent_type: Explore
description: "Investigate auth module"
prompt: |
You are a researcher. Investigate the authentication module at src/auth/.
Find: how tokens are handled, where sessions are stored, any security gaps.
Report findings with file:line references and confidence levels.
DO NOT modify any files.

Code-modifying subagent (implement):

Task tool:
subagent_type: general-purpose
description: "Implement user profile endpoint"
prompt: |
You are an implementer. Build the user profile API endpoint.
Requirements:
- GET /api/profile/:id returns user profile
- Include validation and error handling
- Write tests
File ownership: only edit files in src/api/profile/ and tests/api/profile/
Commit your changes when done.
Report: files changed, tests passing, any concerns.

Parallel subagents (mixed read/write):

# Subagent 1: read-only research
Task tool (Explore): "Investigate why login is slow"
# Subagent 2: code modification
Task tool (general-purpose): "Fix the N+1 query in user list endpoint"
# Subagent 3: code modification
Task tool (general-purpose): "Add input validation to signup form"
File Ownership for Parallel Subagents

When dispatching multiple code-modifying subagents in parallel, you MUST assign non-overlapping file ownership to prevent conflicts:

Subagent A owns: src/api/users/ tests/api/users/
Subagent B owns: src/api/orders/ tests/api/orders/
Subagent C owns: src/components/ tests/components/
Rule: NO subagent edits files outside its assigned scope.
Include this constraint explicitly in the dispatch prompt.
Subagent Output → Next Action

After subagent returns:

  • Read-only subagent: Synthesize findings, decide next step
  • Code-modifying subagent: Verify changes (run tests), review diff
  • Multiple subagents returned: Check for file conflicts before proceeding
  • Subagent failed: Dispatch a fix subagent with specific instructions, or escalate to team if problem requires coordination
Use Agent Team When (Escalation Signals)
  • Subagent results contradict each other and need debate
  • Workers need to share findings and challenge each other
  • Task requires ongoing coordination, not one-shot results
  • Multiple competing hypotheses need adversarial testing
  • Cross-layer work (FE/BE/test) needs integration agent
  • Context window filling up from parallel subagent results
Escalation Trigger: Subagent → Team

If you started with parallel subagents but encounter any of these:

  1. Results contradict — need structured debate
  2. Context overflow — too many results to synthesize
  3. Workers need to coordinate — shared state emerging
  4. Ongoing back-and-forth needed — not one-shot

→ Convert to agent team. This is the natural transition point.

Team Composition: The 10 Rules

Before launching any team, validate these rules derived from management theory:

#RuleSourceCheck
1Thinking + Action + People roles all coveredBelbinAt least 1 agent per category
2No implementation before plan approvalTuckmanStage gates enforced
3Team/Direction/Structure/Context/Coaching validatedHackman5 conditions met
4Falling behind → reduce scope, never add agentsBrooksNo panic-spawning
5Team structure mirrors desired architectureConwaySplit by module/layer
6Max 7 agents, default 3-4Two-PizzaHard cap enforced
7Devil-advocate review mandatoryPsych Safetyreviewer or devil-advocate present
8Retrospective generated and persistedAgile Retrosession-reflection runs at end
9Lead manages max 4 direct reportsSpan of ControlHierarchy for larger teams
10Every agent has specialty + general contextT-ShapedSystem prompt has both sections

Scenario → Team Pattern Routing

SignalPatternSkill
"investigate", "research", "analyze", "review"Research & Reviewteam-orchestrator:research-and-review
"build", "implement", "new feature", "module"Feature Developmentteam-orchestrator:feature-development
"bug", "debug", "why does", "root cause"Competing Hypothesesteam-orchestrator:competing-hypotheses
"frontend + backend", "full-stack", "API + UI"Cross-Layerteam-orchestrator:cross-layer-collaboration

Role Pool (agents/)

Agents are organized by Belbin category:

Thinking roles:

  • architect — Plant: creative solutions, system design
  • reviewer — Monitor-Evaluator: critical evaluation, flaw detection
  • researcher — Specialist: deep investigation, evidence gathering

Action roles:

  • implementer — Implementer: translates plans to working code
  • debugger — Shaper: hypothesis-driven debugging, root cause
  • finisher — Completer-Finisher: edge cases, tests, polish

People roles:

  • coordinator — Coordinator: team lead, task delegation, synthesis
  • integrator — Teamworker: cross-module consistency, conflict resolution
  • devil-advocate — Psychological safety: mandatory dissent, challenge assumptions

Team Sizing Guide

ScenarioSizeComposition
Simple research2lead + 1 researcher
Standard investigation3-4coordinator + researchers + devil-advocate
Feature development3-5coordinator + architect + implementers + reviewer
Adversarial debugging3-6coordinator + debuggers + devil-advocate
Cross-layer feature4-5coordinator + FE impl + BE impl + finisher + integrator
Large-scale (7+)SplitMeta-lead → sub-leads → agents (hierarchy)

Pre-Launch Checklist (Hackman's 5 Conditions)

Before TeamCreate, verify:

  1. Real Team — membership defined, roles assigned
  2. Compelling Direction — clear goal statement, measurable outcome
  3. Enabling Structure — task list with dependencies, communication channels
  4. Supportive Context — all agents have required tools
  5. Expert Coaching — lead agent designated with coordinator prompt

Lifecycle (Tuckman Mapping)

dot
digraph lifecycle {
rankdir=LR;
"Forming" [shape=box label="Forming\nSpawn agents\nAssign roles"];
"Storming" [shape=box label="Storming\nPlan debate\nDevil's advocate"];
"Norming" [shape=box label="Norming\nPlan approved\nConventions locked"];
"Performing" [shape=box label="Performing\nParallel execution\nTask list drives"];
"Adjourning" [shape=box label="Adjourning\nVerify + Retro\nCleanup"];
"Forming" -> "Storming" -> "Norming" -> "Performing" -> "Adjourning";
}

Stage gates:

  • Forming → Storming: all agents spawned, context loaded
  • Storming → Norming: at least one plan reviewed by devil-advocate
  • Norming → Performing: plan approved by lead
  • Performing → Adjourning: all tasks completed + verified
  • Adjourning → Done: retrospective written to .claude.md, team cleaned up

Cost Awareness

ModeToken CostWhen Worth It
Single sessionBaselineSequential, simple tasks
Parallel subagents2-5xIndependent research, no communication
Agent team (3-4)5-15xComplex, needs debate/coordination
Agent team (5-7)15-30xLarge features, cross-layer, deep debugging

Rule: If subagents can solve it, don't use a team. Teams are for when communication between workers adds genuine value.

Red Flags — You're Using Teams Wrong

  • Team of 1 implementer + lead → just use a subagent
  • All agents editing the same file → guaranteed conflicts
  • No devil-advocate or reviewer → confirmation bias risk
  • Lead doing implementation → enable delegate mode
  • Adding agents to a stuck team → Brooks' Law violation
  • No retrospective at end → losing learning opportunity

Integration

REQUIRED: Use team-orchestrator:session-reflection at session end to persist learnings.

Team pattern skills:

  • team-orchestrator:research-and-review
  • team-orchestrator:feature-development
  • team-orchestrator:competing-hypotheses
  • team-orchestrator:cross-layer-collaboration

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/labrinyang/team-ochestractor/orchestrating-work/badge)](https://verified-skill.com/skills/labrinyang/team-ochestractor/orchestrating-work)

Something wrong with this skill or its page? Tell us.