# codex route advisor

> Automate task decomposition and model routing for complex engineering workflows with explicit dispatch planning.

codex route advisor is a free AI agent skill on Agensi by Gnimnek Wang, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Gnimnek Wang](https://www.agensi.io/creators/kenming)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Uses: 3
- Version: 1.0
- Last updated: 2026-10-09
- Security: scan passed (2026-10-09); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/codex-route-advisor
- Tags: ai-agents, automation, llm-ops, node-js

## About this skill

Manual model selection often leads to inefficient resource use or task failure when complexity exceeds the model capacity. This skill acts as an intelligent advisor that decomposes engineering requests into bounded tasks and recommends the optimal model, reasoning effort, and toolset for each. It prevents bottlenecks by identifying parallel execution opportunities and providing reliable agent fallbacks.

### What it does
- **Task decomposition** breaks complex engineering requirements into independent, manageable bounded tasks.
- **Routing assessment** evaluates task complexity, reasoning requirements, and tool needs to select the right model tier.
- **Dispatch planning** generates an execution graph including dependencies, parallel groups, and conditional logic.
- **Model escalation control** enforces user-defined limits on model usage to manage costs and resource allocation.
- **Execution tracing** records detailed evidence of model assignments and task outcomes for auditing and debugging.

### How it works
1. **Analyze** the user request to determine if it requires a new implementation, fix, refactor, or migration.
2. **Decompose** the requirement into a graph of bounded tasks with clear acceptance criteria and dependencies.
3. **Assess** each task using a routing taxonomy (Fast, Balanced, Strong, Long) to assign specific model profiles.
4. **Generate** a Dispatch Plan that defines the execution order, parallel safety, and worker allocation.

### Frameworks & tools
This skill utilizes specialized Node.js scripts for task decomposition and routing primitives. It integrates with Jev for production-grade assessments and uses the Codex model inventory to resolve concrete model IDs and reasoning efforts.

### Why this beats prompting it yourself
Static prompts cannot dynamically evaluate task complexity or perform parallel-safety passes across a dependency graph. This skill automates the logic for model escalation and fallback, ensuring high-stakes tasks get the reasoning they need while routine fixes use faster, cheaper resources.

### Use cases
- **Complex refactoring** where changes must be split across implementation and focused verification cycles.
- **Multi-step migrations** requiring long-context planning followed by high-confidence execution tasks.
- **Root cause diagnosis** where a failure in one task triggers a conditional, high-reasoning diagnostic worker.
- **Parallel development** identifying independent tasks that can be delegated to sub-agents concurrently.

### Known limitations
This skill is an advisor for planning and does not perform the actual code execution or tool interception. It requires a host-provided model inventory to resolve concrete model IDs.

## Requires

- Node.js

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the codex route advisor skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does the codex route advisor reduce operational costs in engineering workflows?

This skill prevents resource waste by intelligently routing simple tasks to efficient models while reserving high-reasoning models for complex engineering logic, ensuring you don't overpay for basic refactors or under-power critical migrations.

### Which AI agents or frameworks are compatible with this skill?

Codex Route Advisor currently supports OpenAI Codex App and Codex CLI only. While it follows the open SKILL.md standard, compatibility with other AI agents or frameworks, including Claude Code, Cursor, Gemini CLI, and VS Code Copilot, is not currently supported.

The skill uses Codex-specific model discovery and routing capabilities. A model inventory is automatically discovered when available, rather than requiring users to provide one manually.

### What specific components are included in the purchase?

You receive the core Node.js decomposition scripts, the routing taxonomy logic, and the dispatch planning engine, all designed to be integrated into your existing CI/CD or agentic pipelines.

### Does the advisor perform the actual code changes, or just the planning?

No, this skill functions as an 'architect' that generates a detailed execution graph and dispatch plan; you will need a separate execution agent or runner to perform the actual coding or tool calls based on the advisor's plan.

### How does the skill determine which engineering tasks can be run in parallel?

The advisor analyzes your request to identify 'independent tasks'—components that do not share state or dependencies—and explicitly flags them in the Dispatch Plan for simultaneous execution.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
