dsifry/metaswarm/start
Claude Code and agent skill by dsifry/metaswarm
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work
Install
npx vskill@latest install dsifry/metaswarm/startSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as dsifry/metaswarm/start.
BEADS Multi-Agent Orchestration Skill
This skill coordinates a swarm of specialized AI agents to autonomously handle GitHub Issues from creation to merged PR.
Quick Start
Start Work on a GitHub Issue
Check BEADS Status
Agent Roster
| Agent | Role | Spawned When | |
|---|---|---|---|
| Issue Orchestrator | Main coordinator per Issue | Issue receives agent-ready label | |
| Researcher Agent | Codebase exploration | Orchestrator creates research task | |
| Architect Agent | Implementation planning | Research complete | |
| Product Manager Agent | Use case & user benefit review | Design review gate (parallel) | |
| Designer Agent | UX/API design review | Design review gate (parallel) | |
| Security Design Agent | Security threat modeling | Design review gate (parallel) | |
| CTO Agent | TDD readiness & plan review | Design review gate (parallel) | |
| UX Reviewer Agent | User flows, UI states, integration wiring | Design review gate (parallel) | |
| Coder Agent | TDD implementation | Design review gate approved | |
| Adversarial Reviewer | Internal code review | Implementation complete | |
| Security Auditor | Security review (code) | Implementation complete | |
| Release Engineer Agent | Safe delivery from merge through production | QA approves PR, PR reaches merge readiness | |
| PR Shepherd | PR lifecycle management | PR created |
See ./agents/ directory for detailed agent definitions.
Design Review Gate (NEW)
For project-sized features (brainstorming sized the work as a project and committed its design doc; see `./guides/workflow-enforcement.md`), an automatic Design Review Gate ensures quality before implementation:
Triggering the Design Review Gate
Load the brainstorming-extension skill at the start of brainstorming, not only after the commit: its assumption ledger, confirmation rule and Common misreadings checklist apply to every brainstorming session regardless of size, before any design is presented or committed.
The gate is automatically triggered when brainstorming writes and commits a project-sized design doc (see `./guides/workflow-enforcement.md`):
- A project-sized design doc is committed to
docs/plans/*-design.mdordocs/superpowers/specs/*-design.md - User runs
/review-design <path-to-design.md>
Review Criteria by Agent
| Agent | Focus Areas | |
|---|---|---|
| Product Manager | Use case clarity, user benefits, scope, success metrics | |
| Architect | Service architecture, dependencies, patterns, integration | |
| Designer | API design, UX flows, developer experience, consistency | |
| Security Design | Threat modeling, auth/authz, data protection, OWASP Top 10 | |
| UX Reviewer | User flows, text wireframes, integration WUs, empty/error states | |
| CTO | TDD readiness, codebase alignment, completeness, risks |
Iteration Protocol
- Severity-gated iteration (cap 10 rounds; see
./guides/delivery-scope.md): onlyblocker: yesfindings keep the loop going; minor/nit findings become follow-ups. A Clarify signal (the user is needed or the reviews are not converging) stops the loop for a Clarification report - Each iteration: revise design → re-run all reviewers
- Escalation options: Revise / Clarify the requirement / re-brainstorm / Narrow scope / Defer / Cancel. A Clarification report offers Answer / Keep iterating / Narrow scope / Defer / Cancel. Neither approves: a revised design gets a fresh review round
See the design-review-gate skill for full details.
Team Mode Coordination
When multiple Claude Code sessions are active on the same repository (e.g., parallel worktrees), metaswarm automatically enters Team Mode. In Team Mode, agents behave as persistent teammates with context retention across sessions and direct inter-agent messaging for coordination. Mode detection is automatic based on the presence of concurrent sessions.
For the full Team Mode protocol — including message routing, context sharing, and conflict resolution — see ./guides/agent-coordination.md.
Plan Review Gate
Once an implementation plan is written, it passes through the Plan Review Gate before it is presented. In full orchestration that is before the Design Review Gate, which then reviews the plan; on the brainstorming path the Design Review Gate has already reviewed the design doc (see `./guides/workflow-enforcement.md`). Three adversarial reviewers validate the plan independently:
| Reviewer | Focus | |
|---|---|---|
| Feasibility | Technical viability, dependency risks, resource constraints | |
| Completeness | Missing work units, untested edge cases, gaps in Definition of Done | |
| Scope & Alignment | Plan stays within issue scope, aligns with codebase conventions |
All 3 must APPROVE before the plan proceeds. See the plan-review-gate skill for the full skill definition.
Orchestrated Execution
After design review approval, implementation follows the 4-phase execution loop per work unit. This replaces the previous linear "implement then review" flow with rigorous independent validation and adversarial review.
Core Principle
Trust nothing. Verify everything. Review adversarially.
Plan Validation (Pre-Flight)
Before submitting to the Design Review Gate, the orchestrator runs a pre-flight checklist covering architecture, dependency graph, API contracts, security, UI/UX, and external dependencies. This catches structural issues (missing service layer, wrong dependency graph, oversized WUs) before spending agent cycles on review.
The 4-Phase Loop
For each work unit (a discrete, spec-driven change with DoD items):
- IMPLEMENT — Coding subagent executes against the spec using TDD, with the Project Context Document
- VALIDATE — Orchestrator independently runs quality gates (tsc, eslint, vitest, coverage enforcement from
.coverage-thresholds.json). Never trust subagent self-reports. Quality gates are blocking state transitions, not advisory. - ADVERSARIAL REVIEW — Fresh review subagent checks against spec contract. Binary PASS/FAIL with file:line evidence. Uses
adversarial-review-rubric.md. When external tools are configured, cross-model review ensures the writer is always reviewed by a different AI model (see External Tools section below). - COMMIT — Only after adversarial PASS. Updates
SERVICE-INVENTORY.mdand Project Context Document.
On FAIL: fix → re-validate → spawn fresh reviewer (role type roleType("adversarial-reviewer"); severity-gated iteration, cap 10 rounds; see ./guides/delivery-scope.md → escalate to human when the rule says so). There is NO path from FAIL to COMMIT without passing through the retry loop.
When to Use Orchestrated Execution
- The task has a written spec with enumerable Definition of Done items
- The implementation involves multiple work units (3+ logical changes)
- You need independent verification — subagent self-reports aren't sufficient
- The changes are high-stakes (schema changes, security, new architectural patterns)
- You want proactive human checkpoints at planned review points
When NOT to Use It
- Single-file bug fixes or copy changes
- Tasks without a written spec or DoD items
- Quick prototyping or exploratory work
- Tasks where the overhead of decomposition exceeds the work itself
For simple tasks, the standard linear flow (implement → code review → PR) works fine.
Key Concepts
Work Unit Decomposition: Break the implementation plan into discrete work units, each with:
- A spec section and enumerated DoD items
- A declared file scope (which files it may modify)
- Dependencies on other work units
- An optional human checkpoint flag
Independent Validation: The orchestrator runs tsc, eslint, and vitest directly — it does NOT ask the coding subagent "did the tests pass?" and accept the answer.
Adversarial Review: Fundamentally different from collaborative code review. The reviewer is an independent auditor checking spec compliance, not a helpful colleague suggesting improvements. Binary PASS/FAIL verdict. Evidence required (file:line references).
Fresh Reviewer Rule: On re-review after FAIL, a NEW reviewer instance (role type roleType("adversarial-reviewer")) is spawned with no memory of the previous review. This prevents anchoring bias.
Human Checkpoints: Planned pauses at critical boundaries (schema changes, security code, first use of new patterns). The orchestrator waits for explicit human approval before continuing.
Final Comprehensive Review: After all work units pass, a cross-unit review catches integration issues that per-unit reviews miss.
See orchestrated-execution skill for the complete pattern, including work unit structure, parallel execution, recovery protocol, and anti-patterns.
External AI Tools (Optional)
When external AI CLI tools are configured (.metaswarm/external-tools.yaml), the orchestrator can delegate implementation and review tasks to OpenAI Codex CLI and Google Gemini CLI. This enables cost savings through cheaper models and cross-model adversarial review that eliminates single-model blind spots.
How It Integrates
External tools slot directly into the existing 4-phase execution loop:
- Phase 1 (IMPLEMENT): The orchestrator may delegate to an external tool instead of spawning a Claude subagent. The tool works in an isolated git worktree.
- Phase 2 (VALIDATE): Unchanged — the orchestrator independently runs all quality gates regardless of who implemented.
- Phase 3 (ADVERSARIAL REVIEW): Cross-model review — the writer is always reviewed by a different model (e.g., Codex writes, Gemini + Claude review).
- Phase 4 (COMMIT): Unchanged — merge worktree branch after all phases pass.
Escalation Chain
The orchestrator adapts based on tool availability:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/start/SKILL.md
Popularity
- Repository stars
- 335
- Repository forks
- 44
- Repository npm downloads, 7 days
- 25
- 7-day trend score
- 42
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 18 Mar 2026, 8 months ago.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dsifry/metaswarm/start)