codex-delegate

codex-delegate is a skill for Claude Code, Codex from amElnagdy/delegate-skills. It costs 155 tokens per session (2,605 once invoked), scanned A, original, MIT.

A workflow for handing a defined coding task to the Codex command-line agent and then checking and applying the changes it makes.

In plain words
What is it for?
Use it to delegate bounded coding, bug-fixing, or refactoring work in a Git repository, then inspect the diff and commit the result.
Why use it?
It lets another coding agent do implementation work while you retain responsibility for reviewing the result and landing it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

Good fit Use it to delegate bounded coding, bug-fixing, or refactoring work in a Git repository, then inspect the diff and commit the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amelnagdy/delegate-skills/codex-delegate
About the project

delegate-skills is a toolkit for assigning coding tasks to separate agent command-line tools while keeping control of review and commits. It is for developers who want to organize installed implementers into lanes for work such as features, tests, or UI, then delegate tasks by lane or directly. The catalogue entries define the setup and delegation workflows.

amElnagdy/delegate-skills · 2,696 stars · on GitHub · skills.sh

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add amElnagdy/delegate-skills --skill codex-delegate
Clone the repo
git clone --depth 1 https://github.com/amElnagdy/delegate-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codex-delegate

README.md
[![agentmods](https://agentmods.dev/badge/skills/amelnagdy/delegate-skills/codex-delegate/github.svg)](https://agentmods.dev/skills/amelnagdy/delegate-skills/codex-delegate)
Your own site
<a href="https://agentmods.dev/skills/amelnagdy/delegate-skills/codex-delegate"><img src="https://agentmods.dev/badge/skills/amelnagdy/delegate-skills/codex-delegate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codex-delegate

Your own site · 80×15
<a href="https://agentmods.dev/skills/amelnagdy/delegate-skills/codex-delegate"><img src="https://agentmods.dev/badge/skills/amelnagdy/delegate-skills/codex-delegate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 155 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,605 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 14 Oct 2026
  • Snyk pass 14 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00155 $0.02605
Opus 5.5 $0.00062 $0.01042
Sonnet 5.5 $0.00031 $0.00521
Haiku 4.5 $0.00015 $0.00261

Measured 19d ago against content hash 996a883bfeec, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-delegate scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/relay.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

# network inside the sandbox (gh, curl, installs): add --network-access (on resume: --sandbox workspace-write --network-access)
skills/codex-delegate/SKILL.md · 168 lines

How it starts

The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codex Delegate

You are the orchestrator. This skill lets you hand a bounded coding task to a separate implementer — the OpenAI Codex CLI — then review what it produced and land it yourself. You write the brief and own the judgment; Codex does the typing in its own sandbox; you verify and commit.

Nothing here is specific to one orchestrating agent. The loop needs only the ability to run a shell command and read a file, so it works the same whether you are Claude Code, OpenCode with a selected model, or any comparable agent. (It is designed for and run on Claude Code; treat other orchestrators as designed-for, not yet proven.)

When NOT to use this

  • The task is small enough to just do inline — delegation overhead is not worth it.
  • The codex CLI is not installed or not authenticated (run codex login).
  • You want to write the code yourself, or you only need a review (use Codex's own review command).

Prerequisites (check once)

  1. codex --version succeeds. If not, install (npm i -g @openai/codex) and codex login.
  2. Confirm which codex is on PATH. Multiple installs are common (e.g. a current npm/nvm copy and a stale Homebrew one). command -v codex shows the active one and codex --version its version — an old binary predates flags this skill relies on (codex exec --json, -o, exec resume). The relay also records the version it ran into result.json, so a stale binary is visible after the fact.
  3. You are in (or will point --cd at) the target git repository.

The loop

Run these five steps per task. Steps 1, 4, and 5 are your judgment; 2 and 3 are mechanical.

1. Write the brief

Codex sees only the text you send — no repo memory, no chat history, no shared context. Everything the task needs goes in the brief: the goal, the current state, what to change, what to leave untouched, the project's actual gate commands (discover them from the repo's CLAUDE.md/AGENTS.md/Makefile — do not assume), and a report contract. Tell Codex it will not commit (you will). Keep one task per brief. Full guidance and a template: references/writing-the-brief.md.

Read the full file on GitHub · 168 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 19d ago Changed · +1 lines 996a883bfeec
  2. 28d ago Changed · -16 lines 67896d61833b
  3. 1mo ago Changed · +19 lines 25477cc004c9
  4. 3mo ago Changed · +1 lines 60aa857bc222
  5. 3mo ago First seen · 163 lines · 155 tokens per session scan A 5b210862365f

Subscribe to this mod's changes

codex-delegate is a skill published in the GitHub repository amElnagdy/delegate-skills (2,696 stars, last pushed 2d ago), licensed MIT. It adds 155 tokens to every session and 2,605 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

codex-delegate compared with skills from other repositories

codex-delegate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-delegateamElnagdy/delegate-skillsSkill2.7k2d agoMITA155Claude Code, Codex
claude-md-improvermrclrchtr/supiSkill106yesterdayMITA39Claude Code
pi-tui-designmrclrchtr/supiSkill106yesterdayMITA141Claude Code, Codex
pi-syncsky-valley/piSkill95yesterdayMITA66Claude Code
supi-setupmrclrchtr/supiSkill106yesterdayMITA19Claude Code
claude-md-revisionmrclrchtr/supiSkill106yesterdayMITA45Claude Code
session-analyticsmrclrchtr/supiSkill106yesterdayMITA39Claude Code