Skip to main content

OpenAI

14 articles available

Guides for OpenAI tools - Codex CLI, ChatGPT, API usage, and coding assistant workflows

How to Configure Approval and Sandbox Modes in OpenAI Codex CLI

intermediate

Configure OpenAI Codex CLI approval and sandbox modes for your workflow. Learn the differences between suggest, auto-edit, and full-auto modes, and set appropriate safety levels for your environment.

7 minUpdated January 2026
Read Article

How to Fix OpenAI Codex CLI Context Window Exceeded Errors

intermediate

Resolve context window limit errors in OpenAI Codex CLI. Learn to manage token counts, use context compaction, configure file exclusions, and work effectively within model context limits.

7 minUpdated January 2026
Read Article

How to Fix OpenAI Codex CLI Slow Performance

intermediate

Diagnose and resolve slow performance issues in OpenAI Codex CLI. Optimize response times, reduce latency, handle large context windows efficiently, and configure settings for faster interactions.

7 minUpdated January 2026
Read Article

Install Codex CLI: npm Setup + Fix "command not found"

beginner

Install Codex CLI via npm, fix the zsh: command not found: codex PATH error, and uninstall cleanly. Step-by-step Mac, Linux & Windows commands.

8 minUpdated May 2026
Read Article

How to Integrate Codex CLI with Your IDE

intermediate

Learn how to integrate OpenAI Codex CLI with VS Code, Cursor, and Windsurf. Includes extension setup, terminal workflows, configuration options, and platform-specific instructions for macOS, Windows, and Linux.

15 minUpdated January 2026
Read Article

How to Resume a Codex CLI Session: codex resume --last

intermediate

Run codex resume --last to reopen your previous Codex CLI session, or codex resume to pick from history. Session picker, IDs & JSONL file location.

12 minUpdated January 2026
Read Article

How to Set Up MCP Servers with OpenAI Codex CLI

intermediate

Complete guide to configuring Model Context Protocol (MCP) servers in OpenAI Codex CLI. Connect Codex to GitHub, Figma, databases, and other external tools for enhanced AI-assisted development.

14 minUpdated January 2026
Read Article

How to Change the Codex CLI Model (codex --model / config.toml)

intermediate

Change the model in Codex CLI with the `--model` flag or config.toml. Switch between GPT-5.2 and GPT-5.1-Mini, set a default, and verify the active model.

10 minUpdated January 2026
Read Article

How to Use Codex CLI for Code Review

intermediate

Learn how to use OpenAI Codex CLI's /review command for AI-powered code reviews. Master reviewing staged changes, customizing review criteria, and integrating Codex into your git workflow.

12 minUpdated January 2026
Read Article

How to Use Git Worktrees with OpenAI Codex CLI

intermediate

Complete guide to using Git worktrees with OpenAI Codex CLI for parallel development. Learn project root detection, AGENTS.md behavior, session management across worktrees, and best practices for multi-branch workflows.

15 minUpdated January 2026
Read Article

How to Use Image Input with Codex CLI

intermediate

Learn how to use the --image flag in OpenAI Codex CLI to convert mockups to code, analyze UI screenshots, and implement design-to-code workflows. Includes platform-specific tips for macOS, Windows, and Linux.

12 minUpdated January 2026
Read Article

How to Run OpenAI Codex CLI with Local Models (Ollama, LM Studio)

advanced

Configure OpenAI Codex CLI to use local LLMs via Ollama, LM Studio, or other OpenAI-compatible APIs. Run coding tasks privately without sending data to external services.

9 minUpdated January 2026
Read Article

OpenAI Codex CLI Slash Commands: Complete Reference

beginner

Every slash command available in OpenAI Codex CLI — navigate sessions, manage context, and control AI behavior. Includes keyboard shortcuts and practical examples.

6 minUpdated January 2026
Read Article

Codex CLI Config Location: ~/.codex Paths (Mac/Linux/Win)

beginner

Find Codex CLI config, auth, sessions & logs in ~/.codex. Exact paths for config.toml, auth.json, history.jsonl & session JSONL on Mac/Linux/Win.

10 minUpdated January 2026
Read Article