brainstorm

brainstorm is a command for coding agents from juan294/cc-rpi. It costs 0 tokens per session (709 once invoked), scanned A, original, MIT.

A guided command for turning an unclear software idea into a design brief with defined goals and success criteria. It asks focused questions before planning implementation.

In plain words
What is it for?
Use it for new projects or features whose problem, users, scope, or requirements are not yet clear.
Why use it?
It helps resolve important design uncertainties before work begins, so a vague request does not become an underspecified build plan.

Command

Part of the cc-rpi plugin — 14 skills, 19 commands, 2 hooks shipped together

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/juan294/cc-rpi/brainstorm
Clone the repo
git clone --depth 1 https://github.com/juan294/cc-rpi

Or install cc-rpi, the plugin that ships this one along with the rest of its 14 skills, 19 commands, 2 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/juan294/cc-rpi/brainstorm.svg)](https://agentmods.dev/commands/juan294/cc-rpi/brainstorm)
Your own site
<a href="https://agentmods.dev/commands/juan294/cc-rpi/brainstorm"><img src="https://agentmods.dev/badge/commands/juan294/cc-rpi/brainstorm.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 709 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.00000 $0.00709
Opus 5 $0.00000 $0.00354
Sonnet 5 $0.00000 $0.00142
Haiku 4.5 $0.00000 $0.00071

Measured 4d ago against content hash f7d7b475160c, 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 4d 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.

templates/commands/brainstorm.md · 78 lines

How it starts

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

Refine a raw idea into a validated design brief: $ARGUMENTS

Model tier: opus — Opus session. Conversational reasoning, no subagents by default.

The front end of RPI for greenfield or vague work. /research documents an existing codebase; /brainstorm interrogates an idea that does not exist yet and produces a design brief that /plan can consume. Use it when the request is a goal, not a spec — when you could not yet write success criteria.

When to use

  • Greenfield feature or project with no clear spec.
  • A vague request ("we should make X better") where scope is undefined.
  • Skip it when the task is well-specified, mechanical, or already researched. Go straight to /plan (existing code) or /research (understand first).

Process

  1. Restate the idea in one sentence and name the core uncertainty. If the one-liner is obvious and unambiguous, say so and recommend skipping to /plan — do not manufacture questions.
  2. Ask ONE focused question at a time. Wait for the answer before the next. Never batch a wall of questions. Socratic, not a survey.
  3. Cover the dimensions that change the design, in roughly this order:
    • Problem: who has it, what do they do today, why now.
    • Scope: what is explicitly IN and OUT of this effort.
    • Constraints: stack, deadlines, existing systems, non-negotiables.
    • Success: how we will know it worked — concrete, observable.
    • Risks: what could make this the wrong thing to build.
  4. Present design options as they emerge — at least two, with honest trade-offs. Recommend one. Do not hide the alternatives.
  5. Reflect understanding back in digestible chunks. Confirm each chunk before moving on. Surface disagreements early, not at the end.
  6. When the uncertainty is resolved, write the design brief.

Output

Save to docs/research/YYYY-MM-DD-[description]-brief.md (same directory /plan reads from). Structure:

# Design Brief: [name]
> Brainstormed on [date]

## Problem
[Who, what they do today, why now]

## Goal
[One sentence]

## Scope
**In:** [...]
**Out:** [...]

## Constraints
[Stack, deadlines, existing systems, non-negotiables]

## Chosen Approach
[The recommended option and WHY, with the rejected alternatives and why not]

## Success Criteria
[Concrete, observable — these become the plan's success criteria]

## Open Risks
[What could still make this wrong]

Read the full file on GitHub · 78 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. 4d ago First seen · 78 lines · 0 tokens per session scan A f7d7b475160c

Subscribe to this mod's changes

brainstorm is a command published in the GitHub repository juan294/cc-rpi (5 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 709 tokens. 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.