Source profileQuality 68/100Review permissions

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.

Best for

    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

    PlatformStatusEvidenceWhat to check
    CodexDeclaredSource recordInstall path and trigger
    Claude CodeDeclaredSource recordInstall path and trigger
    CursorNot declaredNo explicit evidencePortability before use
    Gemini CLIDeclaredSource recordInstall path and trigger
    Open the compatibility checker

    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.

    Source-detected install commandSource
    npx skills add https://github.com/sonichi/sutando --skill "skills/claude-router"
    Safe inspection promptEditorial

    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

    1. 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
    2. 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).
    3. 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.
    4. 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

    medium · line 39

    The documentation asks the agent to run terminal commands or scripts.

    bash "$SKILL_DIR/scripts/route-ai.sh" --check

    Runs scripts

    medium · line 46

    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

    EvidenceSourceComputedTestedEditorial
    SignalValueEvidence typeMeaning
    Quality score68/100ComputedDocumentation, specificity, maintenance, and trust rules
    Repository stars359SourceRepository attention, not individual Skill quality
    Compatibility3 platformsSourceDeclared in the catalog source record
    Usage guideautomated source guideEditorialGenerated 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 codex for:
      • code review
      • bug hunting in a small or medium code slice
      • implementation requests
      • patch validation on current changes
    • Route to gemini for:
      • 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 the claude-codex skill's bash wrapper, not the plugin.

      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).

    Default Behavior

    • 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.

    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

    Computed 85234,327

    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.

    Computed 83234,327

    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.

    Computed 83359

    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.

    Computed 8610,762

    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