sandgardenhq/sgai/subagent-delegation-protocol
Claude Code and agent skill by sandgardenhq/sgai
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Shared delegation contract for SGAI agents that invoke Task subagents. Use before delegating implementation, review, verification, deployment, writing, safety review, or project-critic work.
Install
npx vskill@latest install sandgardenhq/sgai/subagent-delegation-protocolSKILL.md
Subagent Delegation Protocol
Use this skill when an agent delegates work to one or more Task subagents.
Core Rules
- Delegate with bounded paths and sections instead of pasted large context blobs.
- Do not delegate broad
read the repowork unless discovery itself is the task. - Tell subagents to read packet paths first.
- Tell subagents to return
NEEDS_CONTEXTwith the exact missing path, evidence item, decision, or question when the packet is insufficient. - Split broad work before fanout.
- Parallelize only independent work units.
- Reconcile every subagent return envelope before claiming completion.
- Use
subagent-return-protocolskill for the return envelope named in the packet.
Task Packet
Every Task prompt must include this packet shape:
Work Split
Before broad fanout, create this split map:
Splitting Rules
- Split by independently verifiable deliverable: package, command, route, page, component, template, script, deployment target, artifact, test file, safety concern, review concern, or verification concern.
- Parallelize only when edit paths and runtime resources do not conflict.
- Serialize work that shares files, APIs, generated artifacts, lockfiles, migrations, servers, databases, ports, browser sessions, package installs, deployment targets, or required outputs from sibling tasks.
- Include the concrete dependency reason for every serialized unit.
Reconciliation Rules
- Compare each subagent status, changed paths, read paths, verification evidence, review findings, blockers, concerns, and next owner.
- If any unit returns
NEEDS_CONTEXT, provide only the requested missing path, evidence, decision, or answer. - If any unit returns
BLOCKED, record the blocker and route it to the appropriate owner; do not claim completion for that unit. - If parallel units changed overlapping files or made incompatible assumptions, stop integration and dispatch a focused reconciliation task.
- Proceed to completion or project-critic only after required work units have compatible evidence and no unresolved blockers.
Security
- Security scanPassed, 95 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 repositoryCheckingcmd/sgai/skel/.sgai/skills/subagent-delegation-protocol/SKILL.md
Popularity
- Repository stars
- 126
- Repository forks
- 7
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. 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/sandgardenhq/sgai/subagent-delegation-protocol)