swarm-execute
FreeNo executable scriptsNot checkedExecute an implementation plan with parallel worker swarms, quality gates, and native task tracking — a user-invoked Execution Orchestrator workflow.
by dralgorhythm★ 136 GitHub starsAbout this skill
Execution Orchestrator
Execute plans using parallel worker swarms with quality gates and native task-list tracking.
MCP Tools
Context7 (documentation):
- Research implementation patterns
- Verify API usage
CLI Tools
gh (GitHub CLI):
- Use
gh pr createfor creating pull requests - Use
gh pr viewto check PR status - Use
gh issue listfor issue tracking
Execution Workflow
- Discover — Find available work via
TaskList(unblocked, not-yet-started tasks) - Claim — Mark the task in progress via
TaskUpdate(status: in_progress) - Analyze — Check the task's
blockedBydependencies to confirm it is actually unblocked - Execute — Launch parallel workers for independent tasks
- Gate — Run quality gates before marking tasks complete
- Close — Mark complete via
TaskUpdate(status: completed) - Push — Push to remote (MANDATORY)
Context Efficiency
- Workers inherit session context - CLAUDE.md and rules are loaded, but workers use focused instructions
- Narrow scope - Each worker focuses on one task, sized to roughly 200-400 changed LOC or 15-45 minutes of focused work (review effectiveness collapses beyond ~400 LOC — SmartBear/Cisco)
- Guided behavior - Agent instructions define scope, permissionMode controls access
- Right-sized models - see Worker Types below for the tiering pointer
Worker Types
| Worker | Primary Use |
|---|---|
worker-explorer |
Fast codebase search, web research, dependency mapping |
worker-builder |
Implementation, testing, refactoring |
worker-reviewer |
Code review, security audit, quality assessment |
worker-research |
Deep multi-source investigation, technology evaluation |
worker-architect |
Complex design decisions, ADRs, system architecture |
Model tiers are pinned in each agent's frontmatter (.claude/agents/) — that is the single source of truth.
Worker Focus Modes
Orchestrators specialize workers by specifying a focus mode in the prompt.
worker-builder focus modes:
implementation(default): Write code per specificationtesting: Write tests, cover happy path and edge cases, ensure deterministicrefactoring: Extract patterns, simplify conditionals, apply SOLID/DRY. Follow Two Hats Rule (see code-quality.md)
worker-reviewer focus modes:
quality(default): Code review checklist — naming, style, tests, patternssecurity: OWASP Top 10 scan, hardcoded secrets, auth/authz flows, input validation. Reference CWE IDs. See security.mdperformance: N+1 queries, blocking I/O, allocations, pagination, caching. See code-quality.md
Quality Gates
Run quality gates per code-quality.md — all must pass. No exceptions.
Coordination Protocol
- Orchestrator decomposes work into tasks via
TaskCreate, with acceptance criteria andblockedBydependencies — each unit shaped to merge tomainindependently (trunk-based, per core-directives) - Orchestrator claims a task on behalf of a worker:
TaskUpdate(status: in_progress) - Workers execute their assigned task following AGENTS.md "Landing the Plane" workflow — workers do NOT touch the task list themselves
- Workers report completion (and any follow-up work discovered) back to the orchestrator
- Orchestrator integrates, verifies, and updates the task list based on worker reports
Worker Completion Requirements
Workers do not have direct access to the native task list — the orchestrator owns it. Which completion mode a worker follows depends on its isolation frontmatter; see AGENTS.md "Landing the Plane" for the canonical two-mode protocol (Mode A: isolated worktree workers commit-and-report; Mode B: non-isolated agents push directly).
worker-builder runs isolated (isolation: worktree) — every other worker in this table does not. For an isolated worker's completed task, the orchestrator:
- Merges the worker's worktree branch into the feature branch with
git merge --ff-only - Re-runs quality gates on the merged result — a worker's local gate pass does not substitute for the orchestrator's own verification
- Pushes the feature branch to remote (mandatory — see Core Directives "Constraints" for the Ship It rule)
- Cleans up the worker's worktree
- Marks the task completed via
TaskUpdate, and files any follow-up work the worker reported viaTaskCreate
The feature branch itself PRs to main directly when its unit is complete — trunk-based. A unit that depends on unmerged work waits for that work to land on main and then branches from main; never open a PR whose base is another unit's branch.
Checkpointing
For long-running tasks, the orchestrator records progress on the task via TaskUpdate (metadata/comments), e.g.:
- "Completed step 1: schema migration"
- "Completed step 2: API endpoints"
- "In progress: integration tests"
Error Handling
If a worker fails:
- Orchestrator marks the task block
Install swarm-execute in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the swarm-execute skill do?
Execute an implementation plan with parallel worker swarms, quality gates, and native task tracking — a user-invoked Execution Orchestrator workflow.
How do I install the swarm-execute skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the swarm-execute skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic