sonichi/sutando/skills/claude-router/SKILL.md
claude-router
Choose between the local Codex CLI and Gemini CLI from Claude Code. Use for automatic model selection when the user wants the best local delegate for code review, repo-wide analysis, planning, or implementation.
- Source repository stars
- 359
- Declared platforms
- 3
- Static risk flags
- 1
- Last source update
- 2026-07-28
- Source checked
- 2026-07-28
Decision brief
What it does—and where it fits
Route a task from Claude Code to either local codex or local gemini using simple, explicit rules. This skill assumes the dedicated claude-codex and claude-gemini skills are installed from this repo.
Not for
- Interactive code review or task hand-off from this Claude Code session → use the /codex: plugin commands directly (/codex:review, /codex:adversarial-review, /codex:rescue, /codex:status). The router is for programmatic…
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Declared | Source record | Install path and trigger |
| Claude Code | Declared | Source record | Install path and trigger |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Declared | Source record | Install path and trigger |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/sonichi/sutando --skill "skills/claude-router"Inspect the Agent Skill "claude-router" from https://github.com/sonichi/sutando/blob/6a8f0fccd32e5aa620a3572c8885544f144bb6fe/skills/claude-router/SKILL.md at commit 6a8f0fccd32e5aa620a3572c8885544f144bb6fe. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Routing Rules
If the request explicitly names codex or gemini, honor that directly.
Route to codex for:code reviewbug hunting in a small or medium code slice - 02
When NOT to Use
If you don't see /codex: slash-commands, install the plugin via the 4 commands documented in skills/claude-codex/SKILL.md ("When NOT to Use" section).
Interactive code review or task hand-off from this Claude Code session → use the /codex: plugin commands directly (/codex:review, /codex:adversarial-review, /codex:rescue, /codex:status). The router is for programmatic…- Interactive code review or task hand-off from this Claude Code session → use the /codex: plugin commands directly (/codex:review, /codex:adversarial-review, /codex:rescue, /codex:status). The router is for programmati…If you don't see /codex: slash-commands, install the plugin via the 4 commands documented in skills/claude-codex/SKILL.md ("When NOT to Use" section). - 03
Default Behavior
Default review-oriented prompts to Codex.
Default review-oriented prompts to Codex.Default broad analysis prompts to Gemini in plan approval mode.Keep execution in the current workspace unless the user requested a different directory. - 04
Quick Checks
Review the “Quick Checks” section in the pinned source before continuing.
Review and apply the “Quick Checks” source section.
Permission review
Static risk signals and limitations
Runs scripts
The documentation asks the agent to run terminal commands or scripts.
bash "$SKILL_DIR/scripts/route-ai.sh" --checkRuns scripts
The documentation asks the agent to run terminal commands or scripts.
bash "$SKILL_DIR/scripts/route-ai.sh" -- "Review the current diff for regressions"Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 68/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 359 | Source | Repository attention, not individual Skill quality |
| Compatibility | 3 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- sonichi/sutando
- Skill path
- skills/claude-router/SKILL.md
- Commit
- 6a8f0fccd32e5aa620a3572c8885544f144bb6fe
- License
- MIT
- Collected
- 2026-07-28
- Default branch
- main
View the original SKILL.md
Claude Router
Route a task from Claude Code to either local codex or local gemini using simple, explicit rules. This skill assumes the dedicated claude-codex and claude-gemini skills are installed from this repo.
Usage: /claude-router [prompt]
ARGUMENTS: $ARGUMENTS
Routing Rules
- Route to
codexfor:- code review
- bug hunting in a small or medium code slice
- implementation requests
- patch validation on current changes
- Route to
geminifor:- repo-wide scans
- architecture and dependency tracing
- large-context summarization
- multimodal or structured JSON output requests
If the request explicitly names codex or gemini, honor that directly.
When NOT to Use
-
Interactive code review or task hand-off from this Claude Code session → use the
/codex:*plugin commands directly (/codex:review,/codex:adversarial-review,/codex:rescue,/codex:status). The router is for programmatic delegation from scripts, cron, and bridges — it goes through theclaude-codexskill's bash wrapper, not the plugin.If you don't see
/codex:*slash-commands, install the plugin via the 4 commands documented inskills/claude-codex/SKILL.md("When NOT to Use" section).
Default Behavior
- Default review-oriented prompts to Codex.
- Default broad analysis prompts to Gemini in
planapproval mode. - Keep execution in the current workspace unless the user requested a different directory.
Quick Checks
bash "$SKILL_DIR/scripts/route-ai.sh" --check
Common Commands
# Auto-route based on prompt
bash "$SKILL_DIR/scripts/route-ai.sh" -- "Review the current diff for regressions"
# Force Codex
bash "$SKILL_DIR/scripts/route-ai.sh" --engine codex -- "Inspect src/task-bridge.ts for races"
# Force Gemini
bash "$SKILL_DIR/scripts/route-ai.sh" --engine gemini -- "Trace task flow across the entire repo"
# Dry-run the route decision without executing
bash "$SKILL_DIR/scripts/route-ai.sh" --dry-run -- "Summarize architecture risks in this repo"
If Invoked As A Slash Command
- If ARGUMENTS is empty, explain the route rules and suggest a plain prompt.
- If ARGUMENTS is present, run:
bash "$SKILL_DIR/scripts/route-ai.sh" -- "$ARGUMENTS"
Alternatives
Compare before choosing
affaan-m/ECC
dmux-workflows
Multi-agent orchestration using dmux (tmux pane manager for AI agents). Patterns for parallel agent workflows across Claude Code, Codex, OpenCode, and other harnesses. Use when running multiple agent sessions in parallel or coordinating multi-agent development workflows.
affaan-m/ECC
dmux-workflows
Multi-agent orchestration using dmux (tmux pane manager for AI agents). Patterns for parallel agent workflows across Claude Code, Codex, OpenCode, and other harnesses. Use when running multiple agent sessions in parallel or coordinating multi-agent development workflows.
sonichi/sutando
claude-codex
Bash wrapper around the local Codex CLI for non-interactive runs from inside Sutando (bridges, cron, scripts). For interactive code review or task hand-off from this Claude Code session, prefer the official `/codex:*` plugin commands; this skill is the file-bridge-compatible path that `discord-bridge.py` invokes for team-tier sandboxed delegation.
Jeffallan/claude-skills
code-reviewer
Analyzes code diffs and files to identify bugs, security vulnerabilities (SQL injection, XSS, insecure deserialization), code smells, N+1 queries, naming issues, and architectural concerns, then produces a structured review report with prioritized, actionable feedback. Use when reviewing pull requests, conducting code quality audits, identifying refactoring opportunities, or checking for security issues. Invoke for PR reviews, code quality checks, refactoring suggestions, review code, code quali