The full list of what setup-codex-env.sh can install.
Core items (1-6) are on by default; opt-ins (7-8) are off by default. In
interactive mode you can toggle any combination.
Regardless of selection, the script also ensures jq (installs it via
Homebrew, or the official static binary into ~/.local/bin). It is a hard
dependency of the ic helper: ic history and ic ls parse Codex’s rollout
JSONL with jq to show each conversation’s first prompt.
c = codex, cs = codex
--dangerously-bypass-approvals-and-sandbox, cr = codex resume, and
crl = codex resume --last. Added to ~/.zshrc.config.toml: model = "gpt-5-codex". Override the value
with CODEX_MODEL=<name> ./setup-codex-env.sh (model names change over time).config.toml: model_reasoning_effort = "high".~/.codex/AGENTS.md: don’t add AI attribution/co-authored-by trailers to
commits or PRs, use Conventional Commits, keep messages concise. This is the
Codex analog of Claude’s “attribution off” settings.json keys (Codex does
not add attribution on its own, so this is guidance rather than a toggle).gh via Homebrew if available, otherwise
downloads the binary into ~/.local/bin (plus the Command Line Tools for
git); the version is resolved without jq. Authenticate separately with
gh auth login.~/.codex/AGENTS.md so browser use is efficient: prefer the accessibility/DOM
tree over screenshots, interact by stable element reference instead of
coordinates, and only screenshot when asked. Harmless without the extension;
it only matters once the Codex for Chrome tools are present
(see step 14).Items 2-3 are written as a single managed block at the top of
config.toml (top-level TOML keys must precede any [table] section). Re-runs
replace the block. If you set model elsewhere in config.toml, remove the
duplicate - the managed block is authoritative.
codex mcp add playwright -- npx -y @playwright/mcp@latest --browser chrome
(headed). Enable with --playwright.yt-dlp binary plus a Codex prompt at
~/.codex/prompts/yt-dlp.md, for downloading video/audio from YouTube and
other sites. Enable with --yt-dlp.These items in the upstream setup-claude-env.sh have no faithful Codex
counterpart and were left out rather than faked:
context-bar.sh) - Codex’s TUI has no status-line
command hook.settings.json keys.dx plugin) - Codex has a plugin
marketplace (codex plugin marketplace add <org/repo> +
codex plugin install <name>@<marketplace>), but there is no Codex dx
plugin to install by default. Add marketplaces yourself when you want them.--fork-session alias - not a Codex flag.