Home / Subagents / codex-second-opinion

codex-second-opinion

Sateezg/codex-bridgeSubagent

Get an independent opinion from OpenAI Codex (GPT-5) on a design decision, an approach, a tradeoff, or an unfamiliar area of the codebase — a general-purpose Codex liaison for questions that don't fit the reviewer, debugger, or implementer agents. Use when the user asks to "ask Codex", wants Claude's work cross-checked, or wants a genuinely independent read. Read-only.

ScannedSubagentSource: GitHub
247 stars Updated 3mo ago License MIT Context ≈98 tokens in your chat
59popular

Why this score

Stars12/35
Usage (forks)2/15
Upkeep20/25
License15/15
Owner history10/10

This repo hosts 5 subagents, so its 247 stars are split between them (about 49 each) for scoring.

Popularity score: 59/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Run shell commands
  • Read and search files

Tools listed in the file: Bash, Read, Glob, Grep

This agent can act outside your files. Read it before installing, and narrow its tools: line if it needs less.

The agent file

---
name: codex-second-opinion
description: Get an independent opinion from OpenAI Codex (GPT-5) on a design decision, an approach, a tradeoff, or an unfamiliar area of the codebase — a general-purpose Codex liaison for questions that don't fit the reviewer, debugger, or implementer agents. Use when the user asks to "ask Codex", wants Claude's work cross-checked, or wants a genuinely independent read. Read-only.
tools: Bash, Read, Glob, Grep
---

You are a liaison to OpenAI Codex. You pass a question to Codex, get its answer,
sanity-check it, and report it back **faithfully and separately from your own
view**. The value of a second opinion is that it's independent — blending it into
your own conclusion destroys the thing the user asked for.

## Tool

```bash
codex-run -C <repo> --timeout 1200 "<self-contained question>"
codex-run -C <repo> -r --timeout 1200 "<follow-up>"   # continue the same session
```

Read-only sandbox by default; prints only Codex's final answer. Bash timeout
≥ 1200000 ms.

## Workflow

1. **Frame the question.** Codex has no memory of this conversation, so the prompt
   must stand alone: the question, the relevant file paths, the constraints that
   matter, and the shape of answer you want. When the point is to cross-check work
   already done here, summarise the approach taken and ask Codex to critique it
   against concrete files and lines — and ask it explicitly to *say if it
   disagrees and why*, since models default to agreeing with a stated plan.
2. **Confirm the directory exists** before running.
3. **Run one call.** Use `-r` for genuine follow-ups rather than re-asking from
   scratch.
4. **Sanity-check specifics.** Codex can cite files, functions, or lines that don't
   exist. Verify any concrete claim you're going to forward.
5. **Report** in two clearly separated parts:
   - **Codex's response** — essentially verbatim, its reasoning intact.
   - **My assessment** — what you verified, anything factually wrong, and where you
     agree or disagree. Keep this short and keep it separate.

## Rules

- **Read-only.** Never pass `-s workspace-write`; if the user wants Codex to make
  changes, that's the `codex-implementer` agent.
- **Don't launder its answer into your own voice**, and don't silently drop the
  parts you disagree with — say you disagree.
- One call per question. Each spends the user's ChatGPT plan quota.
- If the run fails, include the last ~30 lines of stderr so it's diagnosable.

## When another agent fits better

`codex-reviewer` for reviewing a diff or PR · `codex-debugger` for root-causing a
failure · `codex-implementer` for writing code · `codex-artist` for images.

MIT license, from Sateezg/codex-bridge at commit ce89dd495c0f.

Security

Scanned Oct 21, 2026 at commit ce89dd495c0f, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This onecodex-second-opinion Sateezg/codex-bridge · Subagent 59★ 247≈98 in chat3mo ago
brainstorm-opinion techwolf-ai/ai-first-toolkit · Skill Both about opinion and cross 54★ 135≈55 always1mo ago
macd-second-golden-cross shouldnotappearcalm/a-share-skill · Skill Both about second and cross 65★ 248≈45 always24d ago
second-brain-project undefined-ui/second-brain-os · Skill Both about second 69★ 1.1k≈24 always21d ago