一键导入
flywheel-swarm
Launch a parallel swarm of agents to implement multiple beads simultaneously.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Launch a parallel swarm of agents to implement multiple beads simultaneously.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Check if the codebase has drifted from the implementation plan.
Full health check of the codebase and flywheel dependencies.
Deep research on an external GitHub repository to extract implementation insights.
Set up flywheel prerequisites for this project.
Start or resume the full agentic coding flywheel. Drives the complete workflow: scan → discover → plan → implement → review.
Stop the current flywheel session and reset state.
| name | flywheel-swarm |
| description | Launch a parallel swarm of agents to implement multiple beads simultaneously. |
Launch a parallel swarm of implementation agents. $ARGUMENTS
Call flywheel_approve_beads with action: "start" via the agent-flywheel MCP server. This returns the list of ready beads.
If no beads are ready, say "No beads are ready for implementation. Run /agent-flywheel:flywheel to create a plan first."
Ask the user: "How many agents should run in parallel? (Recommended: 2-4)"
Setup coordination:
macro_start_session(human_key: cwd, program: "claude-code", model: your-model, task_description: "Swarm: <goal>")TeamCreate(team_name: "swarm-<goal-slug>")For each ready bead (up to the user's limit), create a task and spawn an agent:
TaskCreate(subject: "Impl: <bead-id> <title>", status: "in_progress")Agent(
subagent_type: "general-purpose",
isolation: "worktree",
name: "impl-<bead-id>",
team_name: "swarm-<goal-slug>",
run_in_background: true,
prompt: "
## Agent Mail Bootstrap
Call macro_start_session(human_key: '<cwd>', program: 'claude-code', model: 'claude-sonnet-4-6',
task_description: 'Implementing bead <id>: <title>')
Note your assigned agent name for messaging.
## File Reservation
Before editing any files, call file_reservation_paths with the files you plan to modify.
Release reservations when done: release_file_reservations.
## Bead: <id> — <title>
<description>
## Acceptance criteria
<criteria>
## On completion
Send a completion message to <your-coordinator-name> via send_message.
"
)
Save each agent's task ID — needed for TaskStop if they become unresponsive.
Monitor swarm:
SendMessage(to: "impl-<bead-id>", message: "Please report your current status and any blockers.")TaskList to see overall swarm task status.TaskStop(task_id: "<id>") to force-stop an unresponsive agent.As each agent completes:
TaskUpdate(taskId: "<task-id>", status: "completed")SendMessage(to: "impl-<bead-id>", message: {"type": "shutdown_request", "reason": "Bead complete."})"*" — send to each agent individually.Report: "Swarm launched: N agents working on N beads. Use /agent-flywheel:flywheel-swarm-status to monitor progress."