codex

Delegate coding, refactoring, and PR reviews to Codex CLI in a git workspace.

1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/eddielueng/hermes-agent-zh --skill codex-eddielueng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/eddielueng/hermes-agent-zh/tree/main/skills/autonomous-ai-agents/codex
Command: npx skills add https://github.com/eddielueng/hermes-agent-zh --skill codex-eddielueng

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires node, codex-cli, openai-api-key, git, gh-cli, and includes assets (resource) components.

What problem does it solve?

It solves the problem of writing and refactoring code changes faster by delegating implementation and review work to an autonomous coding agent.

Core Features & Use Cases

  • Delegated coding and refactoring: Uses OpenAI Codex CLI to implement features, refactor modules, and perform PR-ready changes in your working repository.
  • PR reviews: Checks diffs and produces review feedback by cloning into a temporary workspace.
  • Batch and parallel issue fixing: Uses git worktrees and background sessions to address multiple issues or PRs concurrently.

Quick Start

Delegate a coding task to Codex in your current git repository by running: terminal(command="codex exec 'Add dark mode toggle to settings'", workdir="~/project", pty=true)

Frequently Asked Questions about codex

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

FAQPage Schema
How do I automate code refactoring and feature implementation in a git repository?

Automating code refactoring and feature implementation uses an autonomous coding agent to execute changes directly in your git workspace. You can delegate coding tasks by running a PTY-enabled interactive terminal call to the Codex CLI with your prompt.

Can I review multiple pull requests in parallel using git worktrees?

Reviewing multiple PRs in parallel uses git worktrees and background sessions to concurrently address multiple issues. The agent clones diffs into temporary workspaces to produce batch review feedback autonomously.

Do I need an OpenAI API key and Node installed to use autonomous coding agents?

Using this autonomous coding agent requires Node, the Codex CLI, an OpenAI API key, git, and the GitHub CLI installed. You must also execute commands inside a git repository with a PTY-enabled terminal.

What is the best way to delegate one-shot coding prompts to an autonomous agent?

Delegating one-shot coding prompts involves executing a direct terminal command that passes your instruction to the Codex CLI. The agent then implements the requested changes in your current working directory.

Does Codex CLI delegation support long-running full-auto background coding sessions?

Codex CLI delegation supports long-running full-auto background sessions by using optional background polling and session submission. This allows the autonomous agent to continuously implement code changes without active monitoring.