experts
<!-- plugin/skills/experts/SKILL.md -->
What this skill does
<!-- plugin/skills/experts/SKILL.md -->
---
name: experts
description: This skill should be used when the user asks to "consult experts", "get expert opinion", "expert review", "code review", "architecture review", "security review", "review this code", "what would an architect say", or wants a multi-perspective analysis from AI specialists. Use this for analysis and opinions only — no code changes are made. Use /mira:full-cycle instead if the user wants issues to be automatically implemented.
argument-hint: "[context or focus area]"
---
# Expert Consultation
> **Requires:** Claude Code Agent Teams feature.
Get expert opinions on code, architecture, security, or plans using a team of 4 AI specialists.
**Arguments:** $ARGUMENTS
## Instructions
1. **Parse arguments** (optional):
- `--members nadia,jiro` -> Only spawn these specific experts (by first name)
- No arguments -> spawn all 4 experts
- Any other text -> use as the context/question for the experts
2. **Determine context**: The user's question, the code they want reviewed, or the plan they want analyzed. If no context is obvious, ask the user what they'd like experts to review.
3. **Launch the team**: Call the Mira `launch` MCP tool to get agent specs:
```
launch(team="expert-review-team", scope=user_context, members="nadia,jiro" or omit for all)
```
The `members` parameter is only needed if the user passed `--members`. The `scope` parameter should describe the review focus.
4. **Create the team**:
```
TeamCreate(team_name=result.data.suggested_team_id)
```
5. **Create and assign tasks**: For each agent in `result.data.agents`:
```
TaskCreate(subject=agent.task_subject, description=agent.task_description)
TaskUpdate(taskId=id, owner=agent.name, status="in_progress")
```
6. **Spawn experts**: For each agent in `result.data.agents`, use the `Task` tool:
```
Task(
subagent_type="general-purpose",
name=agent.name,
model=agent.model,
team_name=result.data.suggested_team_id,
prompt=agent.prompt + "\n\n## Context\n\n" + user_context,
run_in_background=true
)
```
Spawn all experts in parallel (multiple Task calls in one message).
IMPORTANT: Do NOT use mode="bypassPermissions" -- these are read-only discovery agents.
IMPORTANT: Always pass model="sonnet" to the Task tool. This ensures read-only agents use a cost-efficient model.
7. **Wait for findings**: Teammates will send their findings via SendMessage when complete. Wait for all to finish.
8. **Synthesize findings**: Combine all expert findings into a unified report:
- **Consensus**: Points multiple experts agree on
- **Key findings per expert**: Top findings from each specialist
- **Tensions**: Where experts disagree -- present both sides with evidence
- **Action items**: Concrete next steps
IMPORTANT: Preserve genuine disagreements. Do NOT force consensus. Present conditional recommendations: "If your priority is X, then..." / "If your priority is Y, then..."
9. **Cleanup**: Send `shutdown_request` to each teammate, then call `TeamDelete`.
## Examples
```
/mira:experts
-> Prompts for what to review, then spawns all 4 experts
/mira:experts --members nadia,sable
-> Only spawns Nadia (architect) and Sable (security)
/mira:experts Review the authentication flow in src/auth/
-> All 4 experts review the auth code
/mira:experts Is this migration plan safe?
-> All 4 experts analyze the plan in context
```
## Expert Roles
| Name | Role | Focus |
|------|------|-------|
| Nadia | Systems Architect | Design patterns, API design, coupling, scalability |
| Jiro | Code Quality Reviewer | Bugs, type safety, error handling, race conditions |
| Sable | Security Analyst | SQL injection, auth bypass, input validation, secrets |
| Lena | Scope and Risk Analyst | Missing requirements, edge cases, incomplete error paths |
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.