codex

Delegate coding, refactoring, and PR review tasks to OpenAI Codex CLI in git repositories.

Updated May 5, 2026
One-click install
npx skills add https://github.com/Z43L/zeus-agent --skill codex-z43l
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/Z43L/zeus-agent/tree/main/skills/autonomous-ai-agents/codex
Command: npx skills add https://github.com/Z43L/zeus-agent --skill codex-z43l

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

It reduces the time and friction of writing, refactoring, and reviewing code by delegating those tasks to OpenAI Codex CLI in an interactive terminal workflow.

Core Features & Use Cases

  • One-shot coding execution: Run Codex against a clear prompt to implement features or refactors quickly.
  • Long-running background sessions: Keep Codex working on larger changes and monitor progress via session polling and logs.
  • PR review automation: Review pull requests by checking out branches safely and running Codex review against diffs.
  • Parallel issue fixing: Use git worktrees to tackle multiple fixes concurrently and then push/create PRs.

Quick Start

Ask your AI agent to run Codex in a git repository using PTY mode to execute your coding prompt.

Frequently Asked Questions about codex

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

FAQPage Schema
How do I delegate coding and PR reviews to an AI agent in a terminal?

You can delegate coding and PR reviews by running OpenAI Codex CLI in a git repository with interactive PTY support. This allows you to execute coding prompts, review diffs, and automate refactoring directly from your terminal.

What is the best way to run parallel issue fixes across multiple git branches?

The best way to run parallel issue fixes is using git worktrees for branch isolation. This allows background Codex sessions to tackle multiple fixes concurrently, enabling you to monitor progress via session polling and push separate PRs.

Do I need an OpenAI API key to automate pull request reviews with Codex CLI?

Yes, you need an OpenAI API key to automate pull request reviews. The workflow requires Codex availability and an active API key to check out branches safely and run interactive review sessions against code diffs.

How do I manage long-running background sessions for large code refactoring?

You manage long-running background sessions for large code refactoring using session control commands. You can start a task with exec, monitor progress through poll/log, submit the final changes, or kill the session if needed.

Can I use terminal automation to review code diffs without manual intervention?

Yes, you can use terminal automation to review code diffs by running Codex in PTY mode against checked-out branches. This automates the review process by having the CLI analyze the diffs and provide feedback without manual intervention.