Get second opinions from external models (Codex, Gemini) for adversarial review, tie-breaking, and multi-model consensus. Use when validating critical decisions or when stuck.
Get second opinions from external models (Codex, Gemini) for adversarial review, tie-breaking, and multi-model consensus. Use when validating critical decisions or when stuck.
/plugin marketplace add femtomc/trivial/plugin install trivial@idleThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Multi-model second opinions via OpenAI Codex CLI and Google Gemini CLI.
Don't use for: Simple questions. Just think harder.
| Priority | Tool | When |
|---|---|---|
| 1st | Codex | Primary second opinion (different architecture from Claude) |
| 2nd | Gemini | Tie-breaker, or when Codex unavailable |
| 3rd | claude -p | Fallback (fresh context, same architecture) |
OpenAI's CLI for code and reasoning tasks.
codex exec -s read-only -m gpt-5.2 -c reasoning=xhigh "<prompt>"
| Flag | Purpose |
|---|---|
-s read-only | Required - sandbox mode, no modifications |
-m gpt-5.2 | Best model for thorough review |
-c reasoning=xhigh | Maximum reasoning effort |
| Model | Use Case |
|---|---|
gpt-5.2 | Default - thorough review, high-stakes |
o3 | Complex multi-step reasoning |
o4-mini | Quick opinions, low-stakes |
Choose the right level for the task. Higher reasoning = more time.
| Level | Flag | Time | When to Use |
|---|---|---|---|
| xhigh | -c reasoning=xhigh | 2-5 min | Security, correctness proofs, high-stakes architecture |
| high | -c reasoning=high | 30-90 sec | Standard code review, design tradeoffs, edge cases |
| medium | -c reasoning=medium | 10-30 sec | Straightforward questions, sanity checks |
| (default) | (omit flag) | 5-15 sec | Quick opinions, simple validations |
Guidance:
high for most review tasks—it's the sweet spotxhigh only when correctness is critical or reasoning is complexmedium or default for simple questions where speed mattersxhigh times out or you're waiting too long, consider whether high suffices# Most reviews
codex exec -s read-only -m gpt-5.2 -c reasoning=high "..."
# Critical/complex only
codex exec -s read-only -m gpt-5.2 -c reasoning=xhigh "..."
# Quick sanity check
codex exec -s read-only -m gpt-5.2 "..."
Google's CLI for research and long-context analysis.
gemini -s -m gemini-3-pro-preview "<prompt>"
| Flag | Purpose |
|---|---|
-s | Required - sandbox mode |
-m gemini-3-pro-preview | Best model for research/long-context |
| Model | Use Case |
|---|---|
gemini-3-pro-preview | Default - research, long context (>100k tokens) |
gemini-3-pro | Latest capabilities (when available) |
Always request a ---SUMMARY--- marker for reliable extraction:
codex exec -s read-only -m gpt-5.2 -c reasoning=xhigh "
<context and question>
End with:
---SUMMARY---
AGREE/DISAGREE with <topic>
Confidence: HIGH/MEDIUM/LOW
Key insight: <one sentence>
"
# Run and capture
codex exec -s read-only -m gpt-5.2 -c reasoning=xhigh "..." > /tmp/opinion.log 2>&1
# Extract summary
sed -n '/---SUMMARY---/,$ p' /tmp/opinion.log
codex exec -s read-only -m gpt-5.2 -c reasoning=xhigh "
Problem: <describe>
Current hypothesis: <what you think>
Do you agree? What would you change?
---SUMMARY---
AGREE/DISAGREE
Confidence: HIGH/MEDIUM/LOW
Key insight: <summary>
"
gemini -s -m gemini-3-pro-preview "
Analysis A (Claude): <view>
Analysis B (Codex): <view>
They disagree on: <the issue>
Which is correct?
---SUMMARY---
FAVOR: A/B/NEITHER
Reasoning: <why>
"
For high-stakes decisions, query both:
# Get Codex opinion
codex exec -s read-only -m gpt-5.2 -c reasoning=xhigh "..." > /tmp/codex.log 2>&1
# Get Gemini opinion
gemini -s -m gemini-3-pro-preview "..." > /tmp/gemini.log 2>&1
# Compare summaries
sed -n '/---SUMMARY---/,$ p' /tmp/codex.log
sed -n '/---SUMMARY---/,$ p' /tmp/gemini.log
Post to jwz for discovery:
# Single model
jwz post "issue:<id>" --role alice \
-m "[alice] SECOND_OPINION: codex on <topic>
Model: gpt-5.2 (reasoning=xhigh)
Agreement: AGREE|DISAGREE|PARTIAL
Key insight: <summary>"
# Multi-model consensus
jwz post "issue:<id>" --role alice \
-m "[alice] CONSENSUS: <topic>
Models: codex, gemini
Agreement: FULL|PARTIAL|SPLIT
Synthesis: <reconciled view>"
# Codex with xhigh reasoning can take time
timeout 600 codex exec -s read-only -m gpt-5.2 -c reasoning=xhigh "..."
# Gemini
timeout 600 gemini -s -m gemini-3-pro-preview "..."
if command -v codex >/dev/null 2>&1; then
codex exec -s read-only -m gpt-5.2 -c reasoning=xhigh "..."
elif command -v gemini >/dev/null 2>&1; then
gemini -s -m gemini-3-pro-preview "..."
else
claude -p "..."
fi
Master authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access control systems. Use when implementing auth systems, securing APIs, or debugging security issues.