second-opinion

second-opinion is a skill for Claude Code, Codex from photostructure/coding-skills. It costs 57 tokens per session (2,729 once invoked), scanned A, original, MIT.

A workflow that gets an independent review of newly written code from a different coding agent, then checks each reported issue against the actual code and requirements.

In plain words
What is it for?
It is for checking completed code before committing, especially for missed edge cases, incorrect assumptions, and differences between the implementation and the requested behavior.
Why use it?
Passing tests does not prove that the code matches the specification, and reviewers can also report problems that are not real. A second review plus evidence helps separate genuine bugs from incorrect suggestions.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions subagents; mentions Codex.

Part of the coding plugin — 12 skills shipped together

Good fit It is for checking completed code before committing, especially for missed edge cases, incorrect assumptions, and differences between the implementation and the requested behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/photostructure/coding-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 photostructure/coding-skills --skill second-opinion
Clone the repo
git clone --depth 1 https://github.com/photostructure/coding-skills

Made for: Claude Code, Codex.

Or install coding, the plugin that ships this one along with the rest of its 12 skills.

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/photostructure/coding-skills/second-opinion/github.svg)](https://agentmods.dev/skills/photostructure/coding-skills/second-opinion)
Your own site
<a href="https://agentmods.dev/skills/photostructure/coding-skills/second-opinion"><img src="https://agentmods.dev/badge/skills/photostructure/coding-skills/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/photostructure/coding-skills/second-opinion"><img src="https://agentmods.dev/badge/skills/photostructure/coding-skills/second-opinion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,729 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.00057 $0.02729
Opus 5.5 $0.00023 $0.01092
Sonnet 5.5 $0.00011 $0.00546
Haiku 4.5 $0.00006 $0.00273

Measured 17d ago against content hash 4decadce9abe, 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 17d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/run_with_idle_timeout_test.py, scripts/run_with_idle_timeout.py), 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.

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.

plugins/coding/skills/second-opinion/SKILL.md · 234 lines

How it starts

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

Second Opinion

Give fresh Codex and Claude sessions the complete requested review scope, then settle their findings against evidence. Fresh reviewers can challenge the author's assumptions. Do not split agent reviews to meet a line count or reading-time budget; those limits belong to human gavel reviews.

  1. Prepare the scope, proposed commit message, requirements, and ground truth.
  2. Run both reviewers and read the same code yourself.
  3. Accept, veto, or leave open each finding, with evidence.
  4. Test and fix accepted findings within scope.
  5. Re-review in the same sessions, subject to the stop rules in step 5.
  6. Report findings, dispositions, and both reviewers' verdicts.

User direction

Read and follow the shared commit instructions.

1. List what you changed

Write down, for the prompt you are about to send:

  • The changed files and how to diff them — the exact diff command and an explicit repository-relative file list. Distinguish staged hunks from unstaged changes in the same file, and name in-scope untracked files separately, because an ordinary diff omits them.
  • The proposed commit message — verbatim when the user supplied one, otherwise drafted from the task and the current diff. Label it as a fallible summary, not a correctness requirement. When the tree holds several logical changes, follow stage and give the file list and the proposed message for each commit.
  • The task and its requirements — the user's request and any accepted plan or specification needed to judge behavior. Give repository paths for project rules and design documents; the reviewer can open them. Paste only what it cannot reach, such as decisions made only in conversation.
  • The ground truth — the thing a disputed finding can be tested against: a reference implementation you can execute, a spec with runnable examples, the real API. Write the exact command that queries it. No executable ground truth? Say so, and name the fallback (spec text, maintainer ruling).

Read the full file on GitHub · 234 lines

Files

What ships with it

4 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. 17d ago Changed · -314 lines · -7 tokens per session 4decadce9abe
  2. 18d ago Changed · +14 lines dc6c9e8aa47f
  3. 26d ago Changed · +17 lines 100f4539ddb1
  4. 2mo ago Changed · +64 lines · -8 tokens per session 00b4701816d3
  5. 2mo ago Changed · +16 lines 15ab984c45fa
  6. 2mo ago Changed · +36 lines · -12 tokens per session dcb90acf5934
  7. 2mo ago Changed · +19 lines · +11 tokens per session 86857586b43b
  8. 3mo ago Changed · +82 lines 0837dd991ac0
  9. 3mo ago First seen · 300 lines · 73 tokens per session scan A f246980ac68c

Subscribe to this mod's changes

second-opinion is a skill published in the GitHub repository photostructure/coding-skills (5 stars, last pushed 17d ago), licensed MIT. It adds 57 tokens to every session and 2,729 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-08-31.

Related

second-opinion compared with skills from other repositories

second-opinion next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
second-opinionphotostructure/coding-skillsSkill517d agoMITA57Claude Code, Codex
github-pr-reviewfvadicamo/dev-agent-skillsSkill722mo agoMITA95Claude Code
github-pr-creationfvadicamo/dev-agent-skillsSkill722mo agoMITA75Claude Code
refactoring-patternswondelai/skillsSkill2.9k4d agoMITA125Claude Code, Codex
auditoliver-kriska/claude-elixir-phoenixSkill5804d agoMITA35Claude Code
boundariesoliver-kriska/claude-elixir-phoenixSkill5804d agoMITA33Claude Code
triageoliver-kriska/claude-elixir-phoenixSkill5804d agoMITA32Claude Code