01 / Intro
Qué es Codex
Codex is OpenAI's coding agent. It can run locally through Codex CLI, work in an IDE, or run as Codex Web in ChatGPT. Use it for reading code, planning changes, fixing bugs, writing tests, and preparing PR notes.
02 / Setup
Instalación
curl -fsSL https://chatgpt.com/codex/install.sh | shnpm install -g @openai/codexbrew install --cask codexRun codex, then choose Sign in with ChatGPT. API-key auth is also available for advanced users.
03 / Workflow
Flujo recomendado por 808
- Ask Codex to read first, without editing.
- Ask for a plan listing files, risks, and verification steps.
- Let it make one small change at a time.
- Run tests, lint, and build before calling the task done.
- Ask for a delivery summary with changes, checks, and remaining risks.
04 / Guardrails
Seguridad y permisos
Do not paste secrets
Never paste API keys, passwords, payment data, or customer private data. Share variable names only.
Fuentes oficiales
Basado en el README de OpenAI Codex en GitHub y la documentación de OpenAI Developers. Verifica la versión oficial más reciente antes de usar estos comandos.