skills/swarm/SKILL.md
Architect-led swarm of 11 specialized agents with gated QA pipeline. Use when you need parallel execution with quality gates between batches
npx skillsauth add Thomashighbaugh/opencode swarmInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Architect-led team of 11 specialized agents executing in parallel batches with a gated QA pipeline. The architect designs the solution and creates a work plan, then agents execute in 3 parallel batches. Each batch passes through a QA gate before the next batch starts. Final verification by the verifier agent.
ralph insteadmetaswarm insteadteam insteadhive instead| # | Role | Responsibility | |---|------|----------------| | 1 | Architect | Designs the solution, creates the work plan, defines interfaces and data flow | | 2 | Executor 1 | Implements core logic — primary implementation agent | | 3 | Executor 2 | Implements supporting modules — secondary implementation agent | | 4 | Executor 3 | Implements utilities, config, and infrastructure — tertiary implementation agent | | 5 | Code Reviewer | Reviews code for correctness, style, and adherence to conventions | | 6 | Security Reviewer | Reviews code for vulnerabilities, secrets exposure, and security anti-patterns | | 7 | Test Engineer | Writes and runs unit/integration tests, ensures coverage thresholds | | 8 | QA Tester | Runs end-to-end verification, edge case testing, and integration checks | | 9 | Verifier | Final gate — validates all work meets acceptance criteria before sign-off | | 10 | Designer | Designs UI/UX, component architecture, and visual consistency (when applicable) | | 11 | Debugger | Diagnoses and fixes issues found during QA gates |
Delegate to @architect to analyze requirements, design the solution, create a work plan with task breakdown, define interfaces/data flow, and output work-plan.md to .opencode/state/orchestration/progress/.
Delegation: @architect Design the solution for: {task}. Create a work plan with task breakdown for 3 parallel executor tracks. Output to .opencode/state/orchestration/progress/.
Decompose the work plan into independent tasks and delegate in parallel: @executor (core), @executor (supporting), @executor (utilities/config), @designer (UI/UX if applicable). Each receives their specific task from the work plan.
Delegation: @executor Implement {module} per the work plan at {path}. Follow the interfaces defined by the architect.
After all Batch 1 agents complete, delegate in parallel: @code-reviewer (correctness/style), @security-reviewer (vulnerabilities/secrets), @test-engineer (write/run tests, verify coverage).
Gate criteria: All code reviewed and approved. No security issues (or all resolved). Tests written and passing. Coverage meets thresholds.
If gate fails: Note issues, delegate to @debugger to fix, then re-run the gate.
@qa-tester runs end-to-end verification, edge case testing, integration checks. @debugger fixes issues from QA Gate 1. (Optional) @executor addresses remaining implementation gaps.
@code-reviewer verifies fixes and new code. @test-engineer runs full test suite, verifies no regressions.
Gate criteria: All QA tester findings resolved. Full test suite passes. No regressions. Integration tests pass.
If gate fails: Delegate to @debugger for fixes, re-run gate.
@debugger addresses remaining issues from QA Gate 2. (Optional) @executor for final polish.
Delegate to @verifier for final sign-off: @verifier Verify all work against the acceptance criteria in {work-plan path}. Check: all tests pass, no security issues, code reviewed, acceptance criteria met.
Verification checklist: All acceptance criteria met. Full test suite passes. Code review completed with no blockers. Security review completed with no blockers. No regressions. All edge cases handled.
If verification fails: Return to Batch 3 for fixes, then re-verify. If passes: Mark task complete, write final checkpoint.
Use @agent-name format (NOT call_omo_agent): @architect, @executor, @code-reviewer, @security-reviewer, @test-engineer, @qa-tester, @verifier, @designer, @debugger.
At each stage boundary, write a checkpoint JSON to .opencode/state/orchestration/checkpoints/{timestamp}_swarm_stage{N}.json with fields: method, task, stage, stageName, timestamp, batch, completed[], remaining[], gateStatus, context.
call_omo_agent or raw tool callsSwarm: Architect-led team of 11 agents with gated QA pipeline. Design, execute in parallel batches, verify each batch.
/orchestrate team — N coordinated agents on shared task list/orchestrate hive — Batched parallelism with worktree isolation/orchestrate metaswarm — 12-agent autonomous issue-to-PR pipeline/orchestrate ralph — Persistent retry loophive-methodology skill — 7 principles for structured multi-agent coordinationtools
Create valid, type-safe TypeScript tools for OpenCode — generates correct boilerplate, typed interfaces, and handler stubs. Use when building new tools for global config or per-project .opencode/tools/.
testing
Explore multiple solution branches in parallel, evaluate each, and recommend the best path. Use when the user explicitly invokes /ideation tree-of-thoughts or asks for "tree of thought" / "branching exploration".
testing
Run multiple independent reasoning passes and find consensus. Use when the decision is critically important, the stakes are high, or the user explicitly requests "run it multiple times" / "check consistency" / "self-consistency".
testing
Optimization by PROmpting — generate candidate prompt variations, test each against a benchmark, and report the best performer. Use when the user invokes /ideation opro or asks for "prompt optimization" / "OPRO".