second-opinion

second-opinion is a skill for Claude Code, Codex from NOMARJ/sigil. It costs 85 tokens per session (965 once invoked), scanned A, original, Apache-2.0.

An independent security review that sends code to a second language model without showing it the first model’s findings.

In plain words
What is it for?
Use it for security-critical changes involving authentication, payments, personal data, cryptography, infrastructure, or serious findings that need a separate assessment.
Why use it?
It reduces the chance that one model’s missed issue or mistaken conclusion is simply repeated by another review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions Gemini CLI.

Good fit Use it for security-critical changes involving authentication, payments, personal data, cryptography, infrastructure, or serious findings that need a separate assessment.

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

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/nomarj/sigil/second-opinion/github.svg)](https://agentmods.dev/skills/nomarj/sigil/second-opinion)
Your own site
<a href="https://agentmods.dev/skills/nomarj/sigil/second-opinion"><img src="https://agentmods.dev/badge/skills/nomarj/sigil/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/nomarj/sigil/second-opinion"><img src="https://agentmods.dev/badge/skills/nomarj/sigil/second-opinion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 965 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.00085 $0.00965
Opus 5.5 $0.00034 $0.00386
Sonnet 5.5 $0.00017 $0.00193
Haiku 4.5 $0.00009 $0.00097

Measured 2mo ago against content hash d5ca9b5482f9, 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 2mo 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.

packs/security/skills/owasp-security/second-opinion/SKILL.md · 105 lines

How it starts

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

Second Opinion — Multi-Model Review

Adapted from Trail of Bits' second-opinion skill. The insight: every LLM has training-specific blind spots. A vulnerability that Claude misses, Codex might catch — and vice versa. Layer 3 exploits this by running an independent review on a separate model without sharing the first model's findings.

Why Independence Matters

If you show Model B the findings from Model A, Model B's review is contaminated — it will anchor on what Model A found and confirm or deny, rather than doing its own analysis. True independent review means:

  1. Model B receives the code and a security review prompt
  2. Model B does NOT receive Model A's findings
  3. The findings are compared AFTER both reviews complete
  4. Disagreements are the most valuable output

When to Use

Layer 3 is triggered for changes that touch:

  • Authentication or authorization logic
  • Payment or financial transaction processing
  • PII or sensitive data handling
  • Cryptographic operations
  • Infrastructure or deployment configuration
  • Any change flagged CRITICAL by Layer 1 or Layer 2

Protocol

Step 1: Prepare the Review Package

Extract from the codebase:

  • The changed files (full diff)
  • Surrounding context (the files the changes interact with)
  • The project's security model (auth patterns, trust boundaries)
  • Any relevant architecture documentation

Do NOT include: Layer 1/2 findings, the primary model's analysis, or any hints about what to look for.

Step 2: Route to Independent Model

If available, use external LLM CLIs:

# Using OpenAI Codex CLI
codex --model o4-mini --prompt "Review this code for security vulnerabilities..." < review-package.md

# Using Google Gemini CLI
gemini --prompt "Security review of the following code changes..." < review-package.md

If external CLIs aren't available, simulate independence by:

  • Starting a fresh context (new session) with no reference to prior analysis
  • Using a different system prompt focused purely on security
  • Treating the code as if you've never seen the project before

Read the full file on GitHub · 105 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. 2mo ago First seen · 105 lines · 85 tokens per session scan A d5ca9b5482f9

Subscribe to this mod's changes

second-opinion is a skill published in the GitHub repository NOMARJ/sigil (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 85 tokens to every session and 965 once invoked, about $0.0003 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-04.

Related

second-opinion compared with skills from other repositories

second-opinion next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
second-opinionNOMARJ/sigilSkill61mo agoApache-2.0A85Claude Code, Codex
code-healthdavepoon/buildwithclaudeSkill3.8kyesterdayMITA35Claude Code
review-findingsdavepoon/buildwithclaudeSkill3.8kyesterdayMITA43Claude Code
deslopget-bb/bbSkill6.2ktodayMITA14Claude Code, Codex
security-reviewmshadmanrahman/pm-pilotSkill228d agoMITA11Claude Code
manta-handle-reviewer-returnantoinedc/MantaUISkill14todayMITA69Claude Code, Codex
codexspec:prZts0hg/codexspecSkill7yesterdayMITA28Claude Code, Codex