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 named Task(...) for persistent teams.
  • Codex: spawn_agent(...) for short-lived subagents; send_message(...), followup_task(...), and wait_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:

Installs
83
GitHub Stars
33
First Seen
Apr 13, 2026
orchestrating-swarms — iliaal/ai-skills