Swarm

From redpanda-data/ui-harness · View interactive version

Swarm is an AI agent skill from the GitHub repository redpanda-data/ui-harness. parallel executor. Use /swarm.

How to use this skill

Skill file

Swarm

Repo/code changes: run /deslop before commit, push, PR, or merge.

Parallel executor: not planner, not /goal, not autopilot.

Use /swarm <free-form goal>. Infer lanes from the user's text. Do not ask for approval before launch unless required context is missing.

Position

Launch flow

  1. Prime fast: inspect current repo state, rules, docs, branch, PR, and active goal when present. Use /prime style brief internally.
  2. Choose workspace policy from text:
  1. Draft a tiny swarm manifest, then launch immediately:

```txt

Swarm manifest

Policy: shared | worktrees | hybrid

```

  1. Spawn only distinct lanes. No duplicate or vague agents.
  2. Coordinator keeps critical path local, merges results, resolves conflicting findings, verifies, and closes agents.

Lane design

Every lane gets a Task packet:

agent_name: swarm-<area>-<mission>
role: explorer | worker | reviewer | teacher
mission: one concrete outcome
skills: [/prime, /tdd, /review]
context: docs, decisions, branch or PR, relevant paths
workspace_policy: shared | worktree | hybrid
write_scope: exact paths or "report-only"
forbidden: duplicate lanes, unrelated files, commits, pushes unless asked
model_policy: inherit by default; override only when useful or user asks
output schema: status, summary, changed_files, tests_run, findings, blockers, next_action

Agents may read and write unless the packet says report-only. In shared policy, assign file ownership or serialize write-heavy lanes. In worktree policy, branch names should be descriptive and may follow <owner>/<ticket>/<lane-desc> when creating worktrees.

Skill composition

Merge protocol

Compatibility

Codex and Claude Code must work from prompts and artifacts, not hidden hooks. Use native subagents when available. If no subagent tool exists, emit Task packets as handoff files or commands for manual launch.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.