Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.
Python aianthropicautomationclaude-codeclaude-skillscloudflaredevtoolsproductivityreactskillstailwindvite
feat(brains-trust): add sensible defaults and trigger-to-pattern mapping
Jeremy Dawes9c7346eacb36
diff --git a/plugins/dev-tools/skills/brains-trust/SKILL.md b/plugins/dev-tools/skills/brains-trust/SKILL.mdindex 2b6a8c05..e5d9aefd 100644--- a/plugins/dev-tools/skills/brains-trust/SKILL.md+++ b/plugins/dev-tools/skills/brains-trust/SKILL.md@@ -25,6 +25,33 @@ compatibility: claude-code-onlyConsult other leading AI models for a second opinion. Not limited to code — works for architecture, strategy, prompting, debugging, writing, or any question where a fresh perspective helps.+## Defaults (When User Just Says "Brains Trust")++If the user triggers this skill without specifying what to consult about, apply these defaults:++1. **Pattern**: Consensus (2 models from different providers) — it's called "brains trust", not "single opinion"+2. **Scope**: Whatever Claude has been working on in the current session. Look at recent context: files edited, decisions made, architecture discussed, problems being solved.+3. **Mode**: Infer from context:+ - Recently wrote/edited code → **Code Review**+ - In a planning or design discussion → **Architecture**+ - Debugging something → **Debug**+ - Building prompts or skills → **Prompting**+ - No clear signal → **General** (ask: "what are we missing? what are our blind spots?")+4. **Models**: Pick the newest pro-tier model from 2 different providers (check `models.flared.au`). Prefer diversity: e.g. one Google + one OpenAI, or one Qwen + one Google. Never two from the same provider.+5. **Prompt focus**: "Review what we've been working on. What are we missing? What could be improved? What blind spots might we have? Are there simpler approaches we haven't considered?"++### Trigger → Default Mapping++| Trigger | Default pattern | Default scope |+|---------|----------------|---------------|+| "brains trust" | Consensus (2 models) | Current session work |+| "second opinion" | Single (1 model) | Current session work |+| "ask gemini" / "ask gpt" | Single (specified provider) | Current session work |+| "peer review" | Consensus (2 models) | Recently changed files |+| "challenge this" / "devil's advocate" | Devil's advocate (1 model) | Claude's current position |++The user can always override by being specific: "brains trust this config file", "ask gemini about the auth approach", etc.+## SetupSet at least one API key as an environment variable:@@ -54,13 +81,13 @@ For programmatic use in the generated Python script: `https://models.flared.au/j## Consultation Patterns-| Pattern | When | What happens |-|---------|------|-------------|-| **Single** (default) | Quick second opinion | Ask one model, synthesise with your own view |-| **Consensus** | Important decision, want confidence | Ask 2-3 diverse models in parallel, compare where they agree/disagree |-| **Devil's advocate** | Challenge an assumption | Ask a model to explicitly argue against your current position |+| Pattern | Default for | What happens |+|---------|------------|-------------|+| **Consensus** | "brains trust", "peer review" | Ask 2 models from different providers in parallel, compare where they agree/disagree |+| **Single** | "second opinion", "ask gemini", "ask gpt" | Ask one model, synthesise with your own view |+| **Devil's advocate** | "challenge this", "devil's advocate" | Ask a model to explicitly argue against your current position |-For consensus, pick models from different providers (e.g. one Google, one OpenAI, one Qwen) for maximum diversity of perspective.+For consensus, always pick models from different providers (e.g. one Google + one Qwen) for maximum diversity of perspective.## Modes@@ -121,6 +148,7 @@ For consensus, pick models from different providers (e.g. one Google, one OpenAI3. **Always write prompts to file** — never pass via bash arguments4. **Include file contents inline** — attach code context directly in the prompt5. **Use AI-to-AI framing** — the model is advising Claude, not talking to the human+6. **Print progress to stderr** — the Python script must print status updates (`Calling gemini-2.5-pro...`, `Received response from qwen3.5-plus.`) so the user knows it's working during the 30-90 second wait## Reference Files