joaquincampo/my-plugins/codex-model-routing

Claude Code and agent skill by joaquincampo/my-plugins

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when spawning Codex subagents or Codex threads and choosing among GPT-5.6 Luna, Terra, and Sol, plus Spark and GPT-6 Astra, with the appropriate effort. Use this with orchestrating-subagents whenever delegation involves model overrides, reasoning effort, Explore agents, checker/fixer loops, or fan-out work.

Install

npx vskill@latest install joaquincampo/my-plugins/codex-model-routing

SKILL.md

The same SKILL.md was published earlier as joaquincampo/my-plugins/codex-model-routing.

Codex Model Routing

Principle

Always choose the cheapest GPT 5.6 route that can reliably do the delegated job, and make the model and effort explicit. The main thread keeps judgment and synthesis; subagents return compact evidence, patches, or verdicts.

Reasoning efforts do not map across model generations: start lower than you would with an older family and escalate only when the task provides evidence that it needs more reasoning.

Use only the models exposed by current Codex releases: gpt-5.6-luna, gpt-5.6-terra, gpt-5.6-sol, and where available gpt-5.3-codex-spark (text-only research preview) and gpt-6-astra. If a model id is unavailable, stop and ask for the runtime to be upgraded rather than silently routing to an older family.

Routing table

ModelEffortUse forGuidance
gpt-5.3-codex-sparklowNear-instant mechanical search and inventoryText-only research preview; use where available.
gpt-5.3-codex-sparkmediumBounded recon, small targeted fixes, explorer-style workOpenAI's default route for explorers and small fixers.
gpt-5.6-lunalowBounded mechanical verification supportUse only when synthesis is not required.
gpt-5.6-lunahighSmall, bounded implementation and routine workDefault economical worker route.
gpt-5.6-lunaxhighQuality-sensitive normal coding and independent reviewUse when normal work needs stronger reasoning.
gpt-5.6-terrahighLarger multi-file implementationUse for substantial cross-file reasoning.
gpt-5.6-sollowDefault Codex conversation and low-risk main-thread judgmentDo not treat it as equivalent to older-family low efforts.
gpt-5.6-solmediumSerious daily work and ambiguous substantive tasksFirst escalation when Sol low is insufficient.
gpt-5.6-solhighArchitecture, hard debugging, difficult review, and final judgmentReserve for work that genuinely needs judgment.
gpt-5.6-solxhighExceptionally hard reasoning when Astra is not warrantedDo not use for ordinary subagents.
gpt-6-astramedium+Advisor, hardest end-to-end work Sol cannot settle: hard architecture, final judgment on high-stakes outputDefault off. Do not use for routine children.

Start with the cheapest reliable route. For primary Codex conversations, start at Sol low; for delegated workers, start with the applicable Spark, Luna, or Terra route. Escalate only when uncertainty, failed validation, conflicting evidence, or task risk justifies it. Avoid max effort, ultra, Terra xhigh, and broad Sol fan-out because their quality gain usually does not justify the usage.

Prefer one strong agent over several weaker agents repeating the same work. Launch the critical-path child first, parallelize only independent units whose combined value justifies the usage, and normally cap concurrency at 2 to 3 children. Pipeline dependent checks as soon as prerequisites finish. Async reduces elapsed time, not token or quota usage; use blocked time for independent work and call wait only when the next result is required.

Spawn policy

Every Codex delegation plan should state:

  • model
  • reasoning_effort
  • role
  • exact paths
  • what to inspect first
  • user constraints
  • expected return shape

Do not omit the model unless the platform forbids model overrides. If the platform forbids overrides, say that in the plan and keep the task bounded.

Explore defaults

For Codex Explore-style work, use Spark low or Luna low only for bounded mechanical search:

  • repo or file reconnaissance
  • finding examples of a pattern
  • reading logs or terminal output
  • collecting candidate files and line references

Escalate to Spark medium or Luna high when exploration requires synthesis, Luna xhigh for quality-sensitive normal analysis, Terra high for larger multi-file work, Sol medium for ambiguous substantive work, and Sol high only when the result requires architecture or difficult judgment.

Prompt shape

Use self-contained prompts. Include enough context that the subagent does not need the main thread.

json
{
"model": "gpt-5.6-luna",
"reasoning_effort": "low",
"role": "Explore agent",
"task": "Find every place this project defines subagent model routing. Return paths, approximate lines, and a compact summary.",
"paths": [
"/absolute/path/to/repo"
],
"constraints": [
"Locate by content; line numbers are approximate.",
"Return evidence only; do not edit files."
]
}

For maker/checker/fixer loops:

  • Maker: Luna high for bounded work, Terra high for larger multi-file work, Sol medium for ambiguous substantive work.
  • Checker: Luna xhigh for normal independent review, Sol high for hard final judgment.
  • Fixer: Luna high for exact findings, Spark medium for small targeted fixes, Terra high when fixes require broad cross-file reasoning.
  • Verifier: shell checks first, Luna low only when model judgment is needed.

Completion check

Before dispatching, verify that every worker has:

  • explicit model and reasoning effort
  • a bounded task
  • explicit completion criteria: what "done" means for this task
  • exact inputs
  • a return format that is smaller than the context it consumes
  • no need to ask clarifying questions

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/joaquincampo/my-plugins/codex-model-routing/badge)](https://verified-skill.com/skills/joaquincampo/my-plugins/codex-model-routing)

Something wrong with this skill or its page? Tell us.