joaquincampo/my-plugins/codex-model-routing
Claude Code and agent skill by joaquincampo/my-plugins
- community
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-routingSKILL.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
| Model | Effort | Use for | Guidance | |
|---|---|---|---|---|
gpt-5.3-codex-spark | low | Near-instant mechanical search and inventory | Text-only research preview; use where available. | |
gpt-5.3-codex-spark | medium | Bounded recon, small targeted fixes, explorer-style work | OpenAI's default route for explorers and small fixers. | |
gpt-5.6-luna | low | Bounded mechanical verification support | Use only when synthesis is not required. | |
gpt-5.6-luna | high | Small, bounded implementation and routine work | Default economical worker route. | |
gpt-5.6-luna | xhigh | Quality-sensitive normal coding and independent review | Use when normal work needs stronger reasoning. | |
gpt-5.6-terra | high | Larger multi-file implementation | Use for substantial cross-file reasoning. | |
gpt-5.6-sol | low | Default Codex conversation and low-risk main-thread judgment | Do not treat it as equivalent to older-family low efforts. | |
gpt-5.6-sol | medium | Serious daily work and ambiguous substantive tasks | First escalation when Sol low is insufficient. | |
gpt-5.6-sol | high | Architecture, hard debugging, difficult review, and final judgment | Reserve for work that genuinely needs judgment. | |
gpt-5.6-sol | xhigh | Exceptionally hard reasoning when Astra is not warranted | Do not use for ordinary subagents. | |
gpt-6-astra | medium+ | Advisor, hardest end-to-end work Sol cannot settle: hard architecture, final judgment on high-stakes output | Default 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:
modelreasoning_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.
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
- SKILL.md in the repositoryCheckingtools/skills/codex-model-routing/SKILL.md
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
[](https://verified-skill.com/skills/joaquincampo/my-plugins/codex-model-routing)