codex-model-routing

codex-model-routing is a skill for Claude Code, Codex from saski/arnesto. It costs 98 tokens per session (1,302 once invoked), scanned A, original, Unlicense.

A decision guide for choosing Codex/OpenAI models, reasoning effort, and Fast mode for a task. It recommends a route without changing your settings.

In plain words
What is it for?
Use it to choose a model and reasoning level, decide whether Fast mode is worthwhile, or review model spending. It gives an acceptance check and a condition for moving to a more expensive option.
Why use it?
It helps avoid spending more than needed while keeping enough model capability for the result you need. It also separates a recommendation from proof that anything was changed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents); mentions Codex.

Good fit Use it to choose a model and reasoning level, decide whether Fast mode is worthwhile, or review model spending. It gives an acceptance check and a condition for moving to a more expensive option.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saski/arnesto/codex-model-routing
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 saski/arnesto --skill codex-model-routing
Clone the repo
git clone --depth 1 https://github.com/saski/arnesto

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-model-routing

README.md
[![agentmods](https://agentmods.dev/badge/skills/saski/arnesto/codex-model-routing/github.svg)](https://agentmods.dev/skills/saski/arnesto/codex-model-routing)
Your own site
<a href="https://agentmods.dev/skills/saski/arnesto/codex-model-routing"><img src="https://agentmods.dev/badge/skills/saski/arnesto/codex-model-routing/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-model-routing

Your own site · 80×15
<a href="https://agentmods.dev/skills/saski/arnesto/codex-model-routing"><img src="https://agentmods.dev/badge/skills/saski/arnesto/codex-model-routing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,302 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00098 $0.01302
Opus 5.5 $0.00039 $0.00521
Sonnet 5.5 $0.00020 $0.00260
Haiku 4.5 $0.00010 $0.00130

Measured 2mo ago against content hash 9f5f90a03d86, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-model-routing 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 2mo 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.

.agents/skills/codex-model-routing/SKILL.md · 106 lines

How it starts

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

Codex Model Routing

Recommend the least expensive route likely to produce an accepted result. This is an on-demand advisory policy for Codex/OpenAI only. Preserve existing model-routing criteria for Claude, Gemini, Hermes, OmniRoute, OpenCode, and other providers. Do not change global configuration, model defaults, symlinks, hooks, or MCPs as part of a recommendation. A recommendation is not evidence that the active model, effort, or Fast setting changed.

Choose a route

  1. Identify the deliverable, acceptance check, ambiguity, risk, dependencies, and value of reduced latency. Use supplied context; ask only when a missing constraint materially changes the choice.
  2. Select a model from the policy below. Terra Medium is the default recommendation, not a configuration change or an obligation to use Terra for a clearly harder task.
  3. Select effort separately from Fast. Explain the cheapest plausible route and the evidence that would justify escalation.
  4. Return the model, effort, Fast on/off, brief reason, acceptance check, and stop/escalation condition. For a spending review, also report measurement gaps and a small comparison plan.
Work Starting model and effort
Clear, repeatable extraction, classification, transformation, or mechanical checks with defined input/output Luna Light/Low; Medium if it needs several bounded steps
Everyday bounded implementation, documents, reporting, or analysis with tools Terra Medium
Several sources, dependent steps, edge cases, or explicit trade-offs within a clear specification Terra High
Open-ended diagnosis, architecture, cross-repository complexity, consequential delivery, or deep risk review Sol Medium or High; High for difficult diagnosis or risk
Exceptionally difficult end-to-end workflows combining code, research, computer use, and sustained judgment Astra Light/Low or Medium; justify why Sol is insufficient

Do not infer that a more expensive model is better from spend per turn alone. For the source rationale and measurement limits, read policy evidence.

Read the full file on GitHub · 106 lines

Files

What ships with it

2 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. 2mo ago First seen · 106 lines · 98 tokens per session scan A 9f5f90a03d86

Subscribe to this mod's changes

codex-model-routing is a skill published in the GitHub repository saski/arnesto (7 stars, last pushed 5d ago), licensed Unlicense. It adds 98 tokens to every session and 1,302 once invoked, about $0.0004 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-09-06.

Related

codex-model-routing compared with skills from other repositories

codex-model-routing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-model-routingsaski/arnestoSkill75d agoUnlicenseA98Claude Code, Codex
repo-contracts-and-boundariesyfge/agent-harness-skillsSkill1212d agoMITA41Claude Code
repo-harness-assessmentyfge/agent-harness-skillsSkill1212d agoMITA56Claude Code
work-state-and-deliveryyfge/agent-harness-skillsSkill1212d agoMITA48Claude Code
runtime-evidence-and-tracingyfge/agent-harness-skillsSkill1212d agoMITA39Claude Code
validation-harness-designyfge/agent-harness-skillsSkill1212d agoMITA35Claude Code
readonly-reviewRanvier-Technologies/pixirSkill252mo agoMITA20Claude Code, Codex