codex-orchestrate

A Claude Code workflow for splitting a large coding plan into smaller slices and delegating their implementation to the Codex command-line tool.

In plain words
What is it for?
Use it in Claude Code to assign sequential implementation slices to Codex, choose models for different kinds of work, and have Claude verify the results.
Why use it?
It separates planning and review from implementation, making large changes easier to execute and check piece by piece.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/bengous/claude-code-plugins/codex-orchestrate
Any agent
npx skills add bengous/claude-code-plugins --skill codex-orchestrate
Clone the repo
git clone --depth 1 https://github.com/bengous/claude-code-plugins

Made for: Claude Code, Codex.

Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,319 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00076 $0.02319
Opus 5 $0.00038 $0.01159
Sonnet 5 $0.00015 $0.00464
Haiku 4.5 $0.00008 $0.00232

Measured yesterday against content hash f6a62043dec7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

codex-orchestrate scanned grade B 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 yesterday.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

ignorées → le run tournerait avec les défauts de `~/.codex/config.toml`). Seule
agents-bridge/skills/codex-orchestrate/SKILL.md · 114 lines

How it starts

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

Orchestration de plans par slices via Codex

Claude Code only. Dans Codex natif, utiliser $slice-runner.

Principe

Claude est architecte, QA et committeur ; Codex est l'exécutant. Claude découpe le plan en slices séquentielles, impose les interfaces, lance un run Codex par slice, vérifie les gates lui-même, commite. Codex ne committe jamais et ne designe jamais : si Claude laisse Codex inventer une API, N slices produiront N styles.

Routage modèle par slice

Choisir le tier au moment de rédiger le prompt de la slice :

Slice Modèle Pourquoi
Code standard (features, câblage, refactor spécifié) gpt-5.6-terra Suffisant sur du code spécifié, nettement moins cher que Sol. Défaut.
Tests, fixes mécaniques pour passer un gate gpt-5.6-luna Le plus rapide et le moins cher, suffisant sur travail borné
Code demandant jugement/rigueur, points délicats denses gpt-5.6-sol Ceiling supérieur ; seul tier avec max/ultra

Effort par défaut : xhigh. Les décisions hard (archi, choix d'API) restent le travail de Claude — si une slice en contient une, c'est un défaut de découpage, pas une raison de monter de tier.

Ces modèles délèguent eux-mêmes très bien : sur une slice lourde confiée à Sol, autoriser explicitement dans le prompt la délégation des sous-parties mécaniques à un modèle moins cher (et ultra décompose nativement en sous-agents internes) plutôt que sur-découper côté orchestrateur.

Règle de contexte (non négociable) : ne jamais lire l'output complet d'un run Codex ni son diff complet. Lecture = résumé final (tail court) + git diff --stat + gates. Inspection ciblée (grep, Read partiel) uniquement si un gate échoue ou si la slice comporte un point à risque identifié d'avance dans le prompt.

Pré-vol

  1. Plan validé par l'utilisateur, découpé en slices : petites, séquentielles, chacune avec un gate de sortie explicite (ex. validate seul pour le câblage interne ; + e2e/visual pour ce qui touche le DOM).
  2. Slice 0 = baseline : tous les gates verts avant la première slice. Sinon, stop et rapport. Au passage, figer la version Codex : lire codex --version via le bridge (ex. codex-cli 0.144.1) et préfixer chaque invocation de slice par AGENTS_BRIDGE_CODEX_VERSION=0.144.1. Sans ce pin, le bridge peut rafraîchir sa résolution npm (TTL 24 h) entre deux slices — version qui bouge en cours de run.
  3. Branche : suivre la consigne utilisateur ; par défaut une branche dédiée si un push sur main déclenche quelque chose. Jamais de push — l'utilisateur pousse.
  4. Première slice = la plus petite et la plus autonome (smoke test du pipeline : env, conventions, sandbox).
  5. TaskCreate une tâche par slice ; TaskUpdate au fil de l'eau.
  6. Insérer une slice prérequise dès qu'un blocage transversal est découvert (ex. outillage de test manquant pour le nouveau pattern) — ne pas la fusionner dans la slice en cours.

Read the full file on GitHub · 114 lines

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. yesterday First seen · 114 lines · 76 tokens per session scan B f6a62043dec7

Subscribe to this mod's changes

codex-orchestrate is a skill published in the GitHub repository bengous/claude-code-plugins (4 stars, last pushed 2d ago), licensed MIT. It adds 76 tokens to every session and 2,319 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

sql-reporting

Conventions and review steps for writing analytics SQL against the warehouse. Use whenever the task involves querying tables, building a report, or aggregating metrics.

apache/airflow · 34 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

verify-security

安全校验关卡。自动扫描代码安全漏洞,检测危险模式,确保安全决策有文档记录。当用户提到安全扫描、漏洞检测、安全审计、代码安全、OWASP、注入检测、敏感信息泄露时使用。在新建模块、安全相关变更、攻防任务、重构完成时自动触发。.

fengshao1227/ccg-workflow · 78 tokens

development

开发语言能力索引。Python、Go、Rust、TypeScript、Java、C++、Shell。当用户提到编程、开发、代码、语言时路由到此。.

fengshao1227/ccg-workflow · 41 tokens

post-build-flow

Handles workflow verification and setup after build-workflow succeeds, or when the message contains workflow-verification-follow-up or workflow-setup-required. Load after direct builds, when verificationReadiness requires action, or on orchestrator verify/setup follow-up turns.

n8n-io/n8n · 53 tokens

n8n:human-like-code-review

Reviews a GitHub pull request like a thoughtful human reviewer and writes the feedback to a markdown file. Prioritizes context, architecture fit, solution complexity, bugs, security edge cases, and missing tests. Use when given a PR URL to review, or when the user says /human-like-code-review.

n8n-io/n8n · 70 tokens