Skip to content

Brainstorm ​

Ask for independent research followed by synthesis:

text
Ask Codex and Grok to challenge our notification architecture. Separate evidence, assumptions, disagreements and recommended next steps.

The portable workflow is ask-llm-brainstorm; Claude Code retains /brainstorm and Pi uses /skill:ask-llm-brainstorm. The host follows its own adapter and should not claim Claude-only subagents or hooks on another host. Each participant consumes its own account quota; explicitly choose metered routes only when you intend that cost.

Consult one exact Codex model ​

text
/brainstorm --external-only --no-fallback codex@codex-cli:gpt-6.2-astra "Review the trade-offs of this queue design"
/skill:ask-llm-brainstorm --external-only codex@codex-cli:gpt-6.2-astra "Review this queue design"

--external-only accepts one codex@codex-cli:<exact-model-id> participant and implies --no-fallback. The current host prepares the context and relays one read-only Codex consultation at high reasoning effort. The result identifies the transport, selected model and configured effort. A rejection on the named model ends the run with that error. The result contains only the external contribution, with no coordinator view or consensus.

Update the skill and tool together. Claude Code and other MCP hosts prefer a compatible ask-codex leaf, then a compatible unified ask-llm with Codex selected. When neither is exposed, hosts that permit local CLI use can disclose and make one direct Codex CLI call. Pi uses its native ask-llm. A tool must advertise noFallback; when only stale tools are exposed, upgrade and restart the host before running the command.

Consult the frontier panel ​

text
/brainstorm --frontier "Review the trade-offs of this queue design"
/skill:ask-llm-brainstorm --frontier "Review this queue design"

--frontier takes only a topic and implies --no-fallback. After the host writes its independent view, it consults exactly three pinned participants concurrently, one attempt each:

ParticipantRoute
Claude FableIsolated read-only Claude Code subagent pinned to fable, the route /fable-review uses
GPT-6.2 AstraCodex gpt-6.2-astra at high effort, read-only
Gemini 4 Carbon (High)Antigravity gemini-4-carbon-high through unified ask-llm; the ID carries the High tier

The host view is non-voting evidence. A participant the host cannot run, or whose tool cannot honor its pins, is listed as unavailable and the others still run; a reported fallback or different selected model is disclosed and excluded. A point is frontier consensus only when at least two participants that answered state it independently. Fewer than three answers make the run partial. Only Claude Code can run the Fable participant, so Pi and other hosts list it as unavailable. On Claude Code the panel runs in the main conversation rather than in the brainstorm coordinator, because a subagent cannot launch the Fable subagent. The Carbon participant follows the Antigravity execution gate.

Run a panel ​

Send a topic to an explicit multi-model panel, ground it with independent Claude Opus research, then synthesize the findings. Provider, harness, requested catalog ID, independently observed served model (direct xAI API / Grok CLI only; a disclosed same-product alias/snapshot stays eligible), and Cursor's optional reported display label remain separate. Cursor Agent and Codex CLI echo the requested ID, so those attributions are selected-only and unverifiable rather than an actual model. The coordinator agent runs:

  1. Phase 3B: Claude Opus research. Claude reads actual files, traces real code paths, fetches referenced docs, and forms findings tagged Verified or Inferred. In standard mode Claude is a participant. In the exact Grok + Sol mode it is a non-voting evidence verifier, so the requested panel remains exactly two models.
  2. Phase 3A: External dispatch. A single foreground blocking Bash call sends the topic to each requested external provider in parallel and waits for all of them. Up to 10 minutes total (Bash tool max). It's a foreground blocking call, not a background-job dispatch, because sub-agents can't own processes that outlive their turn.
  3. Phase 4: Synthesis. Combines Claude's findings with the external responses:
  • Consensus points (where multiple participants agree; Claude verified + external = highest confidence)
  • Unique insights (findings from only one participant)
  • Contradictions (verified findings outrank inferred ones)
  • Actionable recommendations (prioritized by impact and confidence)
text
# Default Claude Code panel (Antigravity + Codex + Claude Opus)
/ask-llm-brainstorm Should we use a monorepo or polyrepo for this project?

# Custom external providers
/ask-llm-brainstorm gemini,codex,ollama Review this authentication approach

# Standard Claude Code panel with one Codex attempt; Claude still contributes
/ask-llm-brainstorm --no-fallback codex Compare these two cache policies

# Architect panel: exactly Grok + GPT-6 Sol via Cursor Agent; Gemini excluded
/ask-llm-brainstorm grok@cursor-agent:grok-4.7-high,codex@cursor-agent:gpt-6.2-sol-high "review this architecture"

# Explicit direct-Grok alternative; never pivots away from Grok Build
/ask-llm-brainstorm grok@grok-cli:grok-4.7,codex@cursor-agent:gpt-6.2-sol-high "review this architecture"

Default external providers: antigravity,codex (avoids unnecessary Ollama calls). Antigravity follows the execution gate. Compatible bare provider lists remain supported. For predictable routing use provider@harness:exact-model-id; the preferred Grok path is Cursor Agent. A list is either all bare names or all routed specs—mixing them (for example grok@cursor-agent:grok-4.7-high,antigravity) is refused before any provider is called, with no rerouting or substitution; generalized mixed panels are deferred to a future ADR. Exact IDs come from the selected harness catalog (agent --list-models, grok models, or xAI /v1/models) and are never translated between catalogs.

The Cursor gpt-6.2-sol-high example follows the <codex-slug>-high naming but is unverified; confirm the exact ID with agent --list-models before use.

The architect panel invokes only the two listed Cursor participants: provider: "grok" with model: "grok-4.7-high", and provider: "codex" with model: "gpt-6.2-sol-high". It never calls Gemini or Cursor Auto. If registration, authentication, model availability, or route support fails for either participant, the result is partial and surviving insights are attributed only to the model that answered—never called two-model consensus. Claude's evidence can verify claims but cannot supply the missing vote.

The grok-cli form is supported only when the installed official Grok Build exposes Ask LLM's required headless JSON/read-only contract. A direct-route failure is terminal for that participant; there is no silent pivot among Cursor Agent, Grok CLI, or xAI API.

--no-fallback by itself controls the Codex second-model attempt for a Claude Code panel with bare Codex or an exact Grok + Sol panel on a compatible route. An exact Codex request through Cursor Agent already makes one dispatch. Portable bare-list batch tools cannot enforce this flag. Other providers keep their own retry policies.

Agreement between models is not proof of correctness. Check the evidence behind the synthesis, and keep dissent and skipped participants in the final report.

Released under the MIT License.