Skip to main content
ClaudeWave
Slash Command83 repo starsupdated 9d ago

general

The `/swarm:general` command launches a multi-agent team in general mode to accomplish user-defined outcomes. Use this when you need a coordinated team of specialized agents to work on a project, with options to either auto-configure the team on a stronger or cheaper model tier, or manually customize the team composition, research settings, and agent selection before launch.

Install in Claude Code
Copy
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/DheerG/swarms/HEAD/commands/general.md -o ~/.claude/commands/general.md
Then start a new Claude Code session; the slash command loads automatically.

general.md

# /swarm:general

Read `${CLAUDE_PLUGIN_ROOT}/commands/launch.md` for Step 0 (pre-flight), Step 1 (hard rules), and Step 8 (launch). This command replaces Steps 2–7.

**No lead research unless enabled.** Unless the user explicitly enables lead research, do not read codebase files, spawn subagents, or perform research. Delegate all research to teammates.

## Settings

- **Mode:** General
- **Outcomes question:** "What outcomes do you want the team to achieve? (Describe what should be different or better when the work is done.)"
- **Defaults:** suggest-members (General mode), tier picked at setup (Ultra recommended), no lead research

## User-Provided Context

$ARGUMENTS

## Workflow

1. **Setup.** AskUserQuestion — "How would you like to set up the team?" Options: "Defaults — Ultra (Recommended)" (auto-configure mode/team/research; full team on the stronger model — reliable rule-following) / "Defaults — Balanced" (same auto-config; cheaper model for members — lower cost, less reliable rule-following) / "Configure each step" (choose mode, team, tier, research individually).
2. **Outcomes.** If User-Provided Context is non-empty, use as outcomes. Otherwise ask the outcomes question (plain text, not AskUserQuestion). Do NOT echo the outcomes back verbatim — run the outcome reflection instead: You MUST use the **Skill** tool to invoke `swarm:reflect-outcome` with the user's exact words as `args`, and do not author its wording yourself. If it returns `NO FORK` (the common case), show nothing — no echo, no confirmation beat — and carry the outcome forward to the Step 7 team-plan summary, where it is restated (that is where the user sees their words carried forward). If it returns a ready-to-render fork, present it with AskUserQuestion exactly as returned (transport it, do not reword the question or labels) and resolve the user's pick per the skill — Option A keeps their wording, Option B re-authors into a new verbatim. Store no separate supplement. The user's verbatim words are still captured for the Step 8 briefs (launch.md verbatim-capture rule); the user can still adjust at Step 7.
3. **Team configuration.** Defaults path (either Defaults option): apply the defaults above with the tier set to the option picked (Ultra or Balanced), and immediately proceed to step 4 in the same response — do not pause for user input. Configure path: follow launch.md Steps 4–6, then step 4.
4. **Confirmation.** Follow launch.md Step 7. Mode is General.
5. **Launch.** Follow launch.md Step 8.