rb:brainstorm

rb:brainstorm is a skill for Claude Code, Codex from slbug/claude-ruby-grape-rails. It costs 39 tokens per session (1,985 once invoked), scanned A, original, MIT.

An interview-style planning skill for exploring a vague Ruby, Rails, or Grape feature idea. It asks questions one at a time and saves the gathered requirements for a later plan.

In plain words
What is it for?
Use it to clarify feature requirements, compare approaches, decide whether research is needed, and produce an interview document.
Why use it?
It turns an unclear request into defined behavior, reasons, scope, and context before implementation planning begins.

Skill for Claude CodeCodex

Part of the ruby-grape-rails plugin — 23 skills, 19 agents, 17 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 skills/slbug/claude-ruby-grape-rails/brainstorm
Any agent
npx skills add slbug/claude-ruby-grape-rails --skill brainstorm
Clone the repo
git clone --depth 1 https://github.com/slbug/claude-ruby-grape-rails

Made for: Claude Code, Codex.

Or install ruby-grape-rails, the plugin that ships this one along with the rest of its 23 skills, 19 agents, 17 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 rb:brainstorm

README.md
[![agentmods](https://agentmods.dev/badge/skills/slbug/claude-ruby-grape-rails/brainstorm.svg)](https://agentmods.dev/skills/slbug/claude-ruby-grape-rails/brainstorm)
Your own site
<a href="https://agentmods.dev/skills/slbug/claude-ruby-grape-rails/brainstorm"><img src="https://agentmods.dev/badge/skills/slbug/claude-ruby-grape-rails/brainstorm.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,985 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.00039 $0.01985
Opus 5 $0.00019 $0.00992
Sonnet 5 $0.00008 $0.00397
Haiku 4.5 $0.00004 $0.00198

Measured 3d ago against content hash 743a217791f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rb: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 3d 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.

plugins/ruby-grape-rails/skills/brainstorm/SKILL.md · 199 lines

How it starts

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

Brainstorm

Adaptive requirements gathering before planning. Produces an interview.md that /rb:plan consumes to skip clarification.

Workflow

/rb:brainstorm {topic}
    |
    v
[INTERVIEW] <───────────────────┐
    |                            |
    v (sufficient OR user exit)  |
[DECISION POINT]                 |
    ├─ Research ──> [RESEARCH] ──┘
    ├─ Continue interview ───────┘
    ├─ Make a plan ──> STOP (suggest /rb:plan .claude/plans/{slug}/interview.md)
    ├─ Store & exit ──> STOP (artifacts saved)
    └─ Discuss ──> freeform ──> [DECISION POINT]

STEP 0: Read the interview playbook before starting

Read ${CLAUDE_SKILL_DIR}/references/interview-techniques.md. Apply its codebase-scan patterns, scan-depth rules, and signal-detection rubrics as the canonical interview cadence.

Phase 1: Adaptive Interview

Ask ONE question at a time. Track coverage across 6 dimensions:

Dimension Target Sufficient Score
What Specific behavior/features Concrete verbs, not vague 0-2
Why Problem solved, user need Clear benefit stated 0-2
Scope In/out boundaries Explicit exclusions 0-2
Where Modules, contexts, files Paths or context names 0-2
How Approach, constraints At least one constraint 0-2
Edge Error states, scale, auth 2+ edge cases identified 0-2

Scoring: 0 = uncovered, 1 = partial ("maybe some caching"), 2 = sufficient ("Redis cache for session tokens, 15min TTL").

Interview sufficient when total score >= 8 out of 12 and every dimension has at least a score of 1.

Question Order

  1. What — almost always first
  2. Why — understand motivation before narrowing
  3. Scope — ask within first 3-4 questions, especially for "optimize X" topics
  4. Where/How/Edge — order by lowest coverage, informed by codebase scans

Between-Question Codebase Scans

Before each question after the first, run a brief codebase scan with Grep/Glob based on what the user just said. See references/interview-techniques.md for the scan pattern table.

Read the full file on GitHub · 199 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 199 lines · 39 tokens per session scan A 743a217791f9

Subscribe to this mod's changes

rb:brainstorm is a skill published in the GitHub repository slbug/claude-ruby-grape-rails (7 stars, last pushed 4d ago), licensed MIT. It adds 39 tokens to every session and 1,985 once invoked, about $0.0002 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.