yichen-codex-chatgpt
它能做什么
它设置一个循环:ChatGPT 通过安全隧道规划并审阅你的本地项目,Codex 负责编辑并运行测试。适合希望两个 AI 工具共同完成同一个项目的开发者。
适用场景
- ✓当你想让 ChatGPT 设计功能、由 Codex 编写代码时。
- ✓当你想让 ChatGPT 审阅 Codex 对项目所做的真实改动时。
- ✓当你要求在本地项目上进行 ChatGPT 与 Codex 协作循环时。
技能链接
https://github.com/mcncarl/yichen-skills/blob/main/yichen-codex-chatgpt/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请让 ChatGPT 规划对我登录流程的改动,然后让 Codex 编写并测试,再请 ChatGPT 审阅差异(diff)。”
每周 5 个新技能,1 分钟读完。
工作原理
ChatGPT 返回计划,Codex 在本地编辑并测试,ChatGPT 通过只读连接审阅实际的差异。简短的消息通过 ChatGPT 聊天发送,代码不会粘贴到聊天中。
技术内容(原始 SKILL.md)
作者在 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
常见问题
代码会被粘贴到 ChatGPT 聊天中吗?
不会。代码、差异和日志通过隧道传输,该技能规定不要把它们粘贴到输入框中。
谁来编辑文件?
只有 Codex 编辑代码并运行命令和测试。ChatGPT 只负责规划和审阅。
审阅发现问题时会怎样?
循环允许一次有限的修复,之后会报告仍然存在的阻碍。
详情
作者的原始描述
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
热度
- GitHub 星标
- 5.2k
- 排名
- #15036
- 许可证
- —
- 更新时间
- 2026/11/1
评论
- …
同一仓库的更多技能
yichen-grok-consult
5.2k让你的智能体向 xAI Grok 征求第二意见、审阅内容,或进行网页或 X 搜索,同时主 AI 仍掌握控制权。
yichen-chatgpt-web-research
5.2k让你的智能体使用你已登录的 ChatGPT 网站账户(包括 Pro 模型)进行产品、市场或竞争对手研究。
yichen-mac-wechat-dual-open
5.2k帮你的智能体在 Mac 上设置第二个 WeChat 应用,让两个 WeChat 账号可以同时打开。
yichen-wechat-mp-batch-exporter
5.2k帮你的智能体下载 WeChat 公众号文章的正文、文章列表,以及阅读量和评论数,并保存到本地归档。