codex

Delegate coding, refactoring, and pull-request review tasks to the OpenAI Codex CLI.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/MarbleSodas/Mavis --skill codex-marblesodas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/MarbleSodas/Mavis/tree/main/skills/autonomous-ai-agents/codex
Command: npx skills add https://github.com/MarbleSodas/Mavis --skill codex-marblesodas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Codex codifies the workflow of writing, refactoring, and reviewing code changes so you do not have to manually manage repetitive implementation and review cycles.

Core Features & Use Cases

  • Feature development and refactoring: Prompt Codex to implement or restructure code with workspace-wide changes suitable for iterative improvement.
  • PR reviews and batch review support: Use Codex to inspect diffs against a base branch and produce review feedback, including reviewing multiple PRs in parallel.
  • Long-running autonomous work: Run Codex in background mode for extended tasks and monitor progress via session polling and logs.

Quick Start

Ask Codex to add a specific feature by running codex exec with your prompt inside a git repository.

Frequently Asked Questions about codex

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

FAQPage Schema
How do I automate code review for pull requests using OpenAI Codex CLI?

Automating code review for pull requests with OpenAI Codex CLI involves delegating diff inspection against a base branch to produce review feedback. You can prompt Codex to inspect diffs and review multiple PRs in parallel inside your git repository.

Can I run long-running coding tasks in the background with Codex CLI?

Running long-running coding tasks in the background with Codex CLI is supported through background session monitoring. You can execute extended tasks and monitor progress via session polling and logs using process polling and termination.

How do I use Codex CLI to implement features and refactor code in a git repository?

Implementing features and refactoring code with Codex CLI requires prompting it to execute changes inside a git repository. You can prompt Codex to implement or restructure code with workspace-wide changes suitable for iterative improvement.

Do I need a specific terminal setup to run OpenAI Codex CLI for coding tasks?

Running OpenAI Codex CLI for coding tasks requires a pty-enabled terminal for interactive sessions. You need Codex installed and git repository access to execute terminal automation for feature implementation and batch issue fixing workflows.

Can I review multiple PRs in parallel using terminal automation with Codex?

Reviewing multiple PRs in parallel using terminal automation with Codex is supported through interactive PTY sessions. Codex inspects diffs against a base branch and produces review feedback for multiple pull requests simultaneously.