sonichi/sutando

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.

68CollectingCodexClaude CodeGemini CLIRuns scripts
See how to use itView GitHub source
npx skills add https://github.com/sonichi/sutando --skill "skills/claude-router"
Automated source guide

Source checked Jul 28, 2026·Refresh due Oct 26, 2026

Reorganized from the pinned upstream SKILL.md

Turn claude-router's source instructions into a guide you can follow

According to the pinned SKILL.md from sonichi/sutando: 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.

npx skills add https://github.com/sonichi/sutando --skill "skills/claude-router"
Check the pinned source

Best fit

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

Bring this context

  • A concrete task that matches the documented purpose of claude-router.
  • The files, examples, or context the task depends on.
  • Your constraints, target environment, and definition of done.

Expected outputs

  • A result that follows the pinned claude-router instructions.
  • A concise record of assumptions, inputs used, and unresolved questions.
  • A final check against the source workflow and relevant permission signals.

Key source sections

Read claude-router through these 5 source sections

Sections are extracted automatically from the pinned SKILL.md and link back to the source.

01

Routing Rules

If the request explicitly names codex or gemini, honor that directly.

SKILL.md · Routing Rules
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).

SKILL.md · 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…- 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.

SKILL.md · 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.
04

Quick Checks

Review the “Quick Checks” section in the pinned source before continuing.

SKILL.md · Quick Checks
Review and apply the “Quick Checks” source section.
05

Common Commands

Review the “Common Commands” section in the pinned source before continuing.

SKILL.md · Common Commands
Review and apply the “Common Commands” source section.

SkillSignal prompt templates

Provide the task, context, and acceptance criteria

These prompts were written by SkillSignal from the source structure; they are not upstream text.

Task-start prompt

Confirm source fit, inputs, and outputs before acting.

Use claude-router to help me with: [specific task]. Context: [files, data, or background]. Constraints: [environment, scope, and prohibited actions]. Before acting, check the pinned SKILL.md and explain which sections apply, what inputs are still missing, and what you will deliver.

Source-guided execution

Make the Agent explicitly follow the key extracted sections.

Apply the pinned claude-router source to [task]. Pay particular attention to these source sections: “Routing Rules”, “When NOT to Use”, “Default Behavior”, “Quick Checks”, “Common Commands”. Preserve the important decision at each step. Mark facts not covered by the source as “needs confirmation” instead of inventing them. Then verify the result against my acceptance criteria: [criteria].

Result-review prompt

Check omissions, permissions, and source drift before delivery.

Review the current claude-router result: (1) does it satisfy the original task; (2) were any applicable steps or limits in the pinned SKILL.md missed; (3) did it perform any unauthorized file, command, network, or data action; and (4) which conclusions remain unverified? List issues first, then fix only what the source or user authorization supports.

Output checklist

Verify each item before delivery

The task matches the purpose documented in the SKILL.md.

The source section “Routing Rules” has been checked.

The source section “When NOT to Use” has been checked.

The source section “Default Behavior” has been checked.

The source section “Quick Checks” has been checked.

Inputs, constraints, and acceptance criteria are explicit.

Unverified facts, compatibility, and outcome claims are clearly marked.

Any file, command, network, or data action has been reviewed.

Choose a different workflow

When another Skill is the better fit

FAQ

What does claude-router do?

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.

How do I start using claude-router?

The catalog detected this source-specific install command: npx skills add https://github.com/sonichi/sutando --skill "skills/claude-router". Inspect the command and pinned source before running it.

Which Agent platforms does it declare?

codex, claude code, gemini cli

Repository stars
359
Repository forks
79
Quality
68/100
Source repository last pushed

Quality breakdown

Based on traceable docs and repository signals; stars are not treated as quality.

68/100
Documentation26/30
Specificity12/25
Maintenance20/20
Trust signals10/25

Compare before choosing

Related Agent Skills and source variants

These links are selected from shared tasks, functions, stacks, platforms, and same-name variants. Compare the source owner, documentation, permissions, and maintenance signals.

dmux-workflows by affaan-m

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.

dmux-workflows by affaan-m

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.

claude-codex by sonichi

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.

code-reviewer by jeffallan

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

swiftui-performance by dpearson2699

Profile, diagnose, and remediate SwiftUI runtime performance using code review, Instruments, and repeatable measurements. Use when a SwiftUI screen renders slowly, scrolling or animations hitch, view bodies update excessively, list identity churns, layout work spikes, or broad Observation dependencies raise CPU cost. Covers evidence-based triage, SwiftUI Instruments lanes, lazy-container guardrails, state lifetime, and before/after verification.

View original Skill.mdThis page is parsed directly from the repository SKILL.md without editorial rewriting. Collected: Jul 28, 2026 · about 2 min

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"
Source repo
sonichi/sutando
Skill path
skills/claude-router/SKILL.md
Commit SHA
6a8f0fccd32e
Repository license
MIT
Data collected