Skip to content

Delegating to Codex from Claude Code

Practical guides to running Codex from Claude Code: worktrees, contracts, questions, hooks, and reviewing the work before you commit.

  • Codex hooks not trusted: how to fix it

    Fix Codex hooks not trusted by trusting the project's configuration, then reviewing and approving each current hook definition through /hooks.

    · 7 min read

  • Codex plugin for Claude Code: a guide

    Install the Codex plugin for Claude Code, run setup, then use its slash commands for read-only reviews, delegated fixes and session transfers.

    · 7 min read

  • Codex waiting for input: what it wants

    Codex waiting for input may mean an approval, a question, or an unfinished command; inspect the last event and answer or adjust the matching setting.

    · 7 min read

  • Does a git worktree sandbox Codex?

    A git worktree does not sandbox Codex: it separates working files, while Codex sandbox settings control filesystem writes and command network access.

    · 7 min read

  • How to give Codex a coding task

    Give Codex a coding task with repo rules in AGENTS.md and a brief naming the behavior, allowed files, checks to run, and decisions that need your input.

    · 8 min read

  • Review Codex changes with Claude Code

    Review Codex changes with Claude Code by checking the worktree, comparing the full diff with the task, and running the project checks before you commit.

    · 7 min read

  • Run Codex in the background

    Run Codex in the background with codex exec and shell logs, or use native jobs and a daemon to track progress, answer questions, and bound runtime.

    · 8 min read

  • Run Codex in a git worktree

    Run Codex in a git worktree with git worktree add or codex exec --worktree, install dependencies there, and review the changes before removing it.

    · 8 min read

  • Run multiple Codex agents in parallel

    Run multiple Codex agents in parallel with a worktree per task, a shared base commit, and a review loop that tracks questions before merging changes.

    · 8 min read

  • How to use Codex from Claude Code: three ways to delegate

    Use Codex from Claude Code through Bash with codex exec, OpenAI's plugin for reviews and background tasks, or foreman for supervised worktree runs.

    · 8 min read