Codex Cli banner
henrikdukefoss henrikdukefoss

Codex Cli

Development community

Description

# Codex CLI → any OpenAI-compatible endpoint In `~/.codex/config.toml`: ```toml [model_providers.myprovider] name = "My provider" base_url = "https://your-endpoint.example.com/v1" env_key = "MYPROVIDER_API_KEY" [profiles.myprovider] model_provider = "myprovider" model = "your-model-id" ``` ```bash export MYPROVIDER_API_KEY="your-key" codex --profile myprovider ``` Docs: https://github.com/openai/codex

Installation

Installs to ~/.claude/agents/henrikdukefoss-coding-agent-setups-codex-cli.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/henrikdukefoss/coding-agent-setups/HEAD/agents/codex-cli.md -o ~/.claude/agents/henrikdukefoss-coding-agent-setups-codex-cli.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository