agent-protocols
Installation
SKILL.md
Agent Protocols
Shared behavioral protocols for all agents in the workflow-team pipeline.
1. Recursive Nesting Protocol
When your scope card is too broad for a single context:
- Further decompose using
parallel-dispatchskill (§1 Decomposition, §5 Hierarchical Decomposition) - Spawn sub-agents with narrower scope cards using
TypeName="self"with dedicatedRoledesignations (see §3 Agent Spawn Protocol) - Your scope becomes the ceiling — children cannot operate outside it
- Track sub-agent progress; merge results when all complete
- Write
.agentwork/handoff.mdfor your parent coordinator
Triggers for nesting:
- Task edits >3 unrelated files
- Scope card contains >2 features
- Context approaching 50% capacity
- Secondary expertise needed (delegate to specialist)