A step-by-step guide to setting up OpenAI's Codex CLI, using it on a real Node.js codebase, and extending it with the CircleCI plugin. Covers installing Codex, understanding sandbox and approval controls, exploring code with natural-language prompts, and then integrating CircleCI to validate configs, trigger pipelines, diagnose build failures, and hand off autonomous maintenance tasks to CircleCI's Chunk agent. Also includes troubleshooting tips for common setup issues.
Table of contents
PrerequisitesInstalling CodexGetting comfortable with CodexA first session: exploring a real codebaseExtending Codex with pluginsSetting up the CircleCI pluginUsing the CircleCI pluginHanding harder work to ChunkResuming sessionsTroubleshooting the Codex CLI and CircleCI skillBringing it togetherSort: