codex-with-chatgpt
하는 일
이 스킬은 웹의 ChatGPT를 Codex 코딩 세션의 계획 및 검토 파트너로 연결합니다. 편집과 명령 실행은 여전히 Codex가 합니다. 두 도구를 함께 쓰는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓Codex가 변경하기 전에 ChatGPT가 코딩 작업을 계획하게 하고 싶을 때.
- ✓Codex가 만든 변경을 ChatGPT가 검토하게 하고 싶을 때.
- ✓현재 프로젝트에 ChatGPT를 연결하거나 연결을 끊고 싶을 때.
스킬 링크
https://github.com/XiaoDuoYa/codex-with-chatgpt/blob/main/skill/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“ChatGPT가 다음 기능을 계획할 수 있도록 이 프로젝트에 연결해 주실 수 있나요? 그 사이에도 코딩은 계속해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 ChatGPT가 프로젝트를 읽을 수 있도록 안전한 연결을 설정합니다. 그러면 ChatGPT가 계획과 검토 조언을 주고, Codex가 작업을 수행합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Codex with ChatGPT
ChatGPT thinks. Codex works.
You (Codex) own execution: editing, shell, git, tests, recovery. ChatGPT owns high-level reasoning: understanding, planning, review, debug strategy. The C2C Bridge gives ChatGPT read-only MCP access to the current workspace, so control messages between you and ChatGPT stay tiny (< 1 KB) — ChatGPT pulls whatever data it needs by itself.
Golden rules
- NEVER paste file contents, diffs, or logs into ChatGPT. ChatGPT reads them through MCP.
- NEVER show the user technical internals (MCP, OAuth, PKCE, tunnel, ports, localhost). Speak in terms of "连接 ChatGPT / 安全连接 / 配对". The only exception is the guided manual ChatGPT setup below: expose only the exact settings field labels/values the user must enter, without explaining internals.
- The pairing code is the ONLY credential you may ever type into a browser. Never touch OAuth tokens, cookies, or session storage.
- If something fails, run
c2c doctorand repair silently. Only involve the user for logins, CAPTCHA, 2FA, explicit consent screens, or guided manual ChatGPT setup below — and then give them ONE action. Before the first ChatGPT connection on this machine,c2c prefs --json:setupModemissing: tell the user exactlysetupChoicePrompt, wait for 「1」or「2」, thenc2c prefs set --setup-mode auto|manual --json. Do not start ChatGPT configuration until they answer. Do not guess.setupModeismanual: skip automatic ChatGPT settings. Use guided manual from the start (chosen, not a failure).setupModeisauto: automatic browser setup. Two explicit failures of the same configuration step after repair then enter guided manual. A browser/js timeout, a page still loading/generating, or waiting for user login/2FA does NOT count as a failure. Do not change the savedsetupModewhen falling back.developerModeEnabled: truemeans skip#settings/Securityuntil a connector create fails because developer mode is required. Then open that page, enable it, andc2c prefs set --developer-mode --json. These prefs are for this machine, not per workspace. Do not ask again on reconnect or a second repo. A new computer (empty prefs) asks/checks once.
- ALWAYS use the built-in in-app browser (iab) for every ChatGPT step.
Follow In-app browser (ChatGPT) below. NEVER Computer Use (no
screenshot-click). NEVER launch or control a third-party/external browser
(Chrome, Safari, Edge…), and never use
open <url>to hand off to one.- The ONLY exception: the user explicitly says the Cloudflare login must use their own browser session — that single Cloudflare login step may go through their browser; everything else stays in the built-in browser.
- If the user asks to run ChatGPT in their own browser, refuse politely and explain: "Codex 需要持续调用 ChatGPT 和配置连接,这会频繁操作页面,可能影响 你浏览器的正常使用。ChatGPT 只能跑在内置浏览器里。" Only if the user replies with an explicit "我愿意承担影响" may you proceed in their browser; otherwise keep ChatGPT in the built-in browser, every time they ask.
- Conversation reuse depends on
c2c session --json→conversation.mode(see Conversation management). Do not invent a second mode.- long-chat (legacy session file, or the user opted out): ONE ChatGPT conversation per workspace. Never silently start a new chat.
- project (new workspaces, or an existing workspace that opted in):
ONE ChatGPT Project (collection) per workspace. Same Codex conversation
reuses the ChatGPT chat URL saved in THIS thread. A new Codex
conversation opens a new chat from the Project collection page — never
gotohttps://chatgpt.com/to create it, and never reuse another Codex conversation's chat URL just becausesession.urlexists. Each workspace also has exactly ONE ChatGPT connector. Do not create a second connector for the same workspace. Other workspaces may have their own connectors — never edit those.
- After first-time setup, never ask the user to approve writing C2C's local
settings directory. Run
c2c sandbox-allow --json(idempotent). If it fails with EPERM / Operation not permitted, request elevated permissions and retry ONCE. After{ "alreadyAllowed": true }or{ "added": true }, stay silent. - ChatGPT pages: only the URLs in In-app browser (ChatGPT). Never start from chatgpt.com and click through menus.
- **Doc
자주 묻는 질문
ChatGPT가 내 파일을 편집하나요?
아니요. ChatGPT는 연결을 통해 프로젝트를 읽기만 하고, 편집은 모두 Codex가 합니다.
직접 해야 할 일은 무엇인가요?
ChatGPT에서 로그인하거나, 페어링 코드를 확인하거나, 설정 선택을 마쳐야 할 수 있습니다.
나중에 연결을 끊을 수 있나요?
네. 이 스킬은 현재 작업 공간에서 ChatGPT 연결을 끊을 수 있습니다.
상세 정보
작성자의 원본 설명
Use ChatGPT (web) as the planning and review brain for Codex coding sessions, while Codex keeps full execution ownership. Use when the user says "使用 Codex with ChatGPT ..." / "Set up Codex with ChatGPT" / "用 ChatGPT 规划", when they ask to connect ChatGPT to the current workspace, disconnect it, or run a task through the ChatGPT planning loop.
인기도
- GitHub 스타
- 7.6k
- 순위
- #13119
- 라이선스
- MIT
- 업데이트
- 2026. 10. 1.
댓글
- …
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.