Second Opinion banner
Trail of Bits Trail of Bits

Second Opinion

Security community Advanced

Description

Run code reviews using external LLM CLIs (OpenAI Codex, Google Gemini) on uncommitted changes, branch diffs, or specific commits.

Installation

Terminal
claude install-skill https://github.com/trailofbits/skills/tree/main/plugins/second-opinion

README

second-opinion

Run code reviews using external LLM CLIs (OpenAI Codex, Google Gemini) on uncommitted changes, branch diffs, or specific commits.

Prerequisites

OpenAI Codex CLI

    undefined

Google Gemini CLI

    undefined

Installation

/plugin marketplace add trailofbits/skills
/plugin install second-opinion

Usage

/second-opinion

The command will prompt for:

    undefined

Quick invocation

/second-opinion check the uncommitted changes for security issues

Inline arguments pre-fill the scope and focus, skipping redundant questions.

How It Works

Shells out to `codex review` and/or `gemini` CLI with high-capability model configurations. When both tools are selected (the default), runs Codex first then Gemini, presenting results side by side for comparison.

Codex MCP Tools

This plugin bundles Codex CLI's built-in MCP server (`codex mcp-server`), which auto-starts when the plugin is installed and provides two MCP tools:

    undefined

...