Help us improve
Share bugs, ideas, or general feedback.
From agentops
Guides structured brainstorming to separate goals from implementation, clarifying objectives before planning solutions.
npx claudepluginhub boshu2/agentops --plugin agentopsHow this skill is triggered — by the user, by Claude, or both
Slash command
/agentops:brainstormThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **Purpose:** Separate WHAT from HOW. Explore the problem space before committing to a solution.
Guides structured brainstorming to clarify requirements, explore user intent, approaches, trade-offs, and feature scope before implementing components or changes.
Guides brainstorming sessions to clarify ambiguous requirements, explore approaches, and align on design decisions before planning.
Guides structured brainstorming to clarify user intent, explore approaches, trade-offs, and refine requirements before implementing features or changes. Activates on ambiguous requests.
Share bugs, ideas, or general feedback.
Purpose: Separate WHAT from HOW. Explore the problem space before committing to a solution.
Upstream of move 1 (shape intent as BDD) of the operating loop. Consumes a free-text goal; produces Given/When/Then-shaped acceptance examples that /discovery can fold into a BDD intent issue. The Capture step (phase 4 below) is not complete until at least one happy path and one critical edge are written as testable Gherkin — "it should work" is not a captured example.
/brainstorm runs in one of two modes. They are complementary, not exclusive — a session may start in ideation mode, pick one idea, and hand it to goal-clarification for HOW-exploration.
| Mode | Use when | Shape |
|---|---|---|
| Goal-clarification (default; the four phases below) | The goal names ONE specific capability ("add JWT auth", "fix the login bug") | Sharpen the WHAT, explore the HOW for that single goal. |
| Ideation (open-ended; see Ideation Mode) | The goal is open-ended ("improve the project", "what should we build next") OR Phase 1 returns exploring with no single goal emerging OR --ideate is passed | Generate MANY candidate improvements, winnow ruthlessly, operationalize the survivors. |
The full mode-selection table lives in references/ideation-mode.md.
Four phases (goal-clarification mode):
/plan/brainstorm "add user authentication" # full 4-phase process
/brainstorm # prompts for goal
If the user provided a goal string, evaluate it. Otherwise prompt for one.
Use AskUserQuestion with options to gauge clarity:
If vague or exploring, ask follow-up questions to sharpen the goal before proceeding. Do NOT move to Phase 2 until you have a concrete problem statement (one sentence, testable).
Answer these questions (use codebase exploration as needed):
Summarize findings before moving on. If anything is unclear, ask the user.
Generate 2-3 distinct approaches. For each:
Before asking the user to choose, stress-test each approach:
For each approach, answer these red team questions (read references/red-team-checklist.md):
Mark any approach that fails 2+ red team questions as HIGH RISK in the comparison.
If all approaches fail 2+ questions, generate a 4th "hybrid" approach addressing the weaknesses.
Present the comparison and use AskUserQuestion to let the user pick an approach or request a hybrid.
Generate a date slug: YYYY-MM-DD-<goal-slug> (lowercase, hyphens, no spaces).
Write the output file to .agents/brainstorm/YYYY-MM-DD-<slug>.md:
---
id: brainstorm-YYYY-MM-DD-<goal-slug>
type: brainstorm
date: YYYY-MM-DD
---
# Brainstorm: <Goal>
## Problem Statement
## Approaches Considered
## Selected Approach
## Open Questions
## Next Step: /plan
All five sections must be populated. The "Next Step" section should contain a concrete /plan invocation suggestion with the selected approach as context.
Create the .agents/brainstorm/ directory if it does not exist.
Additive to the four-phase flow above — it does not replace it. Ideation mode is for "improve the project"-style goals where the WHAT is unknown and you must generate a portfolio and select, rather than clarify ONE known goal. Full detail: references/ideation-mode.md.
Trigger: the exploring clarity path (Phase 1) when no single goal emerges after follow-up, OR an explicit --ideate flag, OR an open-ended goal string ("improve the project", "what should we build next", "make X more robust").
The methodology is generate → winnow → expand → operationalize → refine. Steps 1-3 belong to /brainstorm; steps 4-5 are handed to /discovery on its open-ended path (see references/bead-operationalization.md).
Read project state so ideas align and don't duplicate work:
cat AGENTS.md # or CLAUDE.md — rules, constraints, non-goals
bd list --json # open work — don't duplicate
bd list --status closed --json # closed work — don't re-propose cut ideas
bd ready --json # what is actionable now
Generate 30 candidate improvements (criteria = the rubric dimensions: robust, reliable, performant, intuitive, user-friendly, ergonomic, useful, compelling, while staying obviously accretive and pragmatic). Think each one through: how it works, how users perceive it, how we implement it. Then winnow ruthlessly to the VERY best 5, presented ranked best-to-worst with full rationale and rubric scores. Apply the winnowing rounds and scoring from references/idea-rubric.md, and stress-test survivors with references/red-team-checklist.md. Do NOT stop at the first 5 you think of — generate the full 30 first.
Generate the next best 10 (each with rationale) for a ranked portfolio of 15 — #6-15 are often complementary to the top 5.
/discovery)Carry the ranked 15 (with how/perceive/implement notes + rubric scores + red-team findings) forward. /discovery operationalizes them into self-documenting bd beads (deps + explicit test tasks) and refines 4-5x in plan space. See references/bead-operationalization.md.
Standalone (/brainstorm --ideate): write the ranked portfolio to .agents/brainstorm/YYYY-MM-DD-<slug>-ideation.md (template in references/ideation-mode.md). Invoked by /discovery: return the ranked portfolio inline for the operationalize step.
Tracking is
bd, neverbr/bv— this is AgentOps.
Phase 4 output written = done. No further phases, no loops.
After writing the output file, verify:
Problem Statement, Approaches Considered, Selected Approach, Open Questions, Next Step: /plan) are present and non-emptyReport the file path to the user.
Example 1: Specific goal
User: /brainstorm "add rate limiting to the API"
Phase 1: Goal is clear — add rate limiting to the API.
Phase 2: Problem is uncontrolled request volume causing timeouts.
Benefits operators and end users. No rate limiting exists today.
Phase 3: Three approaches — token bucket middleware, API gateway,
per-route decorators. User picks token bucket.
Phase 4: Writes .agents/brainstorm/2026-02-17-rate-limiting.md
Example 2: Vague goal
User: /brainstorm "improve performance"
Phase 1: Goal is vague. Asks: "Which part? API response times,
build speed, database queries, or something else?"
User says: "API response times on the search endpoint."
Phase 2: Investigates search endpoint, finds N+1 queries.
Phase 3: Approaches — query optimization, caching layer, pagination.
Phase 4: Writes .agents/brainstorm/2026-02-17-search-performance.md
| Problem | Cause | Solution |
|---|---|---|
| Brainstorm loops in Phase 1 without advancing | Goal remains too vague after follow-up questions | Provide a concrete, testable problem statement (e.g., "reduce API search latency below 200ms" instead of "improve performance"). |
| Output file missing one or more required sections | Phase 4 was interrupted or the skill terminated early | Re-run /brainstorm with the same goal; verify all 5 sections (Problem Statement, Approaches Considered, Selected Approach, Open Questions, Next Step: /plan) are present in the output. |
.agents/brainstorm/ directory not created | The skill could not create the directory (permissions or path issue) | Manually create it with mkdir -p .agents/brainstorm and re-run. |
/plan invocation in "Next Step" section is generic or incomplete | The selected approach was not specific enough to generate a concrete plan command | Edit the output file to refine the selected approach, then craft a /plan invocation that includes the approach name and key constraints. |
| Brainstorm produces only one approach in Phase 3 | The problem space is narrow or the goal is overly constrained | Widen the goal slightly or explicitly ask for alternative approaches (e.g., "consider a caching approach and a query optimization approach"). |
references/brainstorm.feature — Executable spec: WHAT-not-HOW 4-phase clarification, options+tradeoffs, capture Gherkin (happy + edge) for /plan (soc-qk4b)
references/red-team-checklist.md — Adversarial critique template for Phase 3b
references/ideation-mode.md — Open-ended generate-winnow methodology: mode-selection table, generate-30 → winnow-5 → expand-15, output template (ag-yw0)
references/idea-rubric.md — Ten-dimension evaluation rubric (robust/reliable/performant/intuitive/user-friendly/ergonomic/useful/compelling/accretive/pragmatic) + winnowing rounds (ag-yw0)
references/bead-operationalization.md — Operationalize the ranked portfolio into self-documenting bd beads (deps + test tasks) and refine 4-5x in plan space (ag-yw0)