bench-routing — OpenAI Codex CLI¶
Compare benchmark priors with central Codex worker-role assignments.
- Source: codex/skills/bench-routing/SKILL.md
- Also available on: Claude Code, GitHub Copilot CLI
In practice¶
What it does¶
Uses benchmark evidence as a prior for Codex worker roles. It does not establish model availability, price, runtime identity, or recovery evidence, and it never overrides the central orchestration policy.
When to reach for it¶
- Compare broad capability evidence before assigning a kind of work to Luna, Terra, or Sol.
- Inspect whether historical Claude-harness outcomes challenge a benchmark recommendation.
- Not for choosing Astra as an ordinary implementer or proving that a particular model ran.
Worked example¶
python3 bin/bench_routing.py roles --harness codex
python3 bin/bench_routing.py compare
roles has a harness selector, while compare is intentionally cross-harness.
It has no --harness flag. The comparison joins the benchmark prior to available cross-harness evidence rather than inventing Codex outcomes.
Failure modes & fallbacks¶
When there is no per-role outcome data for Codex, say so and let the benchmark recommendation stand unchallenged. Do not translate screenshot rankings into certainty or use a preference as Astra recovery evidence. If the runtime roster differs, central policy and pricing data win.
Cost & safety¶
These commands analyze local data and do not dispatch models. The Intelligence Index is a screenshot-derived general capability composite, not this repository's pricing, a bill, or routing certainty. Subscription guidance still leads with burn index, while dollar estimates remain labeled API-equivalent proxies.
Related¶
- route converts task characteristics into a policy-safe worker preview.
- execute records planned, dispatched, and observed use separately.
- frontier check explains Astra's reserved role.
The skill card — what the model reads¶
This is the SKILL.md body the model reads, transformed for this page: the source's own leading title, if it had one, is removed; every remaining heading is demoted one level to nest under this section; and relative links are rewritten to site or GitHub URLs. ${CLAUDE_PLUGIN_ROOT} and {{POLYTROPOS_ROOT}} are install-time path variables, left intact exactly as the model sees them. The unmodified original is codex/skills/bench-routing/SKILL.md.
Resolve POLYTROPOS_ROOT from this skill's location. In a managed copy use POLYTROPOS_ROOT="{{POLYTROPOS_ROOT}}"; reject the literal placeholder. Confirm pricing data, bin/bench_routing.py, and bin/codex_policy.py exist. Otherwise stop and use python3 bin/harness_select.py doctor --harness codex.
Use the engine rather than recreating its ranking logic:
python3 "$POLYTROPOS_ROOT/bin/bench_routing.py" roles --harness codex
python3 "$POLYTROPOS_ROOT/bin/bench_routing.py" rank
python3 "$POLYTROPOS_ROOT/bin/bench_routing.py" compare
python3 "$POLYTROPOS_ROOT/bin/bench_routing.py" demo
compare has no --harness flag of its own. compare joins the benchmark prior with Claude-harness implementer evidence. There is no per-role outcome data for Codex, so the Codex recommendation stands unchallenged rather than borrowing Claude outcomes as Codex proof.
The Intelligence Index is a general-capability composite transcribed from a screenshot. It is a prior, not proof of Codex task performance, availability, cost, or observed use. Benchmark workload estimates are not this repository's pricing, a bill, or routing certainty, and a recommendation is not a guaranteed winner.
Use central policy for assignments: Luna for cheap work, Terra for routine work, Sol for hard, security, integration, and independent verification, and Astra for coordination and final acceptance. Never turn benchmark preference into a direct model pin, freehand dispatch, or recovery evidence. Compare conclusions with the driver's separate planned, dispatched, observed, and verification records.