second-opinion
Skill0 starsChanged 5 months agoMITView on GitHub
Consult the other two LLMs for an independent second opinion on diffs, plans, or design approaches. Use when the user asks for a second opinion, external review, or sanity check from other AI models.
- Deletes or force-pushes
31 other projects use a version of this.
Adopted by
Most recently taken up by
- snjrusmn/multi-model-clitheir own version, first seen Oct 7, 2026
- andeeplus/aplustheir own version, first seen Oct 4, 2026
- manusco/resonancetheir own version, first seen Sep 28, 2026
- nexus-a1/claude-skillstheir own version, first seen Sep 27, 2026
- arsenyinfo/skillstheir own version, first seen Sep 24, 2026
- dkpapadopoulos/auto-claude-skillstheir own version, first seen Sep 22, 2026
Used with
Projects with it also use investigate, retro and 7 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.
VercelSkillinvestigate
Investigate a specific issue report with strict, evidence-driven diagnosis.
Also in 3 projects that use this
AWSSkillretro
Conduct a retrospective on a coding session.
Also in 4 projects that use this
allieraysSkillexplain
Explain what code does line by line so you can understand and learn from it.
Also in 3 projects that use this
Google CloudSkilltriage
Gather context on a change or bug and plan the implementation.
Also in 4 projects that use this
AnthropicSkilldebug
Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.
Also in 3 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 5 projects that use this
Other versions31 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 31
- peterkrueck/Claude-Code-Development-Kit★ 1.4ksame name
- Amazon-Quick/Amazon-Quick-official-catalog★ 50same name
- xiaobei930/cc-best★ 48same name
- manusco/resonance★ 37same name
- arsenyinfo/skills★ 28same name
- firatcand/roster★ 19same name
- cropsgg/skills★ 15same name
- microsoft/amplifier-bundle-skills★ 12same name
- flurdy/agent-skills★ 9same name
- dkpapadopoulos/auto-claude-skills★ 6same name
21 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.
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 8 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 26 edited versions we read keep these.
8
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
- Distinctive: line 14
Never invoke this skill if you are already answering a second opinion or review request from another agent.
- Very specific: line 18
All peers run in pi with these fixed models and thinking levels:
- Distinctive: line 40
Run peers non-interactively with standard tool permissions so they can run tests and inspect code, but instruct them via prompt not to edit …
- Distinctive: line 42
Create a private temp directory to avoid collisions:
- Very specific: line 48
Run one peer ($NAME is claude, gpt, or gemini):
- Distinctive: line 62
If there are multiple unrelated uncommitted changes in the repository, do not review the entire diff.
- Distinctive: line 63
Specific files: If the current feature is in a subset of files:
- Distinctive: line 67
Staged changes: If the feature changes are already staged:
- Very specific: line 76
Design / Approach: write proposed architecture or plan to $TMP_DIR/diff.patch.
- Distinctive: line 79
Write the instructions first, then append the diff or approach text.
- Distinctive: line 95
Run the command for each available peer model, in parallel when possible, and capture their responses.
“Common” is measured: kept by at least 6 in 10 of the 26 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
Second Opinion
Get independent critiques on a proposed design, architecture, or git diff by consulting the other two model families through the pi harness.
The three supported model families are Claude, GPT, and Gemini. The host identifies its own model family, asks the other two via pi, then presents their feedback and a concise synthesis.
Recursion Guard
Never invoke this skill if you are already answering a second opinion or review request from another agent. Only the host agent in the primary chat session calls peer models.
Peer Models
All peers run in pi with these fixed models and thinking levels:
| Family | Model | Thinking |
| Claude | claude-opus-5-5 | medium |
| GPT | gpt-6.1-sol | high |
| Gemini | gemini-3.8-flash | high |
Determine the host family from your own model (in pi, check $PI_MODEL): claude-* is Claude, gpt-* is GPT, gemini-* is Gemini. Never call your own family. Only invoke the other two.
Availability
Some models may not be configured. Check each peer before running it. pi --list-models search is fuzzy, so match the model column exactly:
pi --list-models "$MODEL" | awk -v m="$MODEL" '$2 == m { found = 1 } END { exit !found }'Skip unavailable peers and mention it in the report. If only one peer is available, use that single opinion. If none are available, tell the user and stop.
Verified CLI Command
Run peers non-interactively with standard tool permissions so they can run tests and inspect code, but instruct them via prompt not to edit repository files. They use their installed skills for full project context.
Create a private temp directory to avoid collisions:
TMP_DIR=$(mktemp -d)Run one peer ($NAME is claude, gpt, or gemini):
pi --model "$MODEL" --thinking "$THINKING" --exclude-tools edit,write --no-session -p < "$TMP_DIR/prompt.txt" > "$TMP_DIR/${NAME}_out.txt"--model/--thinking: Pin the peer model and reasoning level from the table above.--exclude-tools edit,write: Keepsbashandreadactive for running tests and inspections while preventing source file edits.--no-session: Runs ephemerally without persisting session files.
Workflow
- Collect Context:
- Scope Selection (Mixed Diffs):
If there are multiple unrelated uncommitted changes in the repository, do not review the entire diff. Isolate only the changes relevant to the current conversation:
- Specific files: If the current feature is in a subset of files:
git add -N <paths> && git diff HEAD -- <paths> > "$TMP_DIR/diff.patch" && git reset > /dev/null 2>&1 - Staged changes: If the feature changes are already staged:
git diff --cached > "$TMP_DIR/diff.patch" - Entire working tree (single feature):
git add -N . && git diff HEAD > "$TMP_DIR/diff.patch" && git reset > /dev/null 2>&1 - Branch PR Diff: determine base ref (
origin/main,origin/master, or user-specified), then capturegit diff <base>...HEAD > "$TMP_DIR/diff.patch". - Design / Approach: write proposed architecture or plan to
$TMP_DIR/diff.patch.
- Specific files: If the current feature is in a subset of files:
- Scope Selection (Mixed Diffs):
If there are multiple unrelated uncommitted changes in the repository, do not review the entire diff. Isolate only the changes relevant to the current conversation:
Prepare Prompt: Write the instructions first, then append the diff or approach text. Explicitly state the target feature scope and instruct the peer not to edit files or trigger a second opinion:
cat <<'EOF' > "$TMP_DIR/prompt.txt" Your task is to provide a text review only. Do not edit, patch, or modify any repository files. Do not invoke the second-opinion skill. You may use bash to inspect code, run tests, or check dependencies if needed. Target feature / scope under review: <brief description of what was worked on in this session; ignore unrelated diffs> Critique the following content. Focus on bugs, edge cases, performance issues, or architectural flaws. Be concise and prioritize high-impact findings: EOF cat "$TMP_DIR/diff.patch" >> "$TMP_DIR/prompt.txt"- Run Available Peers: Run the command for each available peer model, in parallel when possible, and capture their responses. If one peer fails, report the error and proceed with the other.
Clean Up: Remove temporary directory:
rm -rf "$TMP_DIR"- Synthesize & Report:
- Individual Findings: Bullet-point summary of each peer model's key points. Note any skipped or failed peers.
- Consensus: Items both peers agreed on (skip with a single peer).
- Disagreements / Unique Points: Noteworthy issues caught by only one peer (skip with a single peer).
- Host Recommendation: Your final takeaway or suggested changes.
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.

