Skip to content
Skills Library
Security · Review & audit

second-opinion

/second-opinion

Multi-model independent security review — routes code to a second LLM for review without sharing the primary model's analysis. Part of the Nomark Method Layer 3 verification. Use for security-critical changes (auth, payment, PII, crypto, infra), when someone asks for 'second opinion', 'independent review', 'multi-model check', or when Layer 1/2 findings flag critical issues.

Repository
sigil ↗
Licence
Apache-2.0
Last repository change
09.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 09.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Multi-model independent security review — routes code to a second LLM for review without sharing the primary model's analysis. Part of the Nomark Method Layer 3 verification. Use for security-critical changes (auth, payment, PII, crypto, infra), when someone asks for 'second opinion', 'independent review', 'multi-model check', or when Layer 1/2 findings flag critical issues.

Triggers from the description

second opinionindependent reviewmulti-model check
Original author description

Multi-model independent security review — routes code to a second LLM for review without sharing the primary model's analysis. Part of the Nomark Method Layer 3 verification. Use for security-critical changes (auth, payment, PII, crypto, infra), when someone asks for 'second opinion', 'independent review', 'multi-model check', or when Layer 1/2 findings flag critical issues.

How it works

  1. Why Independence Matters
  2. When to Use
  3. Protocol
  4. Fallback When External Models Unavailable
Original SKILL.md headings · 101 lines, 629 words
SKILL.md preview
---
name: second-opinion
description: "Multi-model independent security review — routes code to a second LLM for review without sharing the primary model's analysis. Part of the Nomark Method Layer 3 verification. Use for security-critical changes (auth, payment, PII, crypto, infra), when someone asks for 'second opinion', 'independent review', 'multi-model check', or when Layer 1/2 findings flag critical issues."
---

# 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:

```bash
# 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

### Step 3: Compare Findings

Create a comparison matrix:

| Finding | Primary Model | Second Model | Agreement |
|---------|--------------|--------------|-----------|
| SQL injection in user search | ✅ Found | ✅ Found | AGREE — high confidence TP |
| Missing rate limit on /api/auth | ✅ Found | ❌ Missed | DISAGREE — investigate |
| CSRF on state-changing GET | ❌ Missed | ✅ Found | DISAGREE — investigate |
| eval() in template engine | ✅ Found (FP) | ✅ Found (TP) | DISAGREE on classification |

### Step 4: Investigate Disagreements

Disagreements require human judgment:
- **Primary found, Second missed:** Might be a genuine finding that Second's training didn't cover. Verify independently.
- **Second found, Primary missed:** Most valuable output — this is a blind spot in the primary model. Investigate thoroughly.
- **Different classification:** Both saw the code but reached different conclusions. Examine the reasoning of each.

### Step 5: Document

```markdown
# Multi-Model Security Review — [change ID]

## Models Used
- Primary: [model name and version]
- Secondary: [model name and version]

## Agreement Summary
- Agreed findings: [count]
- Primary-only findings: [count]
- Secondary-only findings: [count]
- Classification disagreements: [count]

## Disagreement Analysis
### [Finding]
**Primary assessment:** [what and why]
**Secondary assessment:** [what and why]
**Resolution:** [which is correct and why]

## Final Verdict: [VERIFIED | CONCERNS REMAIN]
```

## Fallback When External Models Unavailable

If you can't route to an external model, the next best thing is a structured adversarial review:
1. Adopt the mindset of a penetration tester who has never seen this codebase
2. Start from the public attack surface and work inward
3. Focus on: "If I were trying to exploit this change, what would I try?"
4. Document your adversarial analysis separately from your standard review

Versions

RepositoryScoreLicence
This page · nomarj/sigil100Apache-2.0
rstrlnkv/CoreKit100MIT
maragudk/fabrik100MIT
amirfish1/claude-command-center100MIT
trailofbits/skills100CC-BY-SA-4.0
ramzyraz/second-opinion100MIT
jairotorregrosa/jaiskills100MIT
arcasilesgroup/ai-engineering100Apache-2.0
arcasilesgroup/ai-engineering100Apache-2.0

Database snapshot: 13.11.2026 · package version 047cb4318af3 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100differential-review
    Security-focused differential code review analyzing git diffs in context of the broader codebase. Part of the Nomark Method Layer 2 security verification. Use whenever reviewing a PR, preparing to merge, or someone asks for a 'security review of this diff', 'review these changes…
  • 95security-review
    Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features. Provides comprehensive security checklist and patterns.
  • 90slo-second-opinion
    Use this skill when you want an independent review of a plan, diff, or decision — "get a second opinion", "what would Codex say", "cross-check this with another model". Shells out to a different provider CLI (Codex or Gemini) with the same context and surfaces the disagreement,…
  • 90interrogate
    Use for \"interrogate\", \"adversarial review\", \"multi-model review\", \"challenge this\", \"second opinion\", \"second look\", \"2nd opinion\", \"what could this break\", \"find blind spots\", or \"tear this apart\". Multiple LLM reviewers challenge changes from independent…
  • 90cross-model-review
    Use this skill when requesting or consuming an independent review from another model, including code, specifications, diagnoses, and factual claims. Activates on mentions of cross-model review, second opinion, independent review, different model review, confer with Codex,…
  • 100security-review
    Security audit for code changes. Triggered by "/security-review" when reviewing auth, crypto, input handling, or when user explicitly requests a security audit.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.