跳到正文
Skillpedia
智能体5.2k · #15036

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mcncarl/yichen-skills/blob/main/yichen-codex-chatgpt/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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, or EXECUTED message.
  • 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 C2C task_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, or Thinking can be a neighboring position and is not proof that Pro is unavailable.
  • Before any research prompt, INIT, or EXECUTED message 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 contains Pro, and Work/工作 is absent. An account subscription label or unrelated Pro text 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 ERROR when the final surface cannot reliably establish selector state. For code, 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能