# Codex with ChatGPT Splits Planning From Execution

> Source: <https://dev.to/dd8888/codex-with-chatgpt-splits-planning-from-execution-3bp2>
> Published: 2026-09-01 19:39:25+00:00

[Codex with ChatGPT](https://github.com/XiaoDuoYa/codex-with-chatgpt), a public GitHub project, routes planning and code review to the ChatGPT web app while retaining Codex as the agent that edits files, runs shell commands and executes tests. For developers, the practical aim is to use an existing ChatGPT web subscription for reasoning without replacing the Codex-based execution harness.

The project describes a local C2C Bridge between ChatGPT and a workspace. Codex and ChatGPT exchange small structured state messages for the plan, execution and review loop, while ChatGPT retrieves repository context through nine read-only MCP tools, including file reads, workspace search, Git status and diffs, and test-status and execution-output records. The README says full file bodies, diffs and logs are not placed in those control-plane messages. [See the project README](https://github.com/XiaoDuoYa/codex-with-chatgpt).

That separation is central to its security design. The repository says the bridge has no write, delete, shell or commit tools, and that sensitive paths such as `.env`

files, keys, SSH material and credentials are denied by default. It also describes workspace-scoped access, OAuth 2.1 protection and one-time pairing codes for the publicly reachable MCP endpoint. These are project claims rather than an independent security assessment. [The stated security model is documented in the README](https://github.com/XiaoDuoYa/codex-with-chatgpt).

Installation is packaged as a Codex Skill, with a manual route that copies the skill into Codex’s skills directory and asks Codex to perform first-time setup. The project requires Git, Node.js 20 or later and `cloudflared`

for its public connection; it says users may need to sign in to ChatGPT and, for an optional stable hostname, authorize Cloudflare and use a domain already managed there. [The installation and hostname flow are specified by the project](https://github.com/XiaoDuoYa/codex-with-chatgpt).

The default connection uses a temporary Cloudflare URL, according to the README. When that address changes after a bridge restart, the project says Codex repairs the ChatGPT connector; a stable Cloudflare hostname is presented as an optional way to avoid that repair cycle. [The project describes the temporary and stable tunnel options here](https://github.com/XiaoDuoYa/codex-with-chatgpt).

**Analysis:** This is a narrow integration pattern, not evidence that splitting planning from execution produces better code. Its appeal is architectural: it gives a web-based planner access to selected live workspace evidence while keeping side effects in the coding harness. But the arrangement also adds a tunnel, OAuth pairing, connector configuration and another failure boundary to a development workflow. The read-only policy can limit what ChatGPT can do directly, yet developers still need to decide whether the allowed source context is appropriate to expose through the bridge. The project is explicitly an unofficial community effort, not an OpenAI-endorsed Codex integration. [Its status and disclaimer are in the README](https://github.com/XiaoDuoYa/codex-with-chatgpt).
