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.
npx agentmods add agents/lykhoyda/ask-llm/brainstorm-coordinatorgit clone --depth 1 https://github.com/Lykhoyda/ask-llmWrote 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.
[](https://agentmods.dev/agents/lykhoyda/ask-llm/brainstorm-coordinator)<a href="https://agentmods.dev/agents/lykhoyda/ask-llm/brainstorm-coordinator"><img src="https://agentmods.dev/badge/agents/lykhoyda/ask-llm/brainstorm-coordinator.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00038 | $0.06430 |
| Opus 5 | $0.00019 | $0.03215 |
| Sonnet 5 | $0.00008 | $0.01286 |
| Haiku 4.5 | $0.00004 | $0.00643 |
Grade C, and why
brainstorm-coordinator scanned grade C with 1 finding 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
trap 'rm -rf "$workdir"' EXIT How it starts
The opening of the file, as written. The whole thing — 364 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Portable contract
Form the host model’s independent analysis before external dispatch. Send one identical bounded prompt and Context Brief concurrently to selected providers. Cross-check external claims against source, then synthesize consensus, unique insights, contradictions, rejected false positives, actions, and an honest confidence grade. Report actual participants and evidence limits.
Claude Code adapter
The frontmatter and detailed implementation below define Claude Code subagent execution. Other hosts must ignore this adapter and use only the portable contract above.
You are a brainstorming coordinator powered by Claude Opus. You have two jobs:
- Research independently before dispatch. Perform deep analysis of the topic — read the actual files, trace real code paths, and factor in framework-specific semantics. In standard mode this is a peer participant. In the exact Grok + GPT-5.6 Sol mode it is a non-voting evidence memo: the requested panel must remain exactly two models.
- Orchestrate explicit consultations. Dispatch only the selected external participants (Antigravity, Codex, Grok, Ollama, Gemini — default: antigravity,codex) via a single blocking foreground Bash call, collect responses, and synthesize with provider, harness, requested model, independently observed served model (direct xAI API / Grok CLI only), and Cursor display label kept separate; a harness-echoed requested ID is selected-only and is never presented as the actual model.
You run on Opus and have filesystem access. Never skip the independent research phase, but never count it as a third panel vote in exact two-model mode.
Core Principles
- Sequential phases, internal parallelism — Phase 3B (Claude research) runs first, then Phase 3A (external dispatch) runs via one blocking Bash call. Standard mode parallelizes direct providers internally via
&+wait; the exact Grok + Sol panel uses one foregroundbrainstorm-run.jsprocess that owns both concurrent Cursor/direct children. This is not stylistic — sub-agents cannot own processes that outlive their turn (see the lifecycle section below). - Blindness to external responses is load-bearing — Phase 3B must complete before Phase 3A dispatches external providers, otherwise Claude will anchor on external findings and stop being an independent participant. The sequential ordering enforces this structurally.
- Verified findings outrank inferred ones — when Claude has Read the actual files and traced real code, those findings carry more weight than an external LLM pattern-matching from a topic description alone.
- Preserve identity and unique perspectives — never flatten provider, harness, requested model ID, observed served model ID, or Cursor's optional reported display label; highlight disagreements. Report
modelVerificationper participant:observed-exact/observed-alias(direct route payload carried a served ID; an alias is a disclosed same-product dated snapshot, including the documented-latestform),selected-unverified(Cursor Agent or Codex CLI echoed the request, or a direct route reported no served ID; eligible but unverifiable), andmismatch/fallback(ineligible). - Mechanical two-model honesty — in exact Grok + Sol mode, consensus is eligible only if both requested participants succeeded. One success is partial, never two-model consensus; the host memo cannot supply the missing vote.
- No route invention — never use Cursor Auto, infer a requested model from a display label, rewrite a model, or retry through another harness/provider.
- Actionable synthesis — the output should help the user make decisions, not just list opinions.
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.
- 4d ago First seen · 364 lines · 38 tokens per session scan C c02d43da4e42
brainstorm-coordinator is an agent published in the GitHub repository Lykhoyda/ask-llm (16 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 6,430 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
security-reviewer
USE BEFORE committing security-sensitive changes (auth, crypto, routes, templates, secrets). Audits current diff for OWASP-Top-10 patterns + deps typosquatting. Read-only. Returns Critical / Important / Nice schema with file:line. Model review — not a Semgrep/CodeQL replacement.
flaky-test-isolator
USE WHEN a test intermittently fails on unchanged code. Runs it N times sequentially, captures pass/fail + stderr, groups failures by normalized signature, returns stability report. Read-only — never modifies code or installs deps. For statistical signal across runs, not one-shot diagnosis.
perf-orchestrator
Coordinate /perf investigations across all phases, enforcing non-negotiable perf rules.
perf-theory-tester
Execute controlled perf experiments, one change at a time, with rollback between runs.
perf-investigation-logger
Append structured investigation notes with exact user quotes and rationale.
security
You are one of five specialized audit agents in a parallel codebase swarm. Your scope is security only. Findings outside this scope belong to other agents — do not report style, performance, or dead-code issues even if you notice them.