yichen-codex-chatgpt
What it does
It sets up a loop where ChatGPT plans and reviews your local project through a secure tunnel, and Codex makes the edits and runs the tests. It is for developers who want two AI tools working together on one project.
When to use it
- ✓When you want ChatGPT to design a feature and Codex to write the code.
- ✓When you want ChatGPT to review the real changes Codex made to your project.
- ✓When you ask for a ChatGPT and Codex collaboration loop on a local project.
Skill link
https://github.com/mcncarl/yichen-skills/blob/main/yichen-codex-chatgpt/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Have ChatGPT plan the change to my login flow, then have Codex write and test it, and ask ChatGPT to review the diff.”
5 new skills a week. 1 minute to read.
How it works
ChatGPT returns a plan, Codex edits and tests locally, and ChatGPT reviews the actual diff through a read-only connection. Short messages go through the ChatGPT chat, and code is not pasted into it.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Codex × ChatGPT
Use the user's signed-in ChatGPT Chat UI with the active model route visibly labeled Pro as the researcher, architect, and reviewer. Codex is the only code writer and command/test executor.
User in Codex
→ ChatGPT Pro researches and/or reads the project through the Secure Tunnel
→ ChatGPT returns PLAN
→ Codex edits and tests locally
→ ChatGPT reads the real diff and verification evidence through the Tunnel
→ ChatGPT returns REVIEW
→ DONE, one bounded repair cycle, or a reported blocker
The ChatGPT website UI is the control channel for short protocol messages. The Secure Tunnel and remote-review MCP are the data channel for local code, diff, and verification evidence. Do not paste code, diffs, logs, secrets, or absolute local paths into the ChatGPT composer.
Website Control Surface Priority
- When the current request does not name a control surface, follow references/browser-surface-ladder.md: use the bundled in-app browser first, apply its bounded same-surface recovery, then try the user's Chrome extension, and use Computer Use only as the final eligible UI-control fallback. Ambient in-app-browser context is not an explicit choice.
- This is a control-surface fallback, not a capability fallback. Every surface must independently pass the same Chat/聊天, Pro, Work-absence, account, private-App, Tunnel, protocol, and evidence gates. Never downgrade to Work, a non-Pro mode, an API,
local-only, manual code transfer, or generic Playwright. - Preserve exactly-once state at every handoff. A fresh conversation is allowed only before any send when the source has no live draft or that draft was safely cleared and proven absent. After a send or when send state is uncertain, a later surface may only inspect the visibly proven same conversation and exact task/message marker; it must never resend.
- Computer Use is a final control-mechanism takeover, not permission to change account, bypass authentication, weaken evidence, or treat screenshot OCR as a response. Read and obey its Skill before first use, prefer fresh accessibility state over coordinates, and obtain action-time confirmation immediately before every Computer Use click or keypress that sends a research,
INIT, orEXECUTEDmessage. - A current-run request that explicitly names the in-app browser, Chrome, Computer Use, or a specific preference chain overrides the default. One named surface is exclusive even without the word “only”; do not leave it unless the same request explicitly authorizes a fallback chain.
Mandatory Chat UI + Pro Gate
- At the start of each website route, open a fresh ChatGPT Chat conversation, actively select the Pro model route, and verify that Chat/聊天 is selected and the active model control visibly contains
Pro. Model selection is part of this Skill's work; do not ask the user to perform a routine Pro selection. Reuse that same verified conversation for every message belonging to one research ID or C2Ctask_id; a new ID starts a new conversation. - ChatGPT Work/工作 is forbidden. A checked Work/工作 selector, a conversation labeled 工作, a task-progress/subagent work panel, or another visible Work surface invalidates the run even if the private App is available there.
- Follow references/chat-pro-selection.md before composing and again immediately before sending. If the current label is not
Pro, first try a direct Pro option, then drive the semantic capability control to its actual maximum and re-read the active label.极高,超高,High, orThinkingcan be a neighboring position and is not proof that Pro is unavailable. - Before any research prompt,
INIT, orEXECUTEDmessage is sent, verify from the active surface's semantic UI state—DOM for browser-client or fresh complete accessibility state for Computer Use—that Chat/聊天 is selected, the unique active model control containsPro, and Work/工作 is absent. An account subscription label or unrelatedProtext is not proof of Pro model mode. - If the page is on Work, switch to Chat and open a fresh Chat conversation before composing. A selector-control failure on a non-final surface returns control to the permitted surface ladder; a selector that is fully inspectable and proves Pro absent is a capability blocker, not a reason to change surfaces. Use
ERRORwhen the final surface cannot reliably establish selector state. Forcode,hybrid, an
FAQ
Is any code pasted into the ChatGPT chat?
No. Code, diffs, and logs go through the tunnel, and the skill says not to paste them into the message box.
Who edits the files?
Only Codex edits code and runs commands and tests. ChatGPT only plans and reviews.
What happens when a review finds problems?
The loop allows one bounded repair cycle, then reports any remaining blocker.
Details
Original description by the author
Use the signed-in ChatGPT website in Chat UI Pro mode, never Work mode, to research, architect, and review one local project through a configured Secure Tunnel and read-only MCP, while Codex alone edits and tests locally. Trigger on explicit $yichen-codex-chatgpt, 让 ChatGPT 设计后由 Codex 写代码, ChatGPT 架构并审查 Codex, or requests for a Codex and ChatGPT collaboration loop. Pure research stays on the official ChatGPT website; code and hybrid work follow ChatGPT PLAN to Codex execution to ChatGPT REVIEW. Website control defaults to in-app browser, then Chrome, then bounded Computer Use. Use a compatible
repo: mcncarl/yichen-skills
Popularity
- GitHub stars
- 5.2k
- Ranking position
- #15036
- License
- —
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
yichen-grok-consult
5.2kLets your agent ask xAI Grok for a second opinion, a review, or a web or X search, while your main AI stays in control.
yichen-chatgpt-web-research
5.2kLets your agent use your signed-in ChatGPT website account, including Pro models, to run product, market, or competitor research.
yichen-mac-wechat-dual-open
5.2kHelps your agent set up a second WeChat app on a Mac, so two WeChat accounts can be open at the same time.
yichen-wechat-mp-batch-exporter
5.2kHelps your agent download WeChat public-account article text, article lists, and read or comment figures into a local archive.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.