Cx ChatGPT Codex

OpenAI Codex as a chat agent: models and effort from the Codex CLI, sandbox modes, /review, /init, /mcp and your own prompts, session fork, export and delete, context meter, profiles and quick actions. Ships executable code.

Install in Lumen: add the server, then pick ChatGPT Codex from the list.

http://localhost:8730

Version 2.2.0 · Lumen · MIT
Identifier ext.codex
1 templates · 1 project kinds · 33 settings · 1 agents · 1 code
Security: clean

codexchatgptopenaiaiagentcli

ChatGPT Codex

OpenAI Codex as a chat agent in Lumen. Each message starts the installed Codex CLI (codex exec); your login, AGENTS.md and ~/.codex/config.toml apply.

Chat

when enabled — Full access

open, MCP calls (server.tool with their arguments and result), web searches

token_count records, else the model cache) and rate limits when your plan reports them; Codex prints no prices, so there is no cost estimate

Codex prints, switched-off reasoning summaries, ephemeral sessions

named as Codex or you named them)

(model/list) — ↻ next to the picker asks the CLI again

supports; Lumen remembers the choice per model

@ for files, send the open file and selection along

Slash commands

| Command | What it does | | --- | --- | | /review [base <branch> \| commit <sha> [title] \| instructions] | codex exec review: uncommitted changes by default. Codex accepts either a target or custom instructions, not both. A review runs in a session of its own. | | /init | Asks Codex to create or improve AGENTS.md | | /status | Codex version, account, model, sandbox, approvals, profile, AGENTS.md, session | | /mcp [list \| get \| add \| remove] | codex mcp …; add takes codex mcp add's arguments, e.g. /mcp add docs --url https://… or /mcp add tool -- npx -y some-server | | /profiles | The profiles Codex finds ([profiles.x] in config.toml, <name>.config.toml) | | /prompts:<name> [args] | Your Codex custom prompts: ~/.codex/prompts/.md, and .codex/prompts/.md of the project (a project prompt wins). Front matter description and argument-hint; body placeholders $1…$9, $ARGUMENTS, $NAME (filled from NAME=value), $$ | | your own | Customize → Slash commands (e.g. /explain, /tests) |

Lumen adds /clear, /new and — for the session actions below — /fork, /rename, /delete, /export. The palette learns Codex's own commands when the chat's first session starts.

Session actions

Not offered: compact (exec mode has no compaction command; Codex compacts by itself near the context limit) and rewind (no checkpoints in exec mode).

Settings

Settings → Extensions → ChatGPT Codex:

reasoning summary, verbosity, hide reasoning

developer_instructions (-c) or in front of each message; the chat's own system prompt is added after it

more writable folders (--add-dir); Git check

schema (--output-schema), feature flags (--enable / --disable), local model (--oss, --local-provider), ephemeral sessions (--ephemeral), environment variables

entries (pre-filled; edit freely)


Quick action   Label | prompt                         ({{selection}} {{file}} {{clipboard}})
Command        name | description | prompt            ($ARGUMENTS or {{args}})
Profile        Label | mode=read-only | effort=high | anySettingKey=value

Built in: the profiles Careful (read only, high effort) and Build. Full access in a profile still needs the setting that allows it.

Every message runs with --color never. Exec mode has no --search flag, so web search is the web_search config key.

Project

tasks Start Codex, Resume last session, Sign in, Show MCP servers and Install Codex

Requirements


npm install -g @openai/codex
codex login

The extension ships executable code that must be confirmed on installation. It only starts the program you have installed.

Settings

Versions