second-opinion

second-opinion is a skill for Claude Code, Codex from flurdy/agent-skills. It costs 27 tokens per session (3,421 once invoked), scanned A, original, MIT.

A tool for asking another independent coding agent or a group of agents for an opinion on a plan, pull request, code, bug, or question. It can compare responses using voting and consensus rules.

In plain words
What is it for?
Use it to review pull requests, check implementation plans, investigate bugs, or get another answer to a technical question.
Why use it?
It gives you an additional review before you act, while making clear that agreement between agents is not proof that an answer is correct.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also runs codex exec. Also seen: model in frontmatter; names the AskUserQuestion tool; mentions Codex.

Good fit Use it to review pull requests, check implementation plans, investigate bugs, or…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flurdy/agent-skills/second-opinion
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add flurdy/agent-skills --skill second-opinion
Clone the repo
git clone --depth 1 https://github.com/flurdy/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for second-opinion

README.md
[![agentmods](https://agentmods.dev/badge/skills/flurdy/agent-skills/second-opinion.svg)](https://agentmods.dev/skills/flurdy/agent-skills/second-opinion)
Your own site
<a href="https://agentmods.dev/skills/flurdy/agent-skills/second-opinion"><img src="https://agentmods.dev/badge/skills/flurdy/agent-skills/second-opinion.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,421 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.03421
Opus 5 $0.00014 $0.01710
Sonnet 5 $0.00005 $0.00684
Haiku 4.5 $0.00003 $0.00342

Measured 6d ago against content hash aacd4df08e08, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

second-opinion scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/openrouter-panel.sh, scripts/review-panel.sh, tests/test-openrouter-panel.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- OpenRouter subset only: `curl`, plus either `OPENROUTER_API_KEY` or `secret-api-key` with `SECRET_API_KEY_PROJECT`, and a configured panel/profile in
skills/second-opinion/SKILL.md · 356 lines

How it starts

The opening of the file, as written. The whole thing — 356 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Second Opinion

Query one independent CLI peer or a bounded named review panel for plans, PRs, code, or bugs. quorum and consensus execute the same enabled routes from the selected panel exactly once. Quorum uses the profile's successful-route threshold; consensus interpretation additionally requires its unique-provider threshold. Agreement and vote count never establish correctness.

Usage

/second-opinion
/second-opinion review-pr 123
/second-opinion validate-plan "<plan>"
/second-opinion triage-bug "<description>"
/second-opinion ask "<question>"

# One independent route
/second-opinion ask "..." --agent peer       # explicit/default independent peer
/second-opinion ask "..." --agent claude
/second-opinion ask "..." --agent codex
/second-opinion ask "..." --agent gemini
/second-opinion ask "..." --agent codex --model <id>

# Policy-neutral named panels
/second-opinion review-pr --agent quorum                    # defaults to focused
/second-opinion validate-plan "..." --agent consensus       # defaults to extreme
/second-opinion review-pr --agent consensus --panel large
/second-opinion ask "..." --agent quorum --panel large \
  --route-model claude-fable=opus --route-effort claude-fable=max

--timeout <minutes> defaults to 10 and is capped at 30.

Requirements

  • Single/local routes: the selected claude, codex, or gemini CLI installed and authenticated.
  • Panel orchestration: jq plus scripts/review-panel.sh.
  • OpenRouter subset only: curl, plus either OPENROUTER_API_KEY or secret-api-key with SECRET_API_KEY_PROJECT, and a configured panel/profile in ~/.agents/second-opinion/config.json. Optional exact-model modelPolicies in that user-local file may set consent: "allow"; absent or invalid policies remain confirmation-required.
  • gh for PR context.

Read references/review-panels.md when quorum or consensus is selected. If the selected panel contains OpenRouter routes, also read references/openrouter-consensus.md completely before executing. Model/effort precedence is in references/external-model-resolution.md.

Read the full file on GitHub · 356 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 356 lines · 27 tokens per session scan A aacd4df08e08

Subscribe to this mod's changes

second-opinion is a skill published in the GitHub repository flurdy/agent-skills (8 stars, last pushed 8d ago), licensed MIT. It adds 27 tokens to every session and 3,421 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.