Skip to content

Add codex-advisor plugin for a GPT second opinion - #255

Merged
fcakyon merged 3 commits into
mainfrom
codex-advisor-plugin
Jul 24, 2026
Merged

Add codex-advisor plugin for a GPT second opinion#255
fcakyon merged 3 commits into
mainfrom
codex-advisor-plugin

Conversation

@fcakyon

@fcakyon fcakyon commented Jul 24, 2026

Copy link
Copy Markdown
Owner

The built-in advisor only pairs Claude with Claude, so the second opinion always comes from the same model family that wrote the plan. This plugin routes that review to GPT instead.

  • ask for it in Claude Code and the recent conversation rides along, up to 80 turns, nothing to paste
  • the answer opens with one word, proceed, proceed-with-changes, or reconsider, then ranked risks
  • Codex, Cursor, and Gemini reach the same reviewer through the skill
  • the reviewer is read-only and sandboxed, it cannot touch your files
  • needs the Codex CLI installed and signed in
$ printf 'Store session tokens in localStorage for a banking dashboard?' | node scripts/ask_codex.mjs

reconsider

- XSS can read localStorage, letting attackers steal session tokens ...

Why a plugin and not just pointing the built-in advisor at GPT: the advisor runs server-side, so the call never reaches your machine. A hook on matcher .* logged only Bash while an advisor call ran, which rules out intercepting it locally.

Set CODEX_ADVISOR_MODEL to pick a different reviewer, which matters inside Codex where the host model would otherwise review its own work.

Routes a second opinion to GPT through the Codex CLI, with the recent conversation staged for the reviewer.
@fcakyon fcakyon self-assigned this Jul 24, 2026
Names Fatih C. Akyon on the three plugin manifests and the marketplace entry.
Cuts the plugin paragraph from 64 words to 46.
@fcakyon
fcakyon merged commit a7a537f into main Jul 24, 2026
2 checks passed
@fcakyon
fcakyon deleted the codex-advisor-plugin branch July 24, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant