codex-cli

Execute Codex CLI workflows for code analysis, refactoring, and automated edits.

2|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/calvingit/skills --skill codex-cli-calvingit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-cli
Source: https://github.com/calvingit/skills/tree/main/skills/codex-cli
Command: npx skills add https://github.com/calvingit/skills --skill codex-cli-calvingit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Codex CLI workflows can be complex to set up and manage; this skill provides a guided way to run codex exec or resume commands and leverage OpenAI Codex for code analysis and automated edits.

Core Features & Use Cases

  • Supports running codex exec with configurable model, sandbox, and output options.
  • Enables seamless session management with resume, last results, and JSON output for scripting.
  • Applies to software engineering tasks requiring quick analysis, refactoring, or automated edits within local projects and repositories.

Quick Start

Run codex exec with the desired model and sandbox, then use resume to continue a paused session.

Frequently Asked Questions about codex-cli

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

FAQPage Schema
How do I automate code analysis and refactoring across local projects?

You can automate code analysis and refactoring by executing Codex CLI workflows with configurable model selection and sandbox modes to apply iterative edits to repositories. This skill guides running codex exec commands to streamline complex coding tasks.

Can I resume a paused code analysis session in the CLI?

Yes, resuming a paused code analysis session is supported through seamless session management features. You can use resume commands to continue paused sessions, retrieve last results, and leverage JSON output for scripting across local repositories.

Does Codex CLI support sandbox modes for automated code edits?

Yes, Codex CLI supports sandbox modes for automated code edits. You can configure the desired sandbox environment alongside model selection and output options when running codex exec commands to safely apply refactoring changes.

What is the best way to get JSON output from a CLI code refactoring session?

The best way to get JSON output from a CLI code refactoring session is to execute codex workflows with configurable output options. This enables seamless session management, allowing you to retrieve last results and pipe JSON data into local scripts.

Do I need web search enabled to run iterative code edits with Codex CLI?

No, web search is an optional feature when running iterative code edits with Codex CLI. You can execute core code analysis and automated edits using local project contexts and configurable models without enabling the optional web search capabilities.