brainstorm

A guided brainstorming command for the Craft developer toolkit. It helps turn an idea into a clearer specification through questions about the topic, focus, and depth.

In plain words
What is it for?
Use it to explore a feature or technical problem, clarify requirements, choose how deeply to investigate it, and capture a specification for later development.
Why use it?
It gives structure to vague ideas before coding begins. The prompt-refinement step can also turn an unclear request into a more usable instruction.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/data-wise/craft/brainstorm
Clone the repo
git clone --depth 1 https://github.com/Data-Wise/craft
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,403 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00019 $0.01403
Opus 5 $0.00010 $0.00701
Sonnet 5 $0.00004 $0.00281
Haiku 4.5 $0.00002 $0.00140

Measured yesterday against content hash c0b0b16f2eae, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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.

commands/brainstorm.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/brainstorm - ADHD-friendly Ideation

This command is a thin shim. The canonical behavior lives in the brainstorm skill (a sibling of brainstorm-insights, which now holds only the session-insights operation — see "Why this is a redesign" below). This file exists only to preserve the explicit /craft:brainstorm slash entry point through the v2.34.0 → v3.0.0 migration.

--refine / --no-refine (prompt pre-processing)

Runs the prompt-refiner by default to pre-process your input. Pass --no-refine to skip. Under --yes, the refiner auto-accepts Execute now (no confirm prompt).

Do NOT act on the raw argument. First invoke the prompt-refiner skill with the argument and project context. Follow that skill's canonical flow (before/after box → fenced refined-prompt block → 4-way confirm: Execute now / Copy for elsewhere / Edit first / Skip; --yes or auto mode auto-accepts Execute now). If the user picks "Copy for elsewhere," stop here — do not start brainstorm's own depth/focus question flow. Otherwise proceed using the prompt the skill returns. On no-argument interactive commands, refine AFTER the topic is captured.

When invoked

  1. Load the canonical procedure: read ${CLAUDE_PLUGIN_ROOT:-.}/skills/workflow/brainstorm/SKILL.md and follow it exactly — parse args, pick depth+focus, context scan, expert questions, one follow-up offer, generate output, optional spec capture, optional --orch handoff.
  2. Do not reimplement here. Any change to /brainstorm behavior must be made in the skill, never duplicated into this shim.

Why this is a redesign, not just a shim

The pre-redesign command and the brainstorm-insights skill it pointed to both carried full, diverging implementations of brainstorming — see the deprecated-commands audit. This redesign:

  • Splits brainstorm from insights. brainstorm-insights bundled two operations sharing no input or output: ideation (topic + context → BRAINSTORM/SPEC) and session-facet friction analysis (~/.claude/usage-data/facets/ → report). Insights now lives alone at skills/workflow/brainstorm-insights/ (directory name kept for path stability — tests and commands/workflow/insights.md reference it). Brainstorm moved to its own skills/workflow/brainstorm/.
  • Cut decision points from four to two. The old flow had separate depth and focus menus, a per-depth "ask more?" escape hatch with different options at each depth, and milestone re-prompts every N questions at high counts. Now: one combined depth+focus prompt, one follow-up offer after the expert questions.
  • Removed in-skill agent delegation. The old "max" depth spawned 1-2 background subagents directly, using agent type names that didn't exist (silently falling back to general-purpose with no model pin — fixed earlier in this branch). That duplicated what orchestrator-v2 already does correctly (wave checkpoints, file-based results, explicit model routing, confirmation before spawning). Brainstorm no longer spawns agents itself — deep analysis needing multiple agents goes through --orch (routes to orchestrator-v2, unaffected by this redesign) after a spec is captured. One delegation mechanism, not two. There is no more max depth; use deep for the full question set, then --orch if multi-agent implementation planning is wanted.

Read the full file on GitHub · 114 lines

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. yesterday First seen · 114 lines · 19 tokens per session scan A c0b0b16f2eae

Subscribe to this mod's changes

brainstorm is a command published in the GitHub repository Data-Wise/craft (4 stars, last pushed 16d ago), licensed MIT. It adds 19 tokens to every session and 1,403 once invoked, about $0.0001 per session on Opus 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-31.