Loading...
Loading...
Use when wanting independent review from external models before merging, committing, or finalizing architecture or plan decisions, or when the user asks for a second opinion, codex review, or gemini review
npx skill4agent add vinta/hal-9000 second-opinionsbothcodexgeminiAskUserQuestionAskUserQuestionheader: "Review tool"
question: "Which tool should run the review?"
options:
- "Both Codex and Gemini (Recommended)" -> run both in parallel
- "Codex only" -> mcp__codex__codex
- "Gemini only" -> gemini CLIheader: "Review scope"
question: "What should be reviewed?"
options:
- "Uncommitted changes" -> git diff HEAD + untracked files
- "Branch diff vs main" -> git diff <branch>...HEAD
- "Specific commit" -> follow up for SHAheader: "Review focus"
question: "Any specific focus areas?"
options:
- "General review"
- "Security & auth"
- "Performance"
- "Error handling"git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || echo mainCLAUDE.mdmcp__codex__codexBash(gemini ...)## Codex Review
<codex findings>
## Gemini Review
<gemini findings>
## Summary
Where the two reviews agree and differ.
Prioritized action items.| Error | Action |
|---|---|
| Run Gemini only, |
| Run Codex only. |
| Both unavailable | Stop and inform the user |
| Gemini extension missing | Install: |
| Empty diff | Stop: no changes to review |
| Timeout | Suggest narrowing the scope |
| One tool fails | Present the other's results, note the failure |
User: /second-opinions
Agent: [asks 3 questions: tool, scope, focus]
User: picks "Both", "Branch diff", "Security"
Agent: [detects default branch = main, shows diff --stat]
Agent: [auto-includes CLAUDE.md, dispatches mcp__codex__codex + gemini in parallel]
Agent: [presents both reviews, highlights agreements/differences]User: /second-opinions
Agent: [asks 3 questions: tool, scope, focus]
User: picks "Codex only", "Uncommitted", "General"
Agent: [shows diff --stat]
Agent: [calls mcp__codex__codex with review prompt]
Agent: [presents findings with assessment]User: /second-opinions
Agent: [asks questions] -> user picks "Both", "Uncommitted", "General"
Agent: [shows diff --stat: 45 files, +3200 -890]
Agent: "Large diff (3200+ lines). Proceed, or narrow the scope?"
User: "proceed"
Agent: [runs both reviews]