nylegarcia/ai-skills/subagent-orchestration
Claude Code and agent skill by nylegarcia/ai-skills
- community
Checking that the SKILL.md file is still in the repository.
Manages the safe lifecycle, monitoring, and termination of subagents. Use when spinning up teams, orchestrating parallel work, or cleaning up background tasks to prevent zombie agent bloat and CPU/RAM exhaustion.
Install
npx vskill@latest install nylegarcia/ai-skills/subagent-orchestrationSKILL.md
The same SKILL.md was published earlier as nylegarcia/ai-skills/subagent-orchestration.
Subagent Orchestration & Hygiene
Core Directives
- The Recursive Ban:
Explicitly forbids deep recursive orchestrator patterns (i.e. subagents that spawn subagents that spawn subagents) unless strictly necessary and bounded by explicit numerical limits.
- Sequential Default:
Sequential execution is the default mode. Only opt into parallel subagent execution for heavily isolated, I/O-bound tasks, or when explicitly requested by the user. If you spawn subagents, strictly limit concurrency to a small number (e.g., 2-3 workers).
- Anti-Hallucination Cleanup Rule:
Agents MUST use the manage_subagents tool with Action: list to confirm the actual state of their subagents. Agents MUST use the manage_subagents tool with Action: kill to terminate specific subagents or their entire tree. Never generate text claiming you have killed or shut down agents without actually calling the tool.
- Tree Pruning Lifecycle:
Killing a parent subagent automatically cascades down to kill all of its descendants. Use this nuclear option when a subagent tree has become unresponsive, has leaked nested zombie subagents, or is overwhelming system resources (CPU/RAM).
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 repositoryCheckingskills/.archived/subagent-orchestration/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/nylegarcia/ai-skills/subagent-orchestration)