codex

Integrate Codex CLI with Claude Code for automated code analysis and editing.

9|2|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/stephanj/claude-code-collections --skill codex-stephanj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/stephanj/claude-code-collections/tree/main/skills/codex
Command: npx skills add https://github.com/stephanj/claude-code-collections --skill codex-stephanj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill bridges the gap between Claude Code and the Codex CLI, enabling advanced, agentic software engineering workflows that require deep reasoning, multi-step refactoring, and automated code analysis.

Core Features & Use Cases

  • Advanced Reasoning: Leverages GPT-5.2 models with configurable reasoning effort to handle ultra-complex architectural or security-focused coding tasks.
  • Automated Workflows: Supports full-auto execution, sandbox-restricted environments, and session resumption for long-running development tasks.
  • Use Case: Use this skill to perform a deep security audit on a legacy codebase or to execute a multi-file refactoring project while maintaining context across sessions.

Quick Start

Ask Claude to use the codex skill to analyze the current repository for architectural improvements using high reasoning effort.

Frequently Asked Questions about codex

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate multi-file refactoring across a legacy codebase?

Automated code refactoring is handled by integrating the Codex CLI with Claude Code to execute multi-step edits using GPT-5.2 models. It manages sandbox environments and session persistence to maintain context across long-running development tasks.

Can I use Claude Code with the Codex CLI for automated code analysis?

Yes, Claude Code integrates with the Codex CLI to perform automated code analysis. This combination bridges the gap between the two tools, enabling advanced agentic software engineering workflows that require deep reasoning.

Do I need a specific version of Codex CLI to run GPT-5.2 coding tasks?

Yes, you need Codex CLI v0.57.0 or later installed and configured on your system path. This prerequisite ensures the environment can properly support the automated code editing and reasoning effort configurations.

How do I perform a deep security audit on an existing repository?

To perform a deep security audit, you ask Claude to use the codex skill with high reasoning effort. This leverages GPT-5.2 models to analyze the current repository and identify architectural or security-focused improvements.

What is the best way to handle complex software engineering tasks requiring deep reasoning?

Handling complex software engineering tasks is best achieved by using configurable reasoning effort with GPT-5.2 models. This approach supports ultra-complex architectural challenges through full-auto execution and managed sandbox environments.

Does automated code analysis support resuming long-running development sessions?

Yes, automated code analysis supports session resumption for long-running development tasks. This feature allows you to pause and continue multi-step refactoring projects while preserving the necessary context.