codex-with-chatgpt
यह क्या करती है
यह स्किल वेब पर ChatGPT को Codex कोडिंग सत्रों के लिए योजना और समीक्षा साथी के रूप में जोड़ती है। बदलाव और कमांड Codex ही करता है। यह उन डेवलपर्स के लिए है जो दोनों टूल एक साथ इस्तेमाल करते हैं।
कब इस्तेमाल करें
- ✓जब आप चाहते हैं कि Codex बदलाव करने से पहले ChatGPT किसी कोडिंग कार्य की योजना बनाए।
- ✓जब आप चाहते हैं कि Codex के किए बदलाव की समीक्षा ChatGPT करे।
- ✓जब आप मौजूदा प्रोजेक्ट से ChatGPT को जोड़ना या हटाना चाहते हैं।
Skill का लिंक
https://github.com/XiaoDuoYa/codex-with-chatgpt/blob/main/skill/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप ChatGPT को इस प्रोजेक्ट से जोड़ सकते हैं, ताकि आप कोडिंग करते रहें और वह अगले फ़ीचर की योजना बना सके?”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 1/10/2026
कमेंट
- …
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।