dsifry/metaswarm/start

Claude Code and agent skill by dsifry/metaswarm

Trust tier 2
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
LLM review pending
Source check pending

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/start

Semi-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
bash
# User triggers via any of:
@beads start #123
/beads-start 123
Check BEADS Status
bash
bd ready # Show tasks ready to work
bd list # Show all tasks
bd stats # Show project statistics
bd doctor # Check system health

Agent Roster

AgentRoleSpawned When
Issue OrchestratorMain coordinator per IssueIssue receives agent-ready label
Researcher AgentCodebase explorationOrchestrator creates research task
Architect AgentImplementation planningResearch complete
Product Manager AgentUse case & user benefit reviewDesign review gate (parallel)
Designer AgentUX/API design reviewDesign review gate (parallel)
Security Design AgentSecurity threat modelingDesign review gate (parallel)
CTO AgentTDD readiness & plan reviewDesign review gate (parallel)
UX Reviewer AgentUser flows, UI states, integration wiringDesign review gate (parallel)
Coder AgentTDD implementationDesign review gate approved
Adversarial ReviewerInternal code reviewImplementation complete
Security AuditorSecurity review (code)Implementation complete
Release Engineer AgentSafe delivery from merge through productionQA approves PR, PR reaches merge readiness
PR ShepherdPR lifecycle managementPR 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:

Project-Sized Design Doc Committed
│
▼
┌─────────────────────────────────────────────────┐
│ DESIGN REVIEW GATE │
│ │
│ Spawns 6 reviewers in PARALLEL: │
│ • PM Agent (use cases, user benefit) │
│ • Architect Agent (technical architecture) │
│ • Designer Agent (UX/API design) │
│ • Security Design Agent (threat model) │
│ • UX Reviewer (user flows, integration WUs) │
│ • CTO Agent (TDD readiness) │
│ │
│ ALL SIX must approve to proceed │
└─────────────────────────────────────────────────┘
│
├── Any NEEDS_REVISION? → Iterate on design (severity-gated, cap 10 rounds)
│
ALL APPROVED
│
▼
Create BEADS Epic → Begin 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.md or docs/superpowers/specs/*-design.md
  • User runs /review-design <path-to-design.md>
Review Criteria by Agent
AgentFocus Areas
Product ManagerUse case clarity, user benefits, scope, success metrics
ArchitectService architecture, dependencies, patterns, integration
DesignerAPI design, UX flows, developer experience, consistency
Security DesignThreat modeling, auth/authz, data protection, OWASP Top 10
UX ReviewerUser flows, text wireframes, integration WUs, empty/error states
CTOTDD readiness, codebase alignment, completeness, risks
Iteration Protocol
  • Severity-gated iteration (cap 10 rounds; see ./guides/delivery-scope.md): only blocker: yes findings 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:

ReviewerFocus
FeasibilityTechnical viability, dependency risks, resource constraints
CompletenessMissing work units, untested edge cases, gaps in Definition of Done
Scope & AlignmentPlan 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):

  1. IMPLEMENT — Coding subagent executes against the spec using TDD, with the Project Context Document
  2. 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.
  3. 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).
  4. COMMIT — Only after adversarial PASS. Updates SERVICE-INVENTORY.md and 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dsifry/metaswarm/start/badge)](https://verified-skill.com/skills/dsifry/metaswarm/start)

Something wrong with this skill or its page? Tell us.