second-opinion

second-opinion is a skill for Claude Code from juanmhidalgo/claude-plugins. It costs 40 tokens per session (1,553 once invoked), scanned A, original, MIT.

A read-only workflow for asking another AI assistant to review code or architecture and provide a second opinion.

In plain words
What is it for?
Use it to review staged changes, a specific file, or a branch against its base using Codex, Gemini, Copilot, or Claude.
Why use it?
It gives you an independent assessment without changing files or implementing the suggested changes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the second-opinion plugin — 1 skill shipped together

Good fit Use it to review staged changes, a specific file, or a branch against its base using Codex, Gemini, Copilot, or Claude.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add juanmhidalgo/claude-plugins
Claude Code
/plugin install second-opinion

Made for: Claude Code.

Or install second-opinion, the plugin that ships this one along with the rest of its 1 skill.

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/juanmhidalgo/claude-plugins/second-opinion/github.svg)](https://agentmods.dev/skills/juanmhidalgo/claude-plugins/second-opinion)
Your own site
<a href="https://agentmods.dev/skills/juanmhidalgo/claude-plugins/second-opinion"><img src="https://agentmods.dev/badge/skills/juanmhidalgo/claude-plugins/second-opinion/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for second-opinion

Your own site · 80×15
<a href="https://agentmods.dev/skills/juanmhidalgo/claude-plugins/second-opinion"><img src="https://agentmods.dev/badge/skills/juanmhidalgo/claude-plugins/second-opinion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,553 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00040 $0.01553
Opus 5.5 $0.00016 $0.00621
Sonnet 5.5 $0.00008 $0.00311
Haiku 4.5 $0.00004 $0.00155

Measured 1mo ago against content hash 9c679c439882, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

second-opinion scanned grade A with 0 findings 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 1mo ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

second-opinion/skills/second-opinion/SKILL.md · 167 lines

How it starts

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

Second Opinion via External AI

You are gathering context and asking an external AI for a second opinion.

Step 0: Select backend

Enabled backends (plugin userConfig; change them with /plugin configure second-opinion):

Backend Enabled
codex ${user_config.enable_codex}
gemini ${user_config.enable_gemini}
copilot ${user_config.enable_copilot}
claude ${user_config.enable_claude}

A backend is disabled only when its value reads false. Any other value, including an unsubstituted placeholder, means enabled.

Parse $ARGUMENTS for --backend <name> or infer from context:

Flag / keyword Script
--backend codex or mentions "codex" or "openai" ${CLAUDE_PLUGIN_ROOT}/scripts/ask-codex.sh
--backend gemini or mentions "gemini" or "google" ${CLAUDE_PLUGIN_ROOT}/scripts/ask-gemini.sh
--backend copilot or mentions "copilot" or "github" ${CLAUDE_PLUGIN_ROOT}/scripts/ask-copilot.sh
--backend claude or mentions "claude" or "anthropic" ${CLAUDE_PLUGIN_ROOT}/scripts/ask-claude.sh
No preference specified The first enabled backend in the order codex, gemini, copilot, claude

If the requested backend is disabled, do not run its script: say it is disabled in the plugin config and name the enabled ones. If none is enabled, stop and point to /plugin configure second-opinion.

Remove the --backend flag from arguments before continuing to Step 1.

Step 1: Determine the review type

Parse remaining arguments to determine what the user wants reviewed:

Pattern Action
review staged or staged Review staged git changes
review <filepath> Review a specific file
review branch or branch Review all changes on current branch vs base
Any other text Treat as a free-form question — still gather relevant code context if possible

Step 2: Gather context

Based on the review type, gather the minimum necessary context:

Read the full file on GitHub · 167 lines

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. 1mo ago Changed · +13 lines 9c679c439882
  2. 2mo ago First seen · 154 lines · 40 tokens per session scan A bb3a10cf9b3a

Subscribe to this mod's changes

second-opinion is a skill published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed 18d ago), licensed MIT. It adds 40 tokens to every session and 1,553 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

second-opinion compared with skills from other repositories

second-opinion next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
second-opinionjuanmhidalgo/claude-pluginsSkill818d agoMITA40Claude Code
reviewdevoxx/DevoxxGenieIDEAPluginSkill697yesterdayMITA90Claude Code
claude-friendsawrshift/claude-friendsSkill53mo agoMITB239Claude Code
facts-discoverav/factsSkill2086mo agononeA82Claude Code, Codex
issue-creationGentleman-Programming/gentle-aiSkill9.7kyesterdayMITA30Claude Code, Codex
adk-go-self-reviewgoogle/adk-goSkill9.0ktodayApache-2.0A87Claude Code, Codex
skill-auditnyldn/claude-octopusSkill4.5ktodayMITA24Claude Code