By WenyuChiou
Offload token-heavy mechanical coding tasks (batch edits, boilerplate, multi-file refactors, test scaffolding, plotting scripts) from Claude to Codex CLI, reducing token usage on repetitive work.
codex-delegate is a Claude-oriented skill for using Codex CLI as an execution specialist for implementation-heavy coding work while keeping planning, review, and acceptance in Claude.
📚 Part of the agentic AI learning roadmap — a 7-stage curated path for building agentic AI, multilingual (zh-TW · zh-CN · English). This skill is referenced in §13 (Multi-LLM Delegation).
This skill is for tasks that are expensive in tokens but cheap in judgment:
It is not meant for architecture, root-cause debugging, security review, or ambiguous product decisions.
<log>.result.jsonresult.json.Wrapper success is not final acceptance. Claude still owns the judgment.
openai/codex-plugin-ccOpenAI ships an official Codex integration for Claude Code,
openai/codex-plugin-cc. It is a
capable, broker-based plugin — and a different design point from this skill.
The two are complementary; the table below is meant to help you pick, not to
rank them.
| Aspect | codex-delegate (this repo) | openai/codex-plugin-cc |
|---|---|---|
| Form | A single Claude Code skill | A multi-command plugin suite |
| Execution model | Thin synchronous wrapper: run → write result.json → exit | Persistent broker process with background jobs |
| Job tracking | None by design — one run, one result | /codex:status, /codex:result, /codex:cancel |
| Invocation | Claude invokes the skill; the wrapper script runs Codex | Slash commands (/codex:review, /codex:rescue, …) plus a proactive subagent |
| Review gate | Claude's own acceptance gate (skills/codex-delegate/references/review-checklist.md) | Optional Stop-hook review gate |
| Platform | bash + PowerShell wrappers, Windows-tested, no Node runtime | Node.js 18.18+ runtime |
| Delegate routing | Three-way Claude / Codex / Gemini routing table | Codex-focused |
| Maintainer · License | Wenyu Chiou · MIT | OpenAI · Apache-2.0 |
In short: reach for codex-plugin-cc when you want background async jobs, a
slash-command UX, and an OpenAI-maintained integration. Reach for
codex-delegate when you want a thin, synchronous, supervisor-gated skill that
keeps acceptance in Claude, behaves the same on Windows and Linux, and routes
across Claude / Codex / Gemini.
codex-delegate also borrows from the official plugin: the prompt-engineering
reference (skills/codex-delegate/references/codex-prompt-blocks.md) is adapted
from its gpt-5-4-prompting skill (Apache-2.0).
codex-delegate/
├── SKILL.md
├── README.md
├── README_zh-TW.md
├── scripts/
│ ├── run_codex.sh
│ └── run_codex.ps1
├── tests/
│ └── test_wrappers.py
└── references/
python -m pytest -q
Current wrapper tests cover:
result.json generation1. Install the skill via the ai-research-skills Claude Code marketplace:
claude plugin marketplace add WenyuChiou/ai-research-skills
claude plugin install codex-delegate@ai-research-skills
Default scope is user (this OS account, all projects). Add
--scope project to install only for the current project.
2. Make sure Codex CLI is on $PATH:
npm install -g @openai/codex
codex --version
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub wenyuchiou/ai-research-skills --plugin codex-delegateHand long-context reading, bilingual rewrites, second-opinion review, and Traditional Chinese / CJK output from Claude to Gemini CLI.
11 research-hub skills: literature triage matrix, context compression, project orientation, design dialog, multi-AI routing, NotebookLM brief verification, paper-memory builder, paper summarizer, Zotero curator, the gap-to-topic decision dossier, and the research-hub orchestrator. Auto-discovered from skills/<name>/SKILL.md.
Full Zotero CRUD: search, add, update, delete items with notes, tags, collections, and PDF attachments. Dual local/Web API routing.
Manuscript revision, claim-evidence audit, banned-word / humanize pass, figure-text consistency, journal-format check, reviewer response.
6 skills for context-safe multi-agent collaboration: task-splitter, context-budget, output-reconciler, debate, shared-memory, and acceptance-gate. Composes with codex-delegate + gemini-delegate via bounded .ai task packets, .coord context policy, and result.json contracts.
Autonomous session orchestrator for Claude Code - manages multi-phase development workflows
Cross-agent review workflow: Claude implements, Codex reviews
Describe your goal, approve the spec, then step away — Claude and Codex loop together until it's right.
Multi-agent orchestration for code that matters.
Use Claude Code like a Director, not a Programmer. Complete toolkit with 26 commands, 14 agents, 31 skills, and TDD-based Auto-Loop.
Python-specific development with type hints and idiomatic refactoring