Codex

Guides to OpenAI Codex across its terminal CLI, IDE extension, desktop app and cloud tasks. Each one is written from OpenAI’s own documentation and pricing pages and states the Codex version or docs date it reflects.

Black curly braces on a light grid around three stacked slanted bars, the middle one mint
Codex ·

Codex skills: where they live, how to call and install them

Where Codex loads SKILL.md folders from, how $skill and /skills work, and how to install or turn off a skill.

Three Codex configuration profiles shown as stacked terminal cards with chevrons and cursor bars on a pale Hilt grid.
Codex ·

Codex configuration profiles: switch setups with --profile

Create named Codex profile files, select them with --profile, check precedence and migrate the pre-0.134.0 format.

A non-interactive Codex event stream passes through three bracketed terminal cards into a mint output file on a pale technical grid.
Codex ·

Codex exec non-interactive: JSON output, schemas and resume

Run Codex from scripts with read-only or write sandboxes, JSONL events, schema-checked output and resumable sessions.

Abstract terminal controls with three slider rails between black brackets on a paper grid.
Codex ·

Codex CLI customization: themes, completions and editor

Tune the Codex terminal with themes, shell completions, a long-prompt editor and the commands that expose session state.

Two opposing chevrons frame a four-pane window and terminal cursor in mint, paper and ink
Codex ·

Codex CLI on Windows: native sandbox or WSL2?

Choose native Windows or WSL2 for Codex CLI, then verify the sandbox, paths and installation.

Three dark panels split by two mint seams: white chevrons with a mint underscore, square brackets around three stacked bars with the middle one mint, and curly braces around short grey lines and a mint cursor
Codex ·

Codex CLI vs Codex app vs IDE extension: which surface to use

CLI, ChatGPT desktop app or IDE extension for Codex: what each does, how to update, Linux preview and what changed.

Dark brackets around a mint-striped band on a pale grid.
Codex ·

Codex: dangerously skip permissions and safer modes

The real Codex flag is --dangerously-bypass-approvals-and-sandbox (--yolo). Safer modes that keep the sandbox.

Four angle chevrons pointing right on a dark grid, the last one mint, with a mint cursor bar below them
Codex ·

Codex hooks: hooks.json, events, Stop hooks and trust

Codex hooks run commands at events like PreToolUse and Stop, from hooks.json or config.toml, once trusted in /hooks.

A row of chevrons ending in a mint chevron and a cursor bar
Codex ·

What is Codex: OpenAI's coding agent, CLI, IDE and cloud

OpenAI's coding agent in the terminal, IDE, desktop app and cloud: plans, install, sign-in, models and sandbox.

The section covers installing and signing in, how Codex usage is counted against a ChatGPT plan or an API key, sandbox and approval modes, AGENTS.md project instructions, MCP servers, skills and hooks. It also answers the questions people ask before choosing a plan, such as what each tier includes and how the five-hour and weekly windows work. Current prices for every Codex plan are tracked in the plans tracker.

Aftergradient

What are you looking for?

Search commands, errors, tools