second-opinion

Run external LLM code reviews on uncommitted changes, branch diffs, or commits.

Updated May 2, 2026
One-click install
npx skills add https://github.com/ayehiaa/my-travel-assistant --skill second-opinion-ayehiaa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: second-opinion
Source: https://github.com/ayehiaa/my-travel-assistant/tree/main/.agents/skills/second-opinion
Command: npx skills add https://github.com/ayehiaa/my-travel-assistant --skill second-opinion-ayehiaa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Second-opinion reviews reduce the risk of missing correctness, security, performance, or maintainability issues by running an independent external model review on your actual diffs.

Core Features & Use Cases

  • Second-Model Code Review: Runs external LLM CLIs (OpenAI Codex or Google Gemini) against uncommitted changes, branch diffs, or specific commits.
  • Diff-Scoped Safety Checks: Optionally applies security and dependency scanning only when the diff touches dependency manifests.
  • Project-Conventions Awareness: Incorporates repository conventions from CLAUDE.md or AGENTS.md (when present) to align findings with your standards.
  • Side-by-Side Results: Supports running both tools in parallel and then summarizes where they agree or differ.

Quick Start

Ask for a second opinion on your current work by running: /second-opinion

Frequently Asked Questions about second-opinion

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run an LLM code review on my git diff before committing?

You can run an LLM code review on uncommitted changes or branch diffs by invoking external tools like Codex or Gemini. The skill processes the diff scope you select and presents findings focused on security, performance, and error handling.

Can I use both Gemini and Codex to review my uncommitted changes?

Yes, you can use both Gemini and Codex to review uncommitted changes. The skill supports running both external LLM CLIs in parallel and summarizes the results, highlighting where the two models agree or differ on your code.

Does LLM code review check for vulnerable dependencies in my diff?

LLM code review can check for vulnerable dependencies by applying diff-aware dependency scanning. This optional security scanning runs specifically when your changes touch dependency manifests, ensuring targeted vulnerability detection.

What is the best way to align external AI code review results with my project conventions?

To align external AI code review results with your project conventions, the skill incorporates standards from CLAUDE.md or AGENTS.md files. When present in your repository, these files guide the LLM to match your established coding standards.

How does external LLM code review handle empty or large diffs?

External LLM code review handles empty or large diffs using built-in guardrails. These safety checks prevent the tool from processing empty changes and manage large diffs to ensure the external model review remains effective and within limits.

Do I need Codex or Gemini installed to get a second opinion on my code?

Yes, you need Codex or Gemini installed to get a second opinion on your code. The skill invokes these external models via their respective CLIs, requiring you to select a review tool and diff scope to execute the independent code review.