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.
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 09.10.2026, without references to retired models or APIs.
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
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
- Why Independence Matters
- When to Use
- Protocol
- Fallback When External Models Unavailable
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
| Repository | Score | Licence |
|---|---|---|
| This page · nomarj/sigil | 100 | Apache-2.0 |
| rstrlnkv/CoreKit | 100 | MIT |
| maragudk/fabrik | 100 | MIT |
| amirfish1/claude-command-center | 100 | MIT |
| trailofbits/skills | 100 | CC-BY-SA-4.0 |
| ramzyraz/second-opinion | 100 | MIT |
| jairotorregrosa/jaiskills | 100 | MIT |
| arcasilesgroup/ai-engineering | 100 | Apache-2.0 |
| arcasilesgroup/ai-engineering | 100 | Apache-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
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.