second-opinion
Skill1 starsChanged 56 days agoMITView on GitHub
A read-only review of a finished change by a model of another family, in at most three rounds, through another agent CLI or a subagent on another model. Use for a second opinion, a cross-model review of a diff, a review by another model or agent, or as final-review's last step.
- Reads credentials
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
- 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
- thensls/nsls-builder-toolkittheir own version, first seen Sep 21, 2026
Used with
Projects with it also use investigate, retro and 5 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
AWSSkillship
Finalize dev work on an issue branch — update docs, push, and open a PR.
Also in 3 projects that use this
SentrySkillcommit
Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.
Also in 3 projects that use this
AWSSkillgrill-me
A relentless interview to sharpen a plan or design.
Also in 3 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.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- atlassianSkill
- auditSkill
- code-qualitySkill
- commit-expertSkill
- create-issueSkill
- create-prSkill
- debugSkill
- defineSkill
- deliverSkill
- final-reviewSkill
- gherkinSkill
- githubSkill
- handoffSkill
- senior-technical-writerSkill
- testingSkill
- triageSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 4 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 26 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
Effort is a suffix, not a model: Write gpt-6.1-sol@low, not an invented gpt-6.1-sol-light.
- Distinctive: line 48
not the one you are running on, and from a different family when your harness offers one.
- Distinctive: line 49
not the harness's most expensive frontier model, such as Fable in Claude Code or Astra in Codex.
- Distinctive: line 50
never a fast variant.
- Very specific: line 52
When your harness's subagents cannot pick a model, run the script again with --harness <claude|codex|cursor|opencode> --model <id> in place …
- Very specific: line 63
Round 1: Write notes to a scratch file outside the repository: what your review found, what you fixed, and what you deliberately left, with …
- Very specific: line 67
Round 3, optional, only if round 2 led to a code change: Run it as round 2, with notes on each round 2 finding, and --round 3.
- Very specific: line 68
Stop: Do not ask again because you disagree with a result or because the last round raised something.
- Distinctive: line 69
Clean up: Delete your notes and every prompt file the script wrote: each prompt file holds the full diff, and nothing else removes it.
“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
A model from another family reviews the change after you have reviewed it yourself. It catches what the authoring model is blind to. It is a pragmatic second opinion, not an opponent: a clean result is a good result, and the reviewer is told it does not have to find anything. The reviewer follows references/brief.md.
Configure
One variable, in the repository's .env or the environment: reviewers as harness:model[@effort], in order of preference. The script picks the first one whose model family differs from yours, so one list serves every harness you work in.
# Grok reviews Claude and GPT; Sol, at low effort, reviews Grok.
SECOND_OPINION_REVIEWERS=cursor:grok-4.7-high,codex:gpt-6.1-sol@low
# From Claude Code, Sol reviews; from Codex, Opus does.
SECOND_OPINION_REVIEWERS=codex:gpt-6.1-sol,claude:opus
# OpenCode reaches several providers: Kimi reviews Claude and GPT; GPT reviews Kimi.
SECOND_OPINION_REVIEWERS=opencode:opencode-go/kimi-k3,opencode:github-copilot/gpt-6.1-sol- Family, not harness. Cursor and OpenCode also run Claude and GPT models, and the review is only worth it from a model the author's blind spots do not share. The family comes from the id, after any
provider/:claudefor Claude ids andopus,sonnet,fableandhaiku;gptforgpt,codexando<n>; otherwise the first word, such asgrok. - Effort is a suffix, not a model. Write
gpt-6.1-sol@low, not an inventedgpt-6.1-sol-light. The suffix is one ofminimal,low,medium,high,xhighormax, and becomes the harness's own option in the table below. - Exact ids, never fast. A bare alias can resolve to a fast variant: in Cursor,
grok-4.7means the account's default, such asgrok-4.7-high-fast. The script refuses an id containingfast, except[fast=false], and switches off Claude Code's fast mode, so Claude Code's aliases are safe. - Ids are not checked. They change often and differ per account, so a wrong id fails in the reviewer's CLI. List the current ones with the command in the table.
- Login, with a key as fallback. Each CLI uses its own login. When the agent cannot reach it, as in CI or a sandbox, set
SECOND_OPINION_CLAUDE_API_KEY,SECOND_OPINION_CODEX_API_KEYorSECOND_OPINION_CURSOR_API_KEY. The script passes it to the reviewer only, asANTHROPIC_API_KEY,CODEX_API_KEYorCURSOR_API_KEY, so the coding agent's own key is left alone. OpenCode keeps a key per provider, set withopencode auth login.
| Harness | Runs headless and read-only as | @effort becomes | Current ids |
claude | claude -p --permission-mode dontAsk, only Read, Grep and Glob | --effort | claude --help, under --model |
codex | codex exec --sandbox read-only | -c model_reasoning_effort= | the model picker in codex, or the Codex docs |
cursor | cursor-agent -p --mode ask | refused: the id names it, as in grok-4.7-high or model[effort=low] | cursor-agent --list-models |
opencode | opencode run --agent plan | --variant, per provider | opencode models |
Script
node --experimental-strip-types <this skill's folder>/scripts/run-review.mts --base <ref> --notes <file> --self <your model id> [--round 1|2|3]The coding agent runs this itself; the user never has to. Run it from inside the repository, in the background: a review takes minutes. <ref> is the base the change targets, such as origin/<integration branch>, or, for a stacked PR, the branch below it. --self is the model you run on. The script sends the brief, the round, your notes, the diff from the merge base to the working tree, and the paths of untracked files, then prints the reviewer's findings.
Exit code 2 means no listed reviewer is from another family. The script has written the prompt to a file and printed its path. Start a fresh, read-only subagent, not one that inherits your conversation, on a model you pick this way, and tell it to follow the prompt in that file; its reply is the review:
- not the one you are running on, and from a different family when your harness offers one;
- not the harness's most expensive frontier model, such as Fable in Claude Code or Astra in Codex. In Claude Code, Opus and Sonnet review each other: on Opus, use Sonnet. In Codex, Sol and Luna do;
- never a fast variant.
When your harness's subagents cannot pick a model, run the script again with
--harness <claude|codex|cursor|opencode> --model <id>in place of--self, using an exact id outside Claude Code. Skip the review, and say so in one line, only when neither works.- These rules are only for a model you pick. A listed reviewer runs as set, whatever its tier.
- Invoke this skill by name rather than only reading this file. Its
allowed-toolspre-approves the command above, so a harness that blocks one agent from starting another lets it run. A harness that ignoresallowed-toolsneeds the same rule in its own settings. - A change too large for one prompt fails with a message. Review it in parts with a nearer
--base.
Flow
There are at most three rounds per change, and the third is optional. The script refuses a fourth.
- Review it yourself first, with final-review or the project's own gate. The checks must be green.
- Round 1. Write notes to a scratch file outside the repository: what your review found, what you fixed, and what you deliberately left, with a reason for each. The reviewer treats those points as settled. Run
--round 1. - Show the review. As soon as the review returns, show the user the reviewer's output in full, unedited, before acting on it. Show every round, including one that finds nothing.
- Verify each finding against the code: reproduce the scenario or trace it through. The other model is a reviewer, not an authority. Fix the findings that hold and are
easy, then run the checks again. Reject the ones that do not hold, with a one-line reason. - Round 2, only if round 1 led to a code change. Write new notes that list each round 1 finding with what you did: fixed at
file:line, or rejected and why. Run--round 2. The reviewer checks only those fixes and what they touch. It does not look for new issues. - Round 3, optional, only if round 2 led to a code change. Run it as round 2, with notes on each round 2 finding, and
--round 3. - Stop. Do not ask again because you disagree with a result or because the last round raised something. Verify what it reports, fix what is
easyand holds, and list the rest as open findings for the user to decide. - Clean up. Delete your notes and every prompt file the script wrote: each prompt file holds the full diff, and nothing else removes it.
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.

