Tooluck logoTooluck
SKILL.md

codex-delegate

Agent skill fromamElnagdy/delegate-skills

Delegate a coding task to the OpenAI Codex CLI as a background implementer, then review its diff and land it yourself. Use this whenever the user wants to hand implementation work to Codex — phrasings like "have Codex do X", "delegate this to Codex", "run it through Codex", or "use Codex to implement/fix/refactor" — or to run a queue of coding tasks through Codex while staying the reviewer. Prefer it over a one-shot Codex forwarder (such as the codex-rescue agent) when the user will review the diff and commit it themselves. DO NOT USE for tasks small enough to do inline, or when the user wants the code written directly without delegating.

How to install codex-delegate

install codex-delegate
# install the delegate-skills pack with the skills CLI
npx skills add amElnagdy/delegate-skills

# or add only this skill to Claude Code: copy the folder

skills/codex-delegate/

# into

~/.claude/skills/codex-delegate/ (all projects)

.claude/skills/codex-delegate/ (one project)

skills/codex-delegate/SKILL.md

MITFull file
1# Codex Delegate
2
3You are the **orchestrator**. This skill lets you hand a bounded coding task to a separate
4**implementer** — the OpenAI Codex CLI — then review what it produced and land it yourself. You write
5the brief and own the judgment; Codex does the typing in its own sandbox; you verify and commit.
6
7Nothing here is specific to one orchestrating agent. The loop needs only the ability to run a shell
8command and read a file, so it works the same whether you are Claude Code, OpenCode with a selected
9model, or any comparable agent. (It is designed for and run on Claude Code; treat other orchestrators
10as designed-for, not yet proven.)
11
12## When NOT to use this
13
14- The task is small enough to just do inline — delegation overhead is not worth it.
15- The `codex` CLI is not installed or not authenticated (run `codex login`).
16- You want to write the code yourself, or you only need a review (use Codex's own `review` command).
17
18## Prerequisites (check once)
19
201. `codex --version` succeeds. If not, install (`npm i -g @openai/codex`) and `codex login`.
212. **Confirm which `codex` is on PATH.** Multiple installs are common (e.g. a current npm/nvm copy and
22 a stale Homebrew one). `command -v codex` shows the active one and `codex --version` its version —
23 an old binary predates flags this skill relies on (`codex exec --json`, `-o`, `exec resume`). The
24 relay also records the version it ran into `result.json`, so a stale binary is visible after the fact.
25…

Excerpt shown under the repository's MIT license.

More skills in delegate-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates