metaswarm: Command for Claude Code

.claude/commands/brainstorm.md

brainstorm is a command for Claude Code from dsifry/metaswarm. It costs 20 tokens per session (394 once invoked), scanned A, original, MIT.

A guided brainstorming command for turning an idea or problem into a written software design. It can hand the design to a review step before planning when the related tools are available.

In plain words
What is it for?
Use it to discuss an idea, ask focused questions, compare trade-offs, create a design document, and request a design review.
Why use it?
It helps clarify unclear requirements and compare possible approaches before implementation begins. This reduces the chance of planning or coding from an incomplete design.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is dsifry/metaswarm's own configuration. It tells Claude Code how to work on metaswarm itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything metaswarm configures →

Part of the metaswarm plugin — 15 skills, 16 commands, 31 agents, 3 hooks shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to dsifry/metaswarm. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dsifry/metaswarm/main/.claude/commands/brainstorm.md
Clone the repo
git clone --depth 1 https://github.com/dsifry/metaswarm

Made for: Claude Code.

Or install metaswarm, the plugin that ships this one along with the rest of its 15 skills, 16 commands, 31 agents, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for brainstorm

README.md
[![agentmods](https://agentmods.dev/badge/commands/dsifry/metaswarm/brainstorm/github.svg)](https://agentmods.dev/commands/dsifry/metaswarm/brainstorm)
Your own site
<a href="https://agentmods.dev/commands/dsifry/metaswarm/brainstorm"><img src="https://agentmods.dev/badge/commands/dsifry/metaswarm/brainstorm/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for brainstorm

Your own site · 80×15
<a href="https://agentmods.dev/commands/dsifry/metaswarm/brainstorm"><img src="https://agentmods.dev/badge/commands/dsifry/metaswarm/brainstorm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 394 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.00394
Opus 5.5 $0.00008 $0.00158
Sonnet 5.5 $0.00004 $0.00079
Haiku 4.5 $0.00002 $0.00039

Measured 21d ago against content hash 87543d8dd6f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

brainstorm scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/brainstorm.md · 32 lines

What it actually says

Brainstorm

Invoke the metaswarm brainstorming extension skill, which wraps superpowers:brainstorming with metaswarm's design review gate handoff.

Usage

/brainstorm <idea or problem description>

Behavior

  1. If superpowers:brainstorming is available, invoke it for the collaborative design process, and load the brainstorming-extension skill at the start of brainstorming (not only after the commit) for its assumption ledger and Common misreadings checklist; they apply to every brainstorming session regardless of size
  2. When brainstorming writes and commits a project-sized design doc, automatically trigger the design review gate (/metaswarm:review-design); quick tasks, chat-only designs and short design docs for small changes skip it (see the metaswarm plugin's guides/workflow-enforcement.md)
  3. Wait for all 6 review agents to approve before proceeding to planning

If superpowers is not installed, provide standalone brainstorming guidance, and apply the assumption ledger, the confirmation rule and the Common misreadings checklist from metaswarm:brainstorming-extension:

  • Ask clarifying questions one at a time
  • Propose 2-3 approaches with trade-offs
  • Present design sections for approval
  • Write design doc to docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md (superpowers' default) or docs/plans/YYYY-MM-DD-<topic>-design.md; the design review gate watches both
  • Trigger design review gate (project-sized design docs only)
  • /metaswarm:review-design — triggered automatically when brainstorming commits a project-sized design doc
  • superpowers:brainstorming — the underlying brainstorming skill (if available)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 21d ago Changed 87543d8dd6f8
  2. 22d ago Changed 2e9eeb195261
  3. 24d ago Changed · +4 lines · +20 tokens per session 8e6bb92a8cea
  4. 3mo ago First seen · 28 lines · 0 tokens per session scan A 5814412269bd

Subscribe to this mod's changes

brainstorm is a command published in the GitHub repository dsifry/metaswarm (442 stars, last pushed yesterday), licensed MIT. It adds 20 tokens to every session and 394 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

brainstorm compared with commands from other repositories

brainstorm next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
brainstormdsifry/metaswarmCommand442yesterdayMITA20Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code