joaquincampo/my-plugins/orchestrating-subagents
Claude Code and agent skill by joaquincampo/my-plugins
- community
Checking that the SKILL.md file is still in the repository.
Use when session work decomposes into delegable units (many token-heavy steps with compact results) or the user asks to delegate to subagents. Invoke before context fills, not after.
Install
npx vskill@latest install joaquincampo/my-plugins/orchestrating-subagentsSKILL.md
The same SKILL.md was published earlier as joaquincampo/my-plugins/orchestrating-subagents.
Orchestrating Subagents
Overview
The main thread is the context manager: it holds the conversation, the judgment, and the running state. In this mode, delegate by default. Offload reading, exploration, authoring, and review to subagents; orchestrate, do not do the token-heavy work yourself. Apply this preemptively: the point is that the main thread's context never fills, not that it recovers once it has.
How to offload
- Shell reduction first for large data (grep/jq/awk to compact output): lossless, no
spin-up, you control the filter.
- Subagent when the reduction itself needs judgment, or the work is authoring or review.
- Main thread only for decisions, user interaction, and synthesis of compact results.
Use selective parallelism
Launch the critical-path child first. Parallelize genuinely independent work when the combined value justifies the additional usage, normally with 2 to 3 concurrent children. Prefer one strong agent over several weaker agents repeating the same work. Keep tightly coupled work linear when each result reshapes the next action.
Launch top-level subagents asynchronously. Time blocked waiting is wasted capacity: while children run, continue independent inspection, validation preparation, synthesis, or other useful work. Async reduces elapsed time, not token or quota usage. Call wait() only when no independent work remains and a child result is required to proceed.
- Plan as a dependency graph, not in document or list order: identify which units are
independent, dispatch ready units together (parallel tool calls in one message), and hold back only what is genuinely blocked.
- Prefer pipelining over phase barriers: launch a unit's checker as soon as its maker returns, without waiting for unrelated tasks to finish.
- A shared target file pushes toward serialization. Usually better: parallelize generation,
serialize integration (workers return content or patches, one integrator applies them in order).
- Watch for serial dispatch by default: if you are sending one subagent, waiting, then
sending the next, ask what actually depends on what.
The maker/checker loop
For each substantive unit of work:
- Maker uses Luna high for bounded work, Terra high for larger multi-file work, or Sol medium for ambiguous substantive work.
- Checker is a separate agent, never the maker. Use Luna xhigh for normal independent review and Sol high only for genuinely hard audits.
- Fixer uses Luna high for exact findings, Spark medium for small targeted fixes, or Terra high when fixes require broad cross-file reasoning.
- Verify with shell checks first, using Luna low only when model judgment is needed.
Every delegation prompt carries
- A role ("you are an expert in..."), exact file paths, and what to read first.
- The user's constraints pushed down (no em-dashes (--), style and format rules).
- "Locate by content; line numbers are approximate."
- The expected return shape (a list, a diff summary, a verdict).
- Explicit completion criteria: what "done" means for this task, so the child keeps going until it is actually done instead of stopping at a first pass.
- Ordinary children must not delegate further. Only an explicitly selected fan-out orchestrator may spawn one bounded child layer, using explicit model tiers and self-contained prompts.
- On substantive work: consult the
advisorbefore committing to an approach and before
declaring done.
Rules
- Set model and effort explicitly on every spawn. Use Spark low or medium for mechanical search and near-instant bounded fixes, Luna low for mechanical verification support, Luna high for bounded work, Luna xhigh for quality-sensitive normal work, Terra high for larger multi-file work, Sol medium for ambiguous substantive work, and Sol high for hard judgment.
- Astra (
gpt-6-astra) is the top tier, default off: reserve it for the advisor, hard architecture, work Sol high cannot settle, and final judgment on high-stakes output. Do not use it for routine children. - Start with the cheapest reliable route and escalate only on uncertainty, failed validation, conflicting evidence, or meaningful risk.
- Avoid max effort, ultra, Terra xhigh, and broad Sol fan-out. Fan out only independent work whose value justifies the usage.
- Child delegation is disabled except for an explicitly selected fan-out orchestrator with one bounded child layer.
- Keep running state outside your context (todo list or scratch file) so done work is never re-derived.
- Run long tests, builds, servers, watchers, and log tails in the background when practical. Continue other useful work, inspect output only when needed, and clean up processes when finished.
Common mistakes
- Reading a big file in the main thread "just to check": reduce it with jq/grep or delegate.
- Letting the maker grade its own output.
- Vague worker prompts: workers cannot ask back, they guess.
- Waiting until context is strained to start delegating; by then the heavy reads already
happened.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtools/skills/orchestrating-subagents/SKILL.md
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
[](https://verified-skill.com/skills/joaquincampo/my-plugins/orchestrating-subagents)