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.
npx skills add luckeyfaraday/codex-router --skill codexgit clone --depth 1 https://github.com/luckeyfaraday/codex-routerWrote 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.
[](https://agentmods.dev/skills/luckeyfaraday/codex-router/codex)<a href="https://agentmods.dev/skills/luckeyfaraday/codex-router/codex"><img src="https://agentmods.dev/badge/skills/luckeyfaraday/codex-router/codex/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.
<a href="https://agentmods.dev/skills/luckeyfaraday/codex-router/codex"><img src="https://agentmods.dev/badge/skills/luckeyfaraday/codex-router/codex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00113 | $0.01997 |
| Opus 5.5 | $0.00045 | $0.00799 |
| Sonnet 5.5 | $0.00023 | $0.00399 |
| Haiku 4.5 | $0.00011 | $0.00200 |
Grade A, and why
codex scanned grade A with 0 findings 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 3mo ago.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Codex Offload — route heavy work to GPT-5.6
You are the orchestrator and reviewer. Codex is the background worker. Select its model for the task, write a precise brief, launch Codex non-interactively, keep working or wait, then review and verify what it produced. You own final quality — never present Codex's output to the user unreviewed.
When to offload (and when not to)
Offload when the task is heavy but well-specified: large refactors or renames across many files, bulk migrations (API, framework, syntax), generating boilerplate-heavy features from a clear spec, fixing a long list of similar test failures or lint errors, or any task the user explicitly asks to send to Codex or a GPT worker.
Keep it yourself when the task is small (faster to just do it), requires conversation context or user judgment mid-flight, is design/architecture work, or touches secrets and credentials.
1. Preflight (once per session)
codex login status
codex --version
codexnot found → tell the user:npm install -g @openai/codex- Not logged in → tell the user to run
! codex login(interactive; you cannot do it for them) - GPT-5.6 requires Codex CLI 0.144.0 or newer. If it is older, tell the user to update Codex before routing to GPT-5.6.
2. Select the worker model
Honor an explicit model request from the user. Otherwise, honor CODEX_ROUTER_MODEL when it is
set; it is the user's configured default. If neither chooses a model, route as follows:
| Model ID | Use for | Typical effort |
|---|---|---|
gpt-5.6-sol |
Hard, ambiguous-but-implementable, cross-cutting, or long-horizon coding work where quality is worth additional time and cost | high or xhigh; use max only when the account supports it |
gpt-5.6-terra |
The default: well-specified refactors, migrations, and substantial everyday implementation work | high |
gpt-5.6-luna |
Tightly bounded, repetitive, high-throughput work where latency and cost matter more than frontier reasoning | medium or high |
What ships with it
1 file 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.
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.
- 3mo ago First seen · 159 lines · 113 tokens per session scan A 24fc57cb6cd0
codex is a skill published in the GitHub repository luckeyfaraday/codex-router (6 stars, last pushed 4mo ago), licensed MIT. It adds 113 tokens to every session and 1,997 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
codex compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codexluckeyfaraday/codex-router | Skill | 6 | 4mo ago | MIT | A | 113 | Claude Code |
| watchSethGammon/Citadel | Skill | 943 | 3d ago | MIT | A | 70 | Claude Code |
| reviewSethGammon/Citadel | Skill | 943 | 3d ago | MIT | A | 17 | Claude Code |
| live-previewSethGammon/Citadel | Skill | 943 | 3d ago | MIT | A | 40 | Claude Code |
| marshalSethGammon/Citadel | Skill | 943 | 3d ago | MIT | A | 56 | Claude Code |
| wikiSethGammon/Citadel | Skill | 943 | 3d ago | MIT | A | 56 | Claude Code |
| github-project-automationsecondsky/claude-skills | Skill | 257 | 8d ago | MIT | A | 45 | Claude Code |