一键导入
swarm
Launch worktree-based or intree agent workflows using aura-swarm
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Launch worktree-based or intree agent workflows using aura-swarm
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Install Pasture binaries (pastured, pasture, pasture-release) from GitHub Releases, go install, or Nix
Pasture protocol reference documentation — 12-phase workflow, agent roles, constraints, and coding standards. Read when you need to understand the full workflow or look up conventions.
Create handoff document and transfer to supervisor
Create PROPOSAL-N task with full technical plan
Ratify proposal, mark old proposals pasture:superseded
Spawn 3 axis-specific reviewers (A/B/C)
| name | swarm |
| description | Launch worktree-based or intree agent workflows using aura-swarm |
Command: pasture:swarm — Launch worktree-based or intree agent workflows using aura-swarm
Orchestrate Claude agent sessions in two modes:
aura-parallel). No worktree, prompt required.[swarm-epic-worktree]
aura-swarm start --epic <id> to create an isolated worktree[swarm-intree-longrunning]
aura-swarm start --swarm-mode intree --role <role> -n 1 --prompt "..."[swarm-task-assignment]
--task-id to assign one task per worker[swarm-reviewer-subagents]
aura-swarm start for reviewer rounds[swarm-status-check]
aura-swarm status to see all active sessions[swarm-cleanup]
aura-swarm cleanup <id> or aura-swarm cleanup --doneaura-swarm start --epic <id>)aura-swarm start --swarm-mode intree -n N --prompt "...")aura-swarm status)aura-swarm attach)aura-swarm merge)aura-swarm review)aura-swarm cleanup)main
└── epic/<epic-id> (aura-swarm creates this branch + worktree)
├── agent/<task-id-1> (Claude's Agent Teams creates these)
├── agent/<task-id-2>
└── agent/<task-id-3>
# Start an epic (creates worktree, gathers beads context, launches Claude)
aura-swarm start --epic <epic-id>
aura-swarm start --epic <epic-id> --model opus
aura-swarm start --epic <epic-id> --restart
# Window mode (agents accumulate in one tmux session)
aura-swarm start --epic <epic-id> --tmux-dest window -n 2
# With additional instructions appended to auto-generated prompt
aura-swarm start --epic <epic-id> --prompt-addon "Focus on tests first"
# Launch a single supervisor
aura-swarm start --swarm-mode intree --role supervisor -n 1 --prompt "..."
# Launch 3 workers with task distribution (1:1 mapping)
aura-swarm start --swarm-mode intree --role worker -n 3 \
--task-id impl-001 --task-id impl-002 --task-id impl-003 \
--prompt "Implement the assigned task"
# Launch with skill invocation
aura-swarm start --swarm-mode intree --role reviewer -n 3 \
--skill pasture:reviewer-review-plan --prompt "Review plan aura-xyz"
# Dry run (preview commands without executing)
aura-swarm start --swarm-mode intree --role supervisor -n 1 --prompt "..." --dry-run
# Check status of all running agent sessions
aura-swarm status
# Attach to a running session's tmux
aura-swarm attach <epic-id-or-session-id>
# Stop a running session (keeps worktree)
aura-swarm stop <epic-id-or-session-id>
# Merge agent branches back to epic branch
aura-swarm merge <epic-id>
# Launch code review round for an epic
aura-swarm review --epic <epic-id>
# Clean up a specific epic's worktree
aura-swarm cleanup <epic-id>
# Clean up all completed epics
aura-swarm cleanup --done
# Clean up everything (including in-progress)
aura-swarm cleanup --all
| Flag | Description |
|---|---|
--epic | Epic beads ID (required for worktree mode, optional for intree) |
--swarm-mode | worktree (default) or intree |
--tmux-dest | session (default) or window (agents accumulate in one tmux session) |
-n/--njobs | Number of parallel agents (default: 1) |
--role | Agent role: architect, supervisor, reviewer, worker (default: supervisor) |
--model | Claude model: sonnet, opus, haiku (default: sonnet) |
--prompt | Prompt text (required for intree mode) |
--prompt-file | Read prompt from file (mutually exclusive with --prompt) |
--prompt-addon | Additional instructions appended to auto-generated prompt (worktree mode) |
--skill | Skill to invoke at session start |
--task-id | Beads task IDs (repeatable). Intree: distributed 1:1 across agents |
--permission-mode | default, acceptEdits, bypassPermissions, plan (default: acceptEdits) |
--restart | Stop existing session and start fresh |
--dry-run | Preview commands without executing |
--attach | Attach to first session after launching |
--session-name | Override tmux session name |
--working-dir | Working directory (default: git root) |
aura-swarm must be on PATH (installed via Nix or symlinked)tmux and claude must be availablegit and bd (beads CLI) must be available; must be in a git repo with beads initialized--prompt or --prompt-file required; bd only needed if --epic is providedaura-parallel is deprecated. All commands translate directly:
# Old:
aura-parallel --role worker -n 3 --prompt "..."
# New:
aura-swarm start --swarm-mode intree --role worker -n 3 --prompt "..."
The aura-parallel command still works as a thin wrapper but prints a deprecation warning.