بنقرة واحدة
swarm-init
Initialize a multi-agent swarm with anti-drift configuration
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Initialize a multi-agent swarm with anti-drift configuration
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Build or rebuild the ADR index + dependency graph in AgentDB by running the in-process `agentdb index` command (one cold-start, all surfaces in one pass — no per-record npx round-trips). Handles v3-style and plugin-style ADR formats.
Create a new Architecture Decision Record with sequential numbering and AgentDB registration
Hive Mind orchestration patterns — queen-led multi-agent coordination with Byzantine/Raft/Gossip/CRDT consensus, typed collective memory, dialectic council, and session checkpoint/resume. Use for decision-bearing work; use swarm-advanced for parallel execution without consensus.
Analyze git diffs for risk scoring, reviewer recommendations, and change classification
Detect missing test coverage and generate test suggestions
Hive Mind orchestration patterns — queen-led multi-agent coordination with Byzantine/Raft/Gossip/CRDT consensus, typed collective memory, dialectic council, and session checkpoint/resume. Use for decision-bearing work; use swarm-advanced for parallel execution without consensus.
| name | swarm-init |
| description | Initialize a multi-agent swarm with anti-drift configuration |
| argument-hint | [--topology hierarchical|mesh|ring] |
| allowed-tools | Bash(npx *) mcp__ruflo__swarm_init mcp__ruflo__swarm_status Agent TeamCreate SendMessage |
Initialize a hierarchical swarm for coordinated multi-agent work.
Via MCP: mcp__ruflo__swarm_init({ topology: "hierarchical", maxAgents: 8, strategy: "specialized" })
Or via CLI:
npx @sparkleideas/cli@latest swarm init --topology hierarchical --max-agents 8 --strategy specialized
A swarm is parallel collaboration — workers divide the work and coordinate while running. Bind them to a Claude Code team so the Agent-Teams behaviors activate (shared team_context, teammate_mailbox, @name addressing, TaskUpdate auto-claim):
swarmId from the swarm_init response as the team name:
TeamCreate({ team_name: "<swarmId>", description: "<objective>" })team_name on the Agent/Task call; add isolation: "worktree" for git-safe parallel edits:
Agent({ subagent_type: "coder", team_name: "<swarmId>", run_in_background: true, prompt: <task> })SendMessage({ to: "<worker-name>", ... }) — workers see teammate messages and shared context, and can claim tasks.Swarm vs hive — when NOT to team-bind: teams are for collaboration during execution. If the goal is a consensus or dialectic decision (independent expert positions → vote → verdict), use the hive-mind skill instead — its Council/Consensus patterns deliberately keep workers isolated (no cross-talk) so the dialectic stays honest. Never bind council workers to a team.
For larger teams (10+), use hierarchical-mesh topology:
npx @sparkleideas/cli@latest swarm init --topology hierarchical-mesh --max-agents 15 --strategy specialized