What it does
ChatGPT thinks. Codex works. Use ChatGPT as the planning brain while keeping the Codex harness.
- Connects Instruction files the AI reads; connects to nothing
- Account or key No key needed
- Category Automatización y agentes
Para autores: añade una insignia a tu README
Si lo creaste tú, pega este código en tu README. La insignia enlaza a esta página.
[](https://mcp.popnx.com/en/skills/xiaoduoya-codex-with-chatgpt)Skills parecidas
Mismo tipo de trabajo, ordenadas como la lista de Skills
1 skills (conjuntos de instrucciones) de XiaoDuoYa que la IA lee y sigue · no es un MCP server
En qué se diferencia un Skill de MCP
MCP = las manos
Conecta la IA a un servicio o dato externo, como leer Notion o crear una factura. Necesita un programa o servidor en marcha.
Skill = el manual
Un archivo de texto que enseña a la IA cómo hacer una tarea. No se conecta a nada.
A veces se parecen: algunas Skills ejecutan scripts que llaman herramientas y algunos MCP solo envían conocimiento. Empieza por la tarea que quieres hacer.
Funciona con
Codex
Según el README del autor y las carpetas del repo
Instalar
Is it safe?
- Who made it
GitHub account XiaoDuoYa (person), 4 years old
- Use and upkeep
★ 7718 stars · code last changed 1 oct 2026
- Any scripts?
No, plain text files the AI reads and follows
- Uses the internet?
No scripts, so it does not go online by itself
- Changes machine-wide settings?
No hooks or writes to machine settings found
Checked automatically from the repo files at commit 535a07d (read only, nothing was run). Not a safety guarantee: read it and decide for yourself
Primero: ¿qué IA usas?
Elige tu app y esta página mostrará solo cómo instalarlo en ella
Option 1Upload to claude.ai (web and app)
Uploading to claude.ai would fail: the description is over 200 characters (343). Use "Let the AI install it" instead
Option 1Deja que Claude Code lo instale
Copia esta frase y pégala en un chat de Claude Code
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Vuelve a abrir Claude Code y escribe /skill, o pide una tarea relacionada y Claude lo usará
Checked against official docs 12 nov 2026 · Source: code.claude.com
For Terminal users
Un Skill son instrucciones que la IA seguirá. Lee los archivos antes de instalar e instala solo de autores de confianza.
Abre la Terminal
Mac: pulsa Command+Espacio y escribe Terminal · Windows: el comando no funciona en PowerShell; usa «Que la IA lo instale» arriba
Copia la carpeta del skill a ~/.claude/skills
Descarga el repo a una carpeta temporal y copia solo las carpetas con SKILL.md
git clone --depth 1 https://github.com/xiaoduoya/codex-with-chatgpt.git /tmp/popnx-skill-xiaoduoya-codex-with-chatgpt-535a07d && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill-xiaoduoya-codex-with-chatgpt-535a07d/skill' ~/.claude/skills/skillVuelve a abrir Claude Code y escribe /skill, o pide una tarea relacionada y Claude lo usará
App de escritorio de ChatGPT
La app de escritorio de ChatGPT incluye Codex, y Codex lee las skills de la carpeta ~/.agents/skills
Option 1Deja que ChatGPT lo instale
Abre Codex en la app de escritorio de ChatGPT y pega esta frase en el chat
The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Option 2Coloca la carpeta tú mismo
Coloca la carpeta codex-with-chatgpt en ~/.agents/skills/codex-with-chatgpt
~ es tu carpeta de inicio ($HOME)
For Terminal users
Un Skill son instrucciones que la IA seguirá. Lee los archivos antes de instalar e instala solo de autores de confianza.
Abre la Terminal
Mac: pulsa Command+Espacio y escribe Terminal · Windows: el comando no funciona en PowerShell; usa «Que la IA lo instale» arriba
Copia la carpeta del skill a ~/.agents/skills
Descarga el repo a una carpeta temporal y copia solo las carpetas con SKILL.md
git clone --depth 1 https://github.com/xiaoduoya/codex-with-chatgpt.git /tmp/popnx-skill-xiaoduoya-codex-with-chatgpt-535a07d && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-xiaoduoya-codex-with-chatgpt-535a07d/skill' ~/.agents/skills/skill
Después de instalar
- App de escritorio de ChatGPT: abre Skills en la barra lateral para ver que la skill está
- Para usarla: en ChatGPT escribe @ y elige la skill · en Codex CLI o la extensión del IDE ejecuta /skills o escribe $ y el nombre de la skill
- Codex detecta solo las skills recién instaladas; si una no aparece, reinicia Codex
Checked against official docs 15 nov 2026 · Source: learn.chatgpt.com
ChatGPT en la web y el móvil
Las skills que instalas tú no funcionan aquí; solo las que vienen con un plugin del directorio
Para usar esta skill con ChatGPT, usa la app de escritorio de ChatGPT como se indica arriba
Checked against official docs 15 nov 2026 · Source: learn.chatgpt.com
Option 1Deja que Codex lo instale
Copia esta frase y pégala en un chat de Codex · Sirve en Codex dentro de la app de escritorio de ChatGPT, en Codex CLI y en la extensión del IDE
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Codex detecta solo las skills recién instaladas; si una no aparece, reinicia Codex · Para usarla: en ChatGPT escribe @ y elige la skill · en Codex CLI o la extensión del IDE ejecuta /skills o escribe $ y el nombre de la skill
Checked against official docs 15 nov 2026 · Source: learn.chatgpt.com
For Terminal users
Un Skill son instrucciones que la IA seguirá. Lee los archivos antes de instalar e instala solo de autores de confianza.
Abre la Terminal
Mac: pulsa Command+Espacio y escribe Terminal · Windows: el comando no funciona en PowerShell; usa «Que la IA lo instale» arriba
Copia la carpeta del skill a ~/.agents/skills
Descarga el repo a una carpeta temporal y copia solo las carpetas con SKILL.md
git clone --depth 1 https://github.com/xiaoduoya/codex-with-chatgpt.git /tmp/popnx-skill-xiaoduoya-codex-with-chatgpt-535a07d && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-xiaoduoya-codex-with-chatgpt-535a07d/skill' ~/.agents/skills/skillVuelve a abrir Codex y pide una tarea relacionada; Codex mostrará el skill
Option 1Deja que Cursor lo instale
Copia esta frase y pégala en un chat de Cursor
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
En el chat Agent de Cursor escribe / y elige skill
Checked against official docs 12 nov 2026 · Source: cursor.com
For Terminal users
Un Skill son instrucciones que la IA seguirá. Lee los archivos antes de instalar e instala solo de autores de confianza.
Abre la Terminal
Mac: pulsa Command+Espacio y escribe Terminal · Windows: el comando no funciona en PowerShell; usa «Que la IA lo instale» arriba
Copia la carpeta del skill a ~/.cursor/skills
Descarga el repo a una carpeta temporal y copia solo las carpetas con SKILL.md
git clone --depth 1 https://github.com/xiaoduoya/codex-with-chatgpt.git /tmp/popnx-skill-xiaoduoya-codex-with-chatgpt-535a07d && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill-xiaoduoya-codex-with-chatgpt-535a07d/skill' ~/.cursor/skills/skillEn el chat Agent de Cursor escribe / y elige skill
Option 1Let the AI install it
Para otras apps que leen skills. La frase incluye las rutas de Claude Code, Codex y Cursor para que la IA elija la de tu app · Copy this sentence into the app’s chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Checked against official docs 12 nov 2026 · Source: code.claude.com, learn.chatgpt.com, cursor.com
For Terminal users
Otras apps con Agent Skills (como Gemini CLI o GitHub Copilot) usan otras carpetas. Mira la guía de esa app y copia allí la carpeta con el SKILL.md.
Carpetas de skills comprobadas con las guías oficiales de Claude Code, Codex y Cursor el 11 nov 2026
✓ Comandos revisados el 16 nov 2026
Ver el SKILL.md original
El texto siguiente viene del repo del autor, no de PopNx MCP
Se muestran los primeros 8000 caracteres · Abrir el archivo completo en GitHub
---
name: codex-with-chatgpt
description: >
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.
---
# 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**
1. NEVER paste file contents, diffs, or logs into ChatGPT. ChatGPT reads them through MCP.
2. 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.
3. The pairing code is the ONLY credential you may ever type into a browser.
Never touch OAuth tokens, cookies, or session storage.
4. If something fails, run `c2c doctor` and 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`:
- `setupMode` missing: tell the user exactly `setupChoicePrompt`, wait for
「1」or「2」, then `c2c prefs set --setup-mode auto|manual --json`.
Do not start ChatGPT configuration until they answer. Do not guess.
- `setupMode` is `manual`: skip automatic ChatGPT settings. Use guided
manual from the start (chosen, not a failure).
- `setupMode` is `auto`: 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 saved
`setupMode` when falling back.
`developerModeEnabled: true` means skip `#settings/Security` until a
connector create fails because developer mode is required. Then open
that page, enable it, and `c2c 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.
5. 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.
6. 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
`goto` `https://chatgpt.com/` to create it, and never reuse another
Codex conversation's chat URL just because `session.url` exists.
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.
7. 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.
8. ChatGPT pages: only the URLs in **In-app browser (ChatGPT)**. Never start
from chatgpt.com and click through menus.
9. **Doctor gate.** After `c2c doctor --json`, do not `goto` ChatGPT and do not
send `[C2C]` until local is green — except the reconnect settings pages when
`chatgptRepair.needed` is true. Not green:
- `report.bridge.ok` is not true
- `report.mcp.ok` is not true (unauthenticated local `/mcp` must be 401)
- sandbox / state-dir write failed (EPERM)
- this workspace used to have a public URL and the tunnel is down
- `chatgptRepair.needed` is true (fix the connector first, then doctor again)
- `namedRepair.needed` is true (user must log in to Cloudflare, then doctor again.
Do not Delete the ChatGPT connector — the address did not change)
- `report.bridge` says 状态无法确认: the local bridge may still be running.
Do not `c2c start`, do not Delete the connector, do not treat it as
`chatgptRepair`. Wait and run doctor again.
If doctor is already green and `chatgptRepair.needed` is false, do not
`c2c restart`, do not start a second tunnel, and do not Delete the
connector. ChatGPT/IAB-only errors are not permission to churn the
public address.
A ChatGPT-side 401 after a sent message is different: repair then, do not
treat it as permission to skip this gate next time.
## In-app browser (ChatGPT)
Official skill: `control-in-app-browser`. These C2C rules override defaults
that close the tab, hide the window, or stall on the settings page.
1. **Surface.** Once per Codex session: `setupBrowserRuntime()`, then
`const iab = await agent.browsers.get("iab")`. Reuse `iab`. Do not re-read
`documentation()` if it is already bound. Never `getDefault()`, `getForUrl()`,
or Computer Use.
2. **One tab.** Create the ChatGPT tab once (`tabs.new()`). After that, only
`tab.goto(...)` to switch URLs. If the tab still exists, claim it — never
open a second ChatGPT tab. Do not `goto` the URL you are already on.
3. **Foreground + keep (standby).** Right after opening or claiming the tab:
- `await (await iab.capabilities.get("visibility")).set(true)` — first-time
setup and ChatGPT chatting stay in front of the user so they can watch.
- `await tab.markHandoff()` immediately, then again at the start and end of
every turn. After setup succeeds or the C2C chat is open, also
`await tab.markDeliverable()`.
Never close this tab. Finished, waiting for the user, or timed out: leave it
marked (standby). Do not let default turn cleanup close it.
4. **URLs only** (same tab, `goto` — never hunt menus):
- 开发人员模式: `https://chatgpt.com/#settings/Security`
(skip when `c2c prefs --json` has `developerModeEnabled: true`)
- 插件总管: `https://chatgpt.com/plugins`
- 加插件: `https://chatgpt.com/plugins#settings/Connectors?create-connector=true&redirectAfter=%2Fplugins`
- 新对话 (long-chat only, and only if no saved chat): `https://chatgpt.com/`
- Saved C2C chat: `conversation.chatUrl` / `session.url` (long-chat, or
the chat already bound in THIS Codex conversation)
- Saved Project collection: `conversation.projectUrl`
(`https://chatgpt.com/g/g-p-…/project`)
Never click ReconnectConversación
Pregunta, comparte un consejo o avisa de que no funciona. Ordenado por lo que la gente marcó como útil.
Aún no hay publicaciones. Sé la primera persona en preguntar o compartir.
Lo publicado aquí lo escriben usuarios, no el equipo de PopNx.
Desde GitHub
- Estrellas en GitHub
- 7718
- Autor
- XiaoDuoYa
- Licencia
- MIT
- Último cambio de código
- 1 oct 2026
- Archivos SKILL.md del repo (con traducciones y plantillas)
- 1
- Temas
- ai-agents, chatgpt, codex, mcp, model-context-protocol, oauth