npx claudepluginhub dheerg/swarms --plugin swarmLaunch a code-mode agent team
Scaffold a custom workflow — generates a mode skill and shortcut command
Launch a general-mode agent team
Interactively launch an agent team with guided setup
Walk through swarm's core concepts and launch your first team
Regenerate an existing custom workflow's shortcut command wiring from the current swarm template
Update the swarm plugin to the latest version
Launch a custom workflow using a user-defined mode skill
Launch a writing-mode agent team
Evaluates ambient context artifacts (CLAUDE.md, memory, local skills, settings hooks) for compatibility with swarm governance. Returns a classified report so users can address interference before launching a team.
Code mode operational spec for the team lead. Returns lead identity, facilitator identity, mode-specific rules, suggest-members guidance, and phase arc for code-mode teams.
Builds measurable validation criteria when no existing standards apply. Invoked by team agents during review.
General mode operational spec for the team lead. Returns lead identity, facilitator identity, suggest-members guidance, and phase arc for general-purpose teams.
Reframes implementation descriptions into outcome statements. Invoked by launch commands during outcome refinement.
Resolves stuck review findings via a put-up-or-concede exchange. Invoked by the facilitator when a finding survives arbitration without new evidence.
Recommends team composition based on outcomes and mode. Invoked by launch commands during team setup.
Returns the universal governance spec for custom workflow commands. Hard rules, briefing templates, launch mechanics, and pulse setup. Invoked by user-authored shortcut commands that cannot read launch.md directly.
Writing mode operational spec for the team lead. Returns lead identity, facilitator identity, ownership boundaries, editorial baseline, suggest-members guidance, and phase arc for writing-mode teams.
Structural pattern analysis for writing-mode review. Performs paragraph-level decomposition and pattern aggregation. Invoked by the team lead during editorial review.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
No model invocation
Executes directly as bash, bypassing the AI model
Get consistent predictable, well tested results from claude code sessions.
This plugin gives users a few commands that greatly improve results using agent teams/swarms with outcome based directives. It works well with both coding and non-coding tasks.
Unlike out-of-the-box agent teams, swarm gives the team members much needed instruction on being better at communicating with each other, better at following instructions, staying active during long lasting sessions, applying great quality improvement processes, all while requiring fewer course corrections.
Swarm launches a small team of agents for each task: a lead, a Socratic facilitator, and specialists you pick for the work. They research independently and argue through disagreements before the team scores its own output. Work only reaches you after the team agrees it's at 9 out of 10. Most of the quality work happens in the cycles you never see.
/swarm:launch
New here? Start with /swarm:onboard, a short walkthrough of the four concepts before your first launch.
Install the plugin:
claude plugin marketplace add DheerG/swarms
claude plugin install swarm@swarms --scope project
Agent teams must also be enabled in Claude Code. Add to ~/.claude/settings.json:
{
"env": {
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
}
}
/swarm:launch checks for this and will enable it for you if it's missing. For local development:
claude --plugin-dir /path/to/swarms
Changes take effect in the next session.
I built this across hundreds of sessions, pruning rules, memories, and skills until the quality stopped varying. When model quality shifted, small targeted changes kept it working, even on smaller models. Once the results were consistent enough to rely on, I started sharing with teammates and friends.
That's when the real problem showed up. I'd send a prompt to someone I work with and watch them get wildly different results. Their Claude had a different CLAUDE.md, different memories, different local skills, different settings hooks. All of that ambient context quietly rewrote what they were trying to do, not just their prompts. The prompt alone wasn't the problem. The environment around it was.
Swarm is the fix. It bundles the rules and the phases into one plugin you install and invoke, so what you share is what actually runs, on your machine or anyone else's. Portable quality, not just personal repeatability.
— Dheer
More on how I think about agents: dheer.co
Swarm is for you if:
Swarm is not:
Running /swarm:launch is a guided interaction. At every step you either see something or make a choice, with no silent spawns and no mystery setup.
/swarm:launch
The first question is always about outcomes. An outcome describes what success looks like when the work is done, rather than what to build.
Do you have outcomes defined, or would you like help?
- I'll provide my outcomes (Recommended) I know what success looks like and will describe it
- Help me define outcomes Use /swarm:refine-outcomes to reframe my ideas into outcome statements
Say what you want. The system is looking for state-based results ("users can authenticate with a one-time code") rather than implementation steps ("add an email-OTP endpoint"). If you're not sure, pick the second option and a refinement skill will help you reframe.
Once outcomes are captured, swarm asks how configured you want the setup to be:
How would you like to set up the team?
- Use defaults (Recommended) Auto-configure mode, team, shape, and research — review before launch
- Configure each step Choose mode, team members, shape, and research individually
Defaults path: swarm infers the mode (Code / Writing / General) from your outcomes, suggests a team automatically, picks Balanced shape, and jumps to the final confirmation. Configure path: four short questions, your call on each.
Swarm presents a proposed roster and asks:
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.