{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "sateezg-codex-bridge--gpt5-diff-review-from-shell",
 "repo": "Sateezg/codex-bridge",
 "repo_url": "https://github.com/Sateezg/codex-bridge",
 "repo_slug": "sateezg-codex-bridge",
 "title": "Run a GPT-5 review of a branch diff",
 "page_title": "How to run a GPT-5 review of a branch diff with Codex Bridge",
 "summary": "Pipe a branch diff into Codex and get a single final answer back.",
 "who": "A developer about to open a pull request who wants a second look at the branch from GPT-5.",
 "problem": "Reviewing a large diff by hand takes time, and running it through a chat window loses the repo context.",
 "outcome": "A written review of the branch diff, printed as Codex's final answer.",
 "steps": [
  "Complete the install steps for the Codex CLI, `codex login`, and the plugin.",
  "Open a terminal in the repo that has the branch you want reviewed.",
  "Run `git diff main...HEAD | codex-run -C . --timeout 1200 -`.",
  "Read the final answer, then ask a follow-up with `codex-run -C . -r \"now show me the minimal patch\"`.",
  "Check each finding against the code before acting on it."
 ],
 "agent_prompt": "In the Sateezg/codex-bridge plugin setup, pipe the diff of <branch> against main into codex-run with -C . and --timeout 1200, and report Codex's final answer. Verify that each finding names a real file and line in the repo before reporting it.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "Codex runs in read-only mode by default, and a long review can take 10 or more minutes, so the example sets --timeout 1200.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "shell",
 "requirements": [
  "Claude Code (any current version)",
  "Codex CLI installed with `npm i -g @openai/codex` or `brew install codex`",
  "Logged in with `codex login`, confirmed by `codex login status`",
  "A ChatGPT Plus, Pro, or Team plan",
  "macOS or Linux (Windows is not tested)"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/sateezg-codex-bridge/gpt5-diff-review-from-shell/",
 "md": "https://dedupedai.com/use-cases/sateezg-codex-bridge/gpt5-diff-review-from-shell/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/sateezg-codex-bridge--gpt5-diff-review-from-shell.json",
 "api_version": "v1"
}
