codex

Delegates coding tasks to the OpenAI Codex CLI for features, refactoring, and PR reviews.

Updated Aug 19, 2026
One-click install
npx skills add https://github.com/jakubbartnik/honey-barrel-finale --skill codex-jakubbartnik
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/jakubbartnik/honey-barrel-finale/tree/main/honey-barrel-finale/workspace/hermes/skills/autonomous-ai-agents/codex
Command: npx skills add https://github.com/jakubbartnik/honey-barrel-finale --skill codex-jakubbartnik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @openai/codex.

What problem does it solve? Offloading coding work such as building features, refactoring modules, and reviewing pull requests to an autonomous agent is difficult to orchestrate from a terminal-driven assistant. This Skill provides the exact invocation patterns, flags, and process-management steps needed to run the OpenAI Codex CLI reliably inside a git repository. ## Core Features & Use Cases - One-Shot and Background Execution: Run codex exec for quick tasks or launch long-running jobs in the background and monitor them with process polling and logging. - PR Reviews and Batch Issue Fixing: Clone repos into temp directories for safe reviews, and use git worktrees to fix multiple issues in parallel with separate Codex sessions. - Sandbox and Gateway Handling: Apply the right flags (--full-auto, --yolo, --sandbox danger-full-access) depending on context, including workarounds for bubblewrap errors in Hermes gateway sessions. - Use Case: You need to fix issues #78 and #99 simultaneously. Create two git worktrees, launch a background Codex process in each with a targeted prompt, monitor progress, then push branches and open PRs with gh. ## Quick Start Ask the agent to run Codex in one-shot mode on your repository, for example: use Codex to add a dark mode toggle to the settings page of my project.

Frequently Asked Questions about codex

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

FAQPage Schema
How do I run OpenAI Codex CLI for a one-shot coding task?▼

Use `codex exec "your prompt"` inside a git repository with a PTY-enabled terminal. The command runs the task and exits when done. For scratch work outside a repo, create a temp directory and run `git init` first.

How do I run Codex in the background for long tasks?▼

Launch `codex exec --full-auto "task"` with background mode enabled, which returns a session ID. Monitor progress with process poll and log actions, send input with submit if Codex asks a question, and kill the session if needed.

Why does Codex fail with sandbox or bubblewrap permission errors?▼

When invoked from a gateway or service context, Codex workspace-write sandboxing can fail with user-namespace errors like "setting up uid map: Permission denied". Use `codex exec --sandbox danger-full-access` and rely on process boundaries, clean git state, and diff review for safety.

Does Codex CLI work outside a git repository?▼

No, Codex refuses to run outside a git repository. For scratch experiments, create a temporary directory with `mktemp -d`, run `git init` inside it, and then invoke Codex from that directory.

How do I fix multiple GitHub issues in parallel with Codex?▼

Create a separate git worktree per issue with `git worktree add -b fix/issue-N`, then launch a background Codex process in each worktree with a targeted prompt. After completion, push each branch and open PRs with `gh pr create`.