Spawn Agentica multi-agent patterns
Use this skill after user selects an Agentica pattern.
swarm = Swarm(
perspectives=[
"Security expert analyzing for vulnerabilities",
"Performance expert optimizing for speed",
"Architecture expert reviewing design"
],
aggregate_mode=AggregateMode.MERGE,
)
result = await swarm.execute(task_description)
hierarchical = Hierarchical(
coordinator_premise="You break tasks into subtasks",
specialist_premises={
"planner": "You create implementation plans",
"implementer": "You write code",
"reviewer": "You review code for issues"
},
)
result = await hierarchical.execute(task_description)
gc = GeneratorCritic(
generator_premise="You generate solutions",
critic_premise="You critique and suggest improvements",
max_rounds=3,
)
result = await gc.run(task_description)
jury = Jury(
num_jurors=5,
consensus_mode=ConsensusMode.MAJORITY,
premise="You evaluate the solution"
)
verdict = await jury.decide(bool, question)
All spawned agents receive:
SWARM_ID: Unique identifier for this swarm runAGENT_ROLE: Role within the pattern (coordinator, specialist, etc.)PATTERN_TYPE: Which pattern is runningiMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Start voice calls via the OpenClaw voice-call plugin.
Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Use the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new/updated skill folders with the npm-installed clawhub CLI.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Category:developer