second-opinion
Skill17 starsChanged 51 days agoMITView on GitHub
Get three independent second opinions (isolated Claude + isolated Gemini + isolated DeepSeek) on a problem Claude is analyzing. Use when user says second opinion, another perspective, challenge this approach, or asks gemini/deepseek about a decision, approach, or diagnosis. Also invoke on your own initiative, without being asked: on a complex task before planning, after 2 failed root-cause attempts, on a 🔴 decision (rewrite, core logic, security), or when the review loop is stuck below 80 after 2 fix rounds. Gathers context, writes a focused prompt, calls all reviewers in isolated Docker containers, and synthesizes all viewpoints. Not for reviewing code or changes, even phrased as 'ask gemini to review' (use gemini-review).
- Reads credentials
45 other projects use a version of this.
Adopted by
Most recently taken up by
- arcasilesgroup/ai-engineeringtheir own version, first seen Nov 8, 2026
- storybookjs/storybooktheir own version, first seen Nov 8, 2026
- mdigital94/vibe-shield-plugintheir own version, first seen Nov 8, 2026
- Wasif-ZA/metatroopertheir own version, first seen Nov 8, 2026
- vadimchernets/after-chattheir own version, first seen Nov 8, 2026
- pahlevikun/levistacktheir own version, first seen Nov 1, 2026
Used with
Projects with it also use insecure-defaults, variant-analysis and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
allanninalSkillinsecure-defaults
Detects fail-open insecure defaults (hardcoded secrets, weak auth, permissive security) that allow apps to run insecurely in production. Use when auditing security, reviewing config management, or analyzing environment variable handling.
Also in 3 projects that use this
allanninalSkillvariant-analysis
Find similar vulnerabilities and bugs across codebases using pattern-based analysis. Use when hunting bug variants, building CodeQL/Semgrep queries, analyzing security vulnerabilities, or performing systematic code audits after finding an initial issue.
Also in 3 projects that use this
shmehroSkillux-audit
Perform a heuristic UX audit on a UI screen, flow, or component description
Also in 3 projects that use this
sunnyclinches44Skillexplain
Explains code using real-world analogies and ASCII diagrams
Also in 5 projects that use this
photon-groveSkillunslop
Detects and rewrites generic, overly polished, or AI-sounding prose while preserving meaning. Use when the user asks to "unslop", humanize, de-AI, tighten, or review whether writing sounds generated.
Also in 4 projects that use this
OpenAISkilldispatching-parallel-agents
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Also in 3 projects that use this
Other versions45 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 45
- storybookjs/storybook★ 91ksame name
- vanillagreencom/kendex★ 76same name
- arcasilesgroup/ai-engineering★ 65same name
- Amazon-Quick/Amazon-Quick-official-catalog★ 50same name
- manusco/resonance★ 38same name
- arsenyinfo/skills★ 29same name
- microsoft/amplifier-bundle-skills★ 12same name
- JairoTorregrosa/jaiskills★ 11same name
- flurdy/agent-skills★ 9same name
- dkpapadopoulos/auto-claude-skills★ 6same name
35 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository37 other files it gives its agents.
- adrSkill
- android-kotlinSkill
- apple-swiftSkill
- autoresearch-promptSkill
- blog-writerSkill
- cloud-infrastructureSkill
- commitSkill
- cover-imageSkill
- freezeSkill
- gemini-reviewSkill
- golangSkill
- harness-mechanicSkill
- harness-traceSkill
- humanizerSkill
- ios-debuggerSkill
- knowledge-syncSkill
- learning-docsSkill
- learning-loopSkill
- obsidianSkill
- orchestratorSkill
- plan-forgeSkill
- process-clippingsSkill
- project-analyzerSkill
- project-checksSkill
- pr-reviewSkill
- pythonSkill
- railsSkill
- react-nextjsSkill
- refine-requirementsSkill
- releasing-softwareSkill
- rubySkill
- scoreSkill
- skill-forgeSkill
- source-controlSkill
- terraformSkill
- test-design-reviewerSkill
- verify-frontendSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 7 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 38 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
All reviewers run in Docker containers with NO access to your ~/.claude/ config, memories, rules, or settings.
- Distinctive: line 25
Before calling reviewers, clearly articulate:
- Distinctive: line 34
Read the files involved (full content, not summaries)
- Distinctive: line 50
All gathered context (code, errors, docs)
- Distinctive: line 97
Call 3 - Isolated DeepSeek (pi):
- Very specific: line 121
Classify each reviewer as OK or FAILED: before synthesizing. A reviewer is FAILED if its Bash call exited non-zero OR its output matches …
- Very specific: line 128
If Claude returns 401, surface the re-login command from Troubleshooting.
- Distinctive: line 132
Required first line: reviewer status: Before the table, state which reviewers responded, so a missing one can never be glossed over:
- Distinctive: line 162
Call this skill on your own initiative when any of these holds:
- Distinctive: line 174
When you just need to read more code/docs first
“Common” is measured: kept by at least 6 in 10 of the 38 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ABOUTME: Three independent second opinions from isolated Docker containers (Claude + Gemini + DeepSeek)
ABOUTME: Same prompt/context to all, zero config contamination, four-way synthesis
Second Opinion (Isolated)
All reviewers run in Docker containers with NO access to your ~/.claude/ config,
memories, rules, or settings. This ensures genuinely independent opinions. The three
reviewers span three labs (Anthropic, Google, DeepSeek), so agreement across them is a
strong signal rather than shared-model bias.
Prerequisites
See references/setup.md.
Execution Flow
Step 1: Understand the problem
Before calling reviewers, clearly articulate:
- The problem - what is being analyzed or decided
- Your current analysis - what you think so far
- Relevant context - code snippets, error messages, architecture constraints
- Specific question - what you want a second opinion on
Step 2: Gather context
Collect all relevant material:
- Read the files involved (full content, not summaries)
- Include error messages/stack traces if debugging
- Include project constraints (from CLAUDE.md, architecture docs)
- Include what has been tried and why it didn't work (if applicable)
Step 3: Build the prompt
Load the prompt template:
PROMPT_TEMPLATE=$(cat ~/.claude/skills/second-opinion/prompts/default.md)Compose a FULL_PROMPT combining the template with a ## Problem Context section containing:
- Problem description
- Your current analysis/hypothesis
- All gathered context (code, errors, docs)
- The specific question for the reviewer
The FULL_PROMPT must be identical for all three reviewers. Write it to a temp file:
PROMPT_FILE=$(mktemp)
cat > "$PROMPT_FILE" <<'PROMPT_EOF'
<the composed prompt here>
PROMPT_EOFStep 4: Call all reviewers in parallel
Launch all containers simultaneously using parallel Bash tool calls in a single message.
Set an explicit Bash-tool timeout per call. These docker run commands are inline,
not the .sh scripts, so the only wall-clock bound is the Bash-tool timeout. The default
(120s) will kill deepseek-reasoner mid-reasoning. Pass timeout: 600000 (600s) for the
DeepSeek call and at least timeout: 300000 for Claude and Gemini.
Credentials never touch the host filesystem: Claude auth is mounted directly from the Docker volume, Gemini and DeepSeek API keys are read in-memory from files.
Call 1 - Isolated Claude:
docker run --rm \
-v claude-reviewer-auth:/home/node/.claude:ro \
-v <PROJECT_ROOT>:/workspace:ro \
claude-reviewer:latest \
--print \
--model fable \
"$(cat <PROMPT_FILE>)"Call 2 - Isolated Gemini:
docker run --rm \
-e GEMINI_API_KEY="$(cat ~/.config/gemini-api-key)" \
-v <PROJECT_ROOT>:/workspace:ro \
gemini-reviewer:latest \
-p "$(cat <PROMPT_FILE>)" \
-m gemini-3.6-flash \
--sandbox false \
2>&1 | grep -v "^\[WARN\] Skipping unreadable" | grep -v "^Warning: Could not read"Call 3 - Isolated DeepSeek (pi):
docker run --rm \
-e DEEPSEEK_API_KEY="$(cat ~/.config/deepseek-api-key)" \
-v <PROJECT_ROOT>:/workspace:ro \
deepseek-reviewer:latest \
--provider deepseek \
--model deepseek-reasoner \
-p \
-t read \
--no-session \
"$(cat <PROMPT_FILE>)"Cleanup. Set the trap right after creating the temp file in Step 3, so it is removed even if a call times out before this point is reached:
trap 'rm -f "$PROMPT_FILE"' EXITDegrade gracefully on reviewer failure. This is a procedure, not a suggestion.
A reviewer can fail independently: expired Claude OAuth in the volume (401), a
missing/invalid API key, a rate limit, or a timeout.
- Classify each reviewer as OK or FAILED before synthesizing. A reviewer is
FAILED if its Bash call exited non-zero OR its output matches
401,timed out,API Error,No API key, or is empty. Do NOT treat a401body or an error trace as if it were an opinion. - Never abort if at least one reviewer is OK. Synthesize from the survivors. A two-of-three (or one-of-three) synthesis is useful; a silent drop is not.
- Account for every reviewer in the output via the status line in Step 5.
- If Claude returns
401, surface the re-login command from Troubleshooting.
Step 5: Synthesize
Required first line: reviewer status. Before the table, state which reviewers responded, so a missing one can never be glossed over:
Reviewer status: Claude ✅ | Gemini ✅ | DeepSeek ❌ (401, expired OAuth; see Troubleshooting)Then present a four-way analysis (drop the column of any FAILED reviewer):
| Aspect | Claude (you) | Isolated Claude | Isolated Gemini | Isolated DeepSeek | Consensus |
| Root cause | ... | ... | ... | ... | agree/differ |
| Approach | ... | ... | ... | ... | agree/differ |
| Risks | ... | ... | ... | ... | complementary |
Final recommendation: Your updated position, incorporating all independent opinions. Explain what changed (or didn't) and why. Flag any point where the independent reviewers agree against your original analysis (the more of the three that agree, the stronger the signal to reconsider).
When to Use
- Stuck on a debugging problem
- Weighing architectural trade-offs
- Unsure about root cause analysis
- Want to validate an approach before implementing
- Complex decisions with multiple valid paths
Auto-trigger (no user prompt needed)
Call this skill on your own initiative when any of these holds:
- Complexity = complex (orchestrator step 0b): validate the approach before planning
- Debugging with 2+ failed root-cause attempts: get a fresh perspective before trying again
- 🔴 decisions (rewrites, core logic, security): challenge the assumptions before deciding
- Review loop stuck (score < 80 after 2 fix rounds): break out of the cycle
When NOT to Use
- Code review before commit (use
gemini-review) - 🟢 tasks, simple or moderate complexity, docs and config changes
- Simple, well-understood problems
- When you just need to read more code/docs first
Troubleshooting
See references/setup.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

