ia-orchestrating-swarms
Installation
SKILL.md
Swarm orchestration
Primitives
For Claude Code teams, see primitives.md. In Codex, use the active collaboration-tool schemas and codex-quick-reference.md; do not assume Claude's team files or task store exist.
Two Ways to Spawn Agents
Resolve the host primitives before dispatching:
- Claude Code:
Task(...)for short-lived subagents;Teammate(...)plus namedTask(...)for persistent teams. - Codex:
spawn_agent(...)for short-lived subagents;send_message(...),followup_task(...), andwait_agent(...)for coordination. Use persistent teammates only when the active Codex environment exposes that capability. - Other harnesses: use their native subagent surface. If none exists, execute the units sequentially in the main thread.
The comparison and examples immediately below describe Claude's two dispatch modes. Codex uses spawn_agent for both one-shot and follow-up work: