open-collider: Command for Claude Code

.claude/commands/brainstorm.md

brainstorm is a command for Claude Code from CL-ML/open-collider. It costs 0 tokens per session (2,607 once invoked), scanned A, original, MIT.

A command that manages an iterative brainstorming process for Open Collider projects. It can start or resume brainstorming sessions and choose how the language model runs.

In plain words
What is it for?
Starting or continuing brainstorms, selecting a project, checking saved sessions, and generating ideas through repeated rounds.
Why use it?
It gives an ongoing idea-generation session a defined project, state, and mode instead of treating every prompt as unrelated.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents; positional $N argument.

This is CL-ML/open-collider's own configuration. It tells Claude Code how to work on open-collider 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 open-collider configures →

Reuse

Borrowing it

Nothing to install: this file belongs to CL-ML/open-collider. 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/CL-ML/open-collider/main/.claude/commands/brainstorm.md
Clone the repo
git clone --depth 1 https://github.com/CL-ML/open-collider

Made for: Claude Code.

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/cl-ml/open-collider/brainstorm/github.svg)](https://agentmods.dev/commands/cl-ml/open-collider/brainstorm)
Your own site
<a href="https://agentmods.dev/commands/cl-ml/open-collider/brainstorm"><img src="https://agentmods.dev/badge/commands/cl-ml/open-collider/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/cl-ml/open-collider/brainstorm"><img src="https://agentmods.dev/badge/commands/cl-ml/open-collider/brainstorm.svg" alt="Reviewed on agentmods" width="80" 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 2,607 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.00000 $0.02607
Opus 5.5 $0.00000 $0.01043
Sonnet 5.5 $0.00000 $0.00521
Haiku 4.5 $0.00000 $0.00261

Measured 2mo ago against content hash a390b227fb72, 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 2mo 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 · 205 lines

How it starts

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

You are the brainstorm orchestrator for Open Collider. You manage an iterative idea generation loop.

Skill-mode helper functions are in open_collider.skill_interface (API mode also imports open_collider.brainstorm). Always import sys; sys.path.insert(0, "src") before importing.

CRITICAL: When spawning parallel subagents, you will receive task-notification messages as each agent completes. Do NOT respond to each notification individually. Wait until ALL agents have completed, collect ALL results in one pass, then proceed to the next step. If you have already moved past a step (e.g., already scoring), IGNORE any late notifications from earlier steps — do not print confirmations or repeat status.

Flow

1. Select project

List projects/ (exclude _template). Auto-select if one, ask if multiple.

2. Check state

Call list_brainstorms(project_dir) to see existing sessions. Ask: continue latest, resume specific, or start new. If new: call start_new_brainstorm(project_dir).

3. Check mode

Read project_config.yaml for llm_backend.

If llm_backend is already set: use that mode.

If not set: Ask:

"How should I run the brainstorm?

  • API mode — Python orchestrates everything. Requires an Anthropic API key in .env. Faster (~10 min), parallel, rock-solid. Costs ~$2-3 per iteration.
  • Skill mode — I make all LLM calls as subagents. No API key needed (covered by your Max subscription). Slower (~25 min), free.

Which mode?"

Save their choice by appending to project_config.yaml:

from pathlib import Path
config_path = Path("projects/{name}/project_config.yaml")
with open(config_path, "a") as f:
    f.write(f'\nllm_backend: "{user_choice}"\n')

If llm_backend: "api": Run the full iteration in Python. Pass brainstorm_id if user chose to resume a specific session in step 2:

import sys; sys.path.insert(0, "src")
from pathlib import Path
from open_collider.brainstorm import BrainstormOrchestrator

brainstorm_id = None  # or "brainstorm_001" if resuming
orch = BrainstormOrchestrator(Path("projects/{name}"), brainstorm_id=brainstorm_id)
result = orch.run_iteration()
print(f"Iteration {result['iteration']}: {result['ideas_generated']} ideas, {result['ideas_retained']} retained")

After run_iteration() returns, all data is on disk. Read the iteration from result['iteration']. Then skip to step 9 (Curate inline).

Read the full file on GitHub · 205 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. 2mo ago First seen · 205 lines · 0 tokens per session scan A a390b227fb72

Subscribe to this mod's changes

brainstorm is a command published in the GitHub repository CL-ML/open-collider (344 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,607 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-30.

Related

brainstorm compared with commands from other repositories

brainstorm next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
brainstormCL-ML/open-colliderCommand3445mo agoMITA0Claude Code
checklistgithub/spec-kitCommand148ktodayMITA13Claude Code
clarifygithub/spec-kitCommand148ktodayMITA27Claude Code
specifygithub/spec-kitCommand148ktodayMITA13Claude Code
analyzegithub/spec-kitCommand148ktodayMITA26Claude Code
convergegithub/spec-kitCommand148ktodayMITA35Claude Code
implementgithub/spec-kitCommand148ktodayMITA14Claude Code