Codex Pro Bridge is built for work that moves back and forth between algorithm design, research reasoning, and engineering implementation.
Codex and GPT Pro are both useful, but they are useful in different places and at different speeds.
Codex belongs close to the local repository. It can read files, change code, run tests, inspect logs, and check whether a proposal actually matches the current implementation.
GPT Pro is better suited to slower external reasoning: challenging an algorithm, mapping failure modes, designing ablations, planning experiments, framing a paper, or trying to disprove an idea.
The fragile part is the handoff between them.
Without a bridge, the workflow becomes a loop through the repository, Codex, and a browser, held together by manual copy and paste.
The external model does not automatically know the repository state, current implementation, local experiments, or decisions already made by Codex.
Providing that context quickly becomes a choice between too little and too much.
Too little context produces confident advice about code the reviewer never saw. Too much context is noisy, expensive to inspect, hard to update, and more likely to include unrelated or sensitive material.
The handoff creates several kinds of loss:
- Attention loss: work repeatedly switches between the repository, Codex, and the browser.
- Structure loss: prompts, files, assumptions, follow-ups, and decisions scatter as they are copied between tools.
- Reproducibility loss: later it becomes difficult to know exactly what evidence GPT Pro reviewed.
- State drift: the web conversation continues while the repository, experiments, and implementation change underneath it.
- Implementation loss: a useful algorithm or research idea never makes it back into tests, configs, logs, and working code.
In one round, these are workflow frictions. Across several rounds, they make the review difficult to reuse, audit, or implement.
The missing piece is not another chat window. It is a reproducible handoff between local execution and external reasoning.
Codex Pro Bridge is not an API client, and it does not let GPT Pro edit local files directly.
It is a local workflow layer made of Codex skills and helper scripts. It turns a GPT Pro web review into engineering material that can be reused, traced, and connected back to the real repository.
The workflow is:
- Codex routes the request to local work, a standalone review, or the repository's bound ChatGPT Project.
- Codex writes local notes for one concrete task.
- Codex builds a bundle with an explicit evidence boundary.
- GPT Pro reviews that scoped material in the correct web conversation.
- Codex saves the complete answer, summarizes it, and verifies actionable claims locally.
- The same task continues into implementation, experiments, or another focused review round.
On Codex desktop, the bridge releases the browser after Send and follows the exact ChatGPT conversation and turn through native reads when available. An optional one-shot heartbeat stays quiet while pending and is cleaned up on completion, failure, or timeout; truncated native output falls back to a newly leased browser capture of the same turn.
sequenceDiagram
participant C as Codex
participant B as Bridge
participant G as GPT Pro Web
C->>B: Resolve local, standalone, or Project route
B->>B: Verify binding and shared sources when Project-bound
B-->>C: Thread + conversation + evidence policy
C->>C: Inspect repository and write codex-snapshot
C->>G: Evidence-bounded bundle + focused question
G-->>C: External review
C->>C: Save gpt-exchange and record codex-verdict
C->>C: Implement, experiment, or continue the same task
The goal is to make the loop reusable, auditable, and implementable. Codex remains the source of truth; GPT Pro remains an external reviewer.
Each task uses one bridge thread so the evidence, external review, local verdict, implementation, and later follow-ups remain connected.
The same task protocol supports three execution scopes:
| Scope | Shape | Best for |
|---|---|---|
local_only |
Codex works directly | Work that needs no external review |
standalone |
One Bridge Thread and one GPT conversation | Small projects and one-off reviews |
project |
One repository-bound Project with many task Threads | Long-running research with shared sources and several conversations |
Project mode is an optional layer above the original Bridge Thread workflow. It is useful when one repository has several durable tasks, several GPT conversations, and a set of background files that should be shared between them. Small projects can stay standalone.
flowchart TB
LR["Local repository"] --> BP["Bridge Project"]
BP ==>|verified one-to-one binding| CP["ChatGPT Project"]
BP --> PS["Project Sources<br/>stable shared context"]
BP --> T1["Bridge Thread A<br/>task identity"]
BP --> T2["Bridge Thread B<br/>task identity"]
T1 --> A1["Codex snapshots<br/>Task Bundles<br/>Codex verdicts"]
T2 --> A2["Codex snapshots<br/>Task Bundles<br/>Codex verdicts"]
T1 ==>|primary conversation| G1["GPT Conversation A"]
T2 ==>|primary conversation| G2["GPT Conversation B"]
PS -. shared with .-> G1
PS -. shared with .-> G2
The relationship is intentionally narrow: one local root has at most one Bridge Project, and one Bridge Project has at most one current ChatGPT Project binding. Titles are only display metadata; the bridge verifies the visible Project URL and ID together with the active account and workspace before Project routing becomes active.
Project mode adds the following behavior:
| Capability | Behavior |
|---|---|
| Verified Project binding | Bind an existing ChatGPT Project or create a new one, then verify its visible identity before use |
| Automatic routing | Choose local_only, standalone, or project; block Project submission when the binding or shared sources need repair |
| Shared Project Sources | Synchronize stable material such as a project brief, glossary, PRD, or durable decisions for use across Project conversations |
| Safe source updates | Plan from a complete remote inventory, scan selected files, respect capacity, and modify only Bridge-managed versions |
| Multiple tasks | Keep independent deliverables in independent Bridge Threads and GPT conversations while follow-up rounds reuse the current task |
| Project lifecycle | Track task state and dependencies; attach older standalone Threads; archive, reactivate, unbind, or recover a missing binding without deleting remote content |
| Local audit trail | Keep binding, source, task, and verification events in local append-only state rather than relying on browser memory |
Project Sources and Task Bundles serve different jobs. Stable project context is shared through the ChatGPT Project. Diffs, logs, code slices, experiment results, and one-round questions remain inside immutable Task Bundles, so each review still has an exact evidence boundary.
Source ownership is conservative. Existing remote files, instructions, and
conversations are treated as user-managed. read_only never changes remote
sources, append_only adds new Bridge versions while retaining older ones, and
managed may replace an older Bridge-managed version only after the new one is
visible. None of these modes permits automatic deletion of user-managed
content.
A conversation already bound to the current Bridge Thread is reused. Existing remote Project conversations remain external until the user explicitly adopts one; the bridge does not silently guess between unrelated chats or rebind a saved conversation URL.
The Bridge Thread remains the task identity, so Project mode does not add a duplicate Workstream layer. Existing standalone history can be attached to a Project later without rewriting old events. Local Bridge state records IDs, digests, statuses, verified observations, and the review artifacts intentionally captured for the task. It does not store browser cookies, access tokens, or unrelated private web responses.
Whatever the scope, the bridge keeps three concerns separate:
- Evidence construction: build the smallest package that can support the decision.
- External reasoning: ask a focused question against exactly that evidence.
- Local verification: check every actionable conclusion before changing code or trusting a result.
| Mode | Use it for | Repository source |
|---|---|---|
auto |
First implementation-heavy round | Select a focus, close conservative local dependencies, then add relevant breadth |
explicit |
Focused follow-up | Send only the files that need another review |
none |
Reasoning-only follow-up | Reuse current notes and task context without resending source |
Auto mode follows definitely-local relative imports for JavaScript/TypeScript and Python. Modern Node source and test files such as .mjs, .cjs, .mts, and .cts are supported.
Follow-up rounds normally reuse current Codex notes and compact task history. Source is added again only when it changed or the reviewer needs to inspect it.
Codex Pro Bridge is useful when the decision benefits from an independent reasoning pass:
- Reviewing an algorithm, training pipeline, reward design, or evaluation method.
- Stress-testing a research claim, paper framing, novelty argument, or reviewer story.
- Turning a proposal into baselines, ablations, metrics, and decision rules.
- Checking whether code, configs, data splits, commands, logs, and reported results agree.
- Carrying a complex review across several rounds without losing provenance.
For a small local bug, formatting change, or straightforward implementation task, Codex should usually work directly in the repository without this bridge.
Before using the bridge for the first time:
- Configure Chrome DevTools MCP on the same host as Chrome, enable remote debugging at
chrome://inspect/#remote-debugging, and restart Codex. - Sign in to ChatGPT with the Chrome profile that DevTools MCP will control.
- Optional fallback: install the Codex extension and enable Allow access to file URLs in its extension details.
These are one-time setup steps. The selected skill checks them again before an external review round.
Repository and compute work may run through SSH while the Bridge controls local Chrome. Stage and digest-verify the approved bundle locally before upload. A Codex process running on a remote SSH host does not automatically inherit the local Chrome session; use the local Bridge dispatcher unless an explicit secure browser connection is configured.
Global installation:
./codex-pro-bridge-skills/install.sh --globalRepository-local installation:
./codex-pro-bridge-skills/install.sh --repo /path/to/repoRestart Codex or open a new task if an existing task does not discover the updated skills.
Use $gpt-pro-question-window.
Route this task automatically and ask GPT Pro:
<question>
Capture the raw answer, verify it locally,
and record a separate Codex verdict.
The skill preserves the existing CLI-style workflow: it chooses a Thread and conversation automatically. It asks for intervention only when a Project must be created, bound, or repaired.
Use $gpt-pro-project-workspace.
Bind this repository to my existing ChatGPT Project,
verify the visible Project/account identity,
and plan stable Project Sources without deleting user-managed files.
This is normally a one-time setup. After the binding is active, ordinary
external questions still begin with $gpt-pro-question-window or one of the
specialized review skills. The router selects Project mode when the current
repository and task already belong there.
Use $gpt-pro-project-workspace.
Inspect the current binding, tasks, and Project Sources.
Refresh these stable sources:
<files>
Preview the plan first, and do not delete user-managed content.
The same skill can update task metadata, reconcile missing or stale sources, archive or reactivate the local Bridge Project, and repair a binding after the remote Project becomes visible again.
Use $gpt-pro-algorithm-pipeline.
Run the Codex -> GPT Pro -> Codex loop for:
<task>
Keep one bridge thread, send only scoped evidence,
and implement only locally verified changes.
More examples are available in examples/usage_prompts.md.
| Skill | Purpose |
|---|---|
coordinate-auto-research |
Coordinate Auto Research roles, Research Lines, local Chats, Web conversation lineages, Handoff, and Settlement |
gpt-pro-project-workspace |
Bind, route, synchronize, inspect, and repair Project-aware work |
gpt-pro-question-window |
Ask a normal question or continue an existing external review |
gpt-pro-review-probe |
Fast lane for high-frequency, fine-grained, parallel standalone review of one idea, proposal, or atomic task |
bundle-algorithm-context |
Build a scoped evidence package for a source-backed round |
gpt-pro-research-algorithm-reviewer |
Review algorithms, pipelines, experiments, and research claims |
gpt-pro-paper-brainstormer |
Develop paper framing, novelty, objections, and experiment story |
experiment-plan-generator |
Convert an idea or review into an experiment matrix |
implementation-consistency-checker |
Check consistency across proposal, code, configs, data, evaluation, and results |
gpt-pro-algorithm-pipeline |
Run the complete evidence, review, verification, experiment, and implementation loop |
Use $experiment-plan-generator and $implementation-consistency-checker locally when outside reasoning is unnecessary.
- Workflow overview
- Auto Research skill optimization
- Canonical bridge protocol
- Bridge Project protocol
- Evidence bundle schema
- AGENTS.md integration snippet
Thanks to the Linux.do community for its discussions, feedback, and support.