Agent skill

Code Review Router

by win4r in win4r/agent-skills-code-review-router

Intelligently routes code reviews between Gemini CLI and Codex CLI based on tech stack, complexity, and change characteristics.

No licenceAuto-check: notesDevelopment

Install Code Review Router

skills CLI
$ npx skills add win4r/agent-skills-code-review-router --skill code-review-router -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install win4r/agent-skills-code-review-router code-review-router --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-review-router
GitHub stars
125
Token cost
~2k tokens
SKILL.md length
590 words
Files
2
Skills in repo
1
Repo updated
First seen
Licence
None found

At a glance

Intelligently routes code reviews between Gemini CLI and Codex CLI based on tech stack, complexity, and change characteristics.

  • Works in 9 steps: Environment Check → Prerequisites Check → Analyze Git Diff → …
  • You want an automated code review of your current changes
  • SKILL.md covers When NOT to Use This Skill, Step 0: Environment Check, Step 1: Prerequisites Check and Step 2: Analyze Git Diff, plus 7 more sections
  • Calls git, fastapi and rails

What it does

Code Review Router is an agent skill from win4r/agent-skills-code-review-router. Intelligently routes code reviews between Gemini CLI and Codex CLI based on tech stack, complexity, and change characteristics. Use when you want an automated code review of your current changes.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).

It sits in Development, covering Code review. It works with Git.

When your agent uses it

  • You want an automated code review of your current changes
  • Tasks that involve Code review

Example prompts

  • “/code-review-router”

Requirements

  • Python 3

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Environment Check
  2. Prerequisites Check
  3. Analyze Git Diff
  4. Calculate Complexity Score
  5. Detect Language & Framework
  6. Apply Routing Decision Tree
  7. Execute Review
  8. Handle Failures with Fallback
  9. Format Output

What it can do on your machine

Read from SKILL.md and the folder at commit dd37496. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • fastapi
    • rails
    • gemini
    • codex

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Code Review Router loads about 2k tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 590 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~54
When it runs · the whole SKILL.md, loaded when a task matches
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:144
    .env*

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 590 words (~1,974 tokens).

“Routes code reviews to the optimal CLI (Gemini or Codex) based on change characteristics.”

— opening of SKILL.md by win4r
name
code-review-router

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in the repository root of win4r/agent-skills-code-review-router.

  • SKILL.md
  • README.md

Open the folder on GitHubat commit dd37496

Compare with similar skills

Code Review Router next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Code Review Router compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Review Router this skillwin4r/agent-skills-code-review-router125—~2kAutomated safety check: NotesNone
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Understand Diff AnalysisEgonex-AI/Understand-Anything86k1 repos~1.4kAutomated safety check: PassMIT
Open Code Review CLIalibaba/open-code-review44k—~3.1kAutomated safety check: PassApache-2.0
Hunk Diff Session Controlmodem-dev/hunk9.5k1 repos~3.4kAutomated safety check: PassMIT
Open Code Review Delegatealibaba/open-code-review44k—~2kAutomated safety check: PassApache-2.0

Similar skills

  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    86k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Open Code Review CLI

    alibaba/open-code-review

    Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.

    44k GitHub stars~3.1k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Interacts with live Hunk diff review sessions via CLI. Inspects review focus, navigates files, hunks, and exact lines, reloads session contents, adds inline…

    9.5k GitHub starsUsed in 1 repo~3.4k tokens
    DevelopmentAuto-check passed
  • Open Code Review Delegate

    alibaba/open-code-review

    Has the host agent do the code review itself while the ocr CLI handles file selection and rule lookup, covering workspace changes, branch ranges or single commits.

    44k GitHub stars~2k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Code Review

    flutter/flutter

    Performs a comprehensive, multi-step code review of pull requests or local code changes, using iterative refinement (generation, critique, synthesis) to ensure high-quality, actionable feedback.

    179k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed

Works with

Categories

Questions about Code Review Router

What does Code Review Router do?

Intelligently routes code reviews between Gemini CLI and Codex CLI based on tech stack, complexity, and change characteristics. Code Review Router is an agent skill from win4r/agent-skills-code-review-router. Intelligently routes code reviews between Gemini CLI and Codex CLI based on tech stack, complexity, and change characteristics.

When should I use Code Review Router?

Code Review Router fits situations like: you want an automated code review of your current changes; tasks that involve Code review.

How do I install Code Review Router in Claude Code?

Run `npx skills add win4r/agent-skills-code-review-router --skill code-review-router -a claude-code`. Or copy the skill folder (the win4r/agent-skills-code-review-router repository) into .claude/skills/code-review-router in your project. Claude Code loads it when a task matches its description.

How do I install Code Review Router in Codex?

Run `npx skills add win4r/agent-skills-code-review-router --skill code-review-router -a codex`. Or copy the skill folder (the win4r/agent-skills-code-review-router repository) into .agents/skills/code-review-router in your project. Codex loads it when a task matches its description.

Can I use Code Review Router in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add win4r/agent-skills-code-review-router --skill code-review-router -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-review-router, .gemini/skills/code-review-router, .github/skills/code-review-router and .opencode/skills/code-review-router in your project.

What does Code Review Router need to run?

Going by SKILL.md and its folder, Code Review Router needs the command-line tools its instructions call (git, fastapi, rails, gemini and codex). Our summary lists: Python 3.

Does Code Review Router access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Code Review Router safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Code Review Router use?

No licence was found for Code Review Router or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Code Review Router use?

About 2k tokens (SKILL.md is roughly 7.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Code Review Router?

Skills that share tags, products or a category with Code Review Router: Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Understand Diff Analysis (Egonex-AI/Understand-Anything, 86k stars), Open Code Review CLI (alibaba/open-code-review, 44k stars) and Hunk Diff Session Control (modem-dev/hunk, 9.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Review Router?

win4r (a GitHub user) maintains it in win4r/agent-skills-code-review-router, which has 125 GitHub stars. The repository was last updated on January 17, 2026.

Source: win4r/agent-skills-code-review-router on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.