codex-cli

Reference Codex CLI command templates, flags, and troubleshooting tips.

6|Updated Dec 15, 2025
One-click install
npx skills add https://github.com/GantisStorm/claude-code-pair-planning-framework --skill codex-cli-gantisstorm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-cli
Source: https://github.com/GantisStorm/claude-code-pair-planning-framework/tree/main/codex-swarm/skills/codex-cli
Command: npx skills add https://github.com/GantisStorm/claude-code-pair-planning-framework --skill codex-cli-gantisstorm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a concise reference for Codex CLI usage patterns, helping you construct reliable prompts and reduce trial-and-error when driving Codex from Bash.

Core Features & Use Cases

  • Command templates for common Codex CLI tasks (execute, resume, and session management).
  • Flag explanations and practical examples to speed up scripting.
  • Troubleshooting tips for common CLI errors and authentication issues.

Quick Start

Use the Codex CLI reference to recall a basic execution pattern, e.g. "codex exec "Analyze changes" -m gpt-5.2 --sandbox read-only --ask-for-approval never 2>&1"