# Claudex Route

Recommend a model and a scoped handoff for a task in Claude Code or Codex.

- Repository: https://github.com/chaseai-yt/claudex-loop (3314 stars)
- Category: AI and agents
- License: see repository
- Last updated: 2026-10-14
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add chaseai-yt/claudex-loop --skill claudex-route -g -a claude-code -y`
Codex: `npx skills add chaseai-yt/claudex-loop --skill claudex-route -g -a codex -y`
Cursor: `npx skills add chaseai-yt/claudex-loop --skill claudex-route -g -a cursor -y`
Gemini CLI: `npx skills add chaseai-yt/claudex-loop --skill claudex-route -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add chaseai-yt/claudex-loop`

## Description

Recommend a model and a scoped handoff for a task in Claude Code or Codex. Use when choosing who should handle a task, seeking a second opinion, getting unstuck, or delegating focused work; execute one handoff when requested.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Claudex Route

Choose a useful next step for the task: keep it with the current agent, obtain a second opinion, investigate a blocker, or delegate a bounded piece of work. Give a brief recommendation before any requested execution. This skill is self-contained and does not start Claudex Loop, require a formal plan, or create review logs.

## Understand the job

Use the current conversation and just enough relevant project context to identify the host, current model when known, desired outcome, and constraints. Consider ambiguity, code dependencies, verification difficulty, context size, and cost or speed preferences. A short prompt can describe a difficult task. Preserve explicit model and provider choices; do not silently replace them with your preferred pairing.

Treat a request for advice as recommendation-only. A request to route and perform work authorizes the scoped handoff within the user's existing permissions. The skill invocation by itself does not authorize implementation. Ask a question only when a missing fact materially changes the recommendation or authorized work; otherwise state your assumption.

## Choose the role before the model

The rest: https://github.com/chaseai-yt/claudex-loop/blob/HEAD/skills/claudex-route/SKILL.md
