Official agent skill

Smart Router

by databricks in databricks/unity-gateway

Enable or disable Unity Gateway subagent model routing for the current smart-routed Claude or Codex session, along with Smart Router Orchestrator when opted in.

OfficialCustom licenceAuto-check passedGame Development

Install Smart Router

skills CLI
$ npx skills add databricks/unity-gateway --skill smart-router -a claude-code

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

GitHub CLI
$ gh skill install databricks/unity-gateway smart-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).

Manual copy
$ git clone --depth 1 https://github.com/databricks/unity-gateway.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/smart-router .claude/skills/smart-router && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

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

Facts

Skill name
smart-router
GitHub stars
109
Token cost
~590 tokens
SKILL.md length
231 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
Custom licence

At a glance

Enable or disable Unity Gateway subagent model routing for the current smart-routed Claude or Codex session, along with Smart Router Orchestrator when opted in.

  • Tasks that involve Model routing and gateways
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Subagents

What it does

Smart Router is an agent skill from databricks/unity-gateway, published by the product's own GitHub organization. Enable or disable Unity Gateway subagent model routing for the current smart-routed Claude or Codex session, along with Smart Router Orchestrator when opted in.

Its SKILL.md is about 590 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Game Development, covering Model routing and gateways and Subagents. It works with Python.

When your agent uses it

  • Tasks that involve Model routing and gateways
  • Tasks that involve Subagents

Example prompts

  • “/smart-router”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Bash("$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli claude --enable-smart-routing), Bash("$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli claude --disable-smart-routing), Bash("$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli codex --enable-smart-routing), Bash("$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli codex --disable-smart-routing)

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash("$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli claude --enable-smart-routing)
    • Bash("$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli claude --disable-smart-routing)
    • Bash("$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli codex --enable-smart-routing)
    • Bash("$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli codex --disable-smart-routing)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    No URLs in SKILL.md.

    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

Smart Router loads about 590 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 231 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 231 words (~590 tokens).

“Use the Python executable exported by the launching Unity Gateway installation. Keep its path quoted and do not substitute ug or python from PATH.”

— opening of SKILL.md by databricks, Custom licence
name
smart-router
allowed-tools
Bash("$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli claude --enable-smart-routing), Bash("$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli claude --disable-smart-routing), Bash("$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli codex --enable-smart-routing), Bash("$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli codex --disable-smart-routing)
metadata.version
1.2.0

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/smart-router of databricks/unity-gateway.

Open the folder on GitHubat commit 2ff1d8a

Compare with similar skills

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

Smart Router compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Smart Router this skilldatabricks/unity-gateway109—~590Automated safety check: PassCustom licence
Pydantic AI Harnesspydantic/pydantic-ai20k—~4.9kAutomated safety check: PassMIT
Agent Squad Python Guide2FastLabs/agent-squad7.8k—~4.7kAutomated safety check: PassApache-2.0
Agent BuildershareAI-lab/lab-skills314—~1.4kAutomated safety check: PassApache-2.0
Agent Harness BuilderFareedKhan-dev/claude-code-from-scratch298—~1.1kAutomated safety check: PassMIT
Fable Foremanolsenbrands/fable-foreman142—~5.2kAutomated safety check: PassMIT

Similar skills

  • Pydantic AI Harness

    pydantic/pydantic-ai

    Official

    Adds optional capabilities to Pydantic AI agents from pydantic-ai-harness, led by Code Mode, which runs many tool calls as one sandboxed Python script.

    20k GitHub stars~4.9k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Agent Squad Python Guide

    2FastLabs/agent-squad

    Map of the agent-squad Python framework for async multi-agent orchestration: which agent, classifier, storage and tool provider to pick, and the pitfalls to avoid.

    7.8k GitHub stars~4.7k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Agent Builder

    shareAI-lab/lab-skills

    Helps design and build AI agents for any domain around a minimal loop of capabilities, knowledge and context, adding planning or subagents only when needed.

    314 GitHub stars~1.4k tokensUpdated 22 days ago
    AI & LLM EngineeringAuto-check passed
  • Agent Harness Builder

    FareedKhan-dev/claude-code-from-scratch

    Gives patterns, a tool design checklist and an architecture decision tree for building agent harnesses, tools and multi-agent setups around a model.

    298 GitHub stars~1.1k tokensUpdated 6 mo ago
    AI & LLM EngineeringAuto-check passed
  • Fable Foreman

    olsenbrands/fable-foreman

    Turns the lead model into a foreman that plans, routes and verifies while cheaper Claude, Codex or Grok workers do the typing, using a per-machine routing card.

    142 GitHub stars~5.2k tokensUpdated 14 days ago
    Agent WorkflowsAuto-check passed
  • Claudish Usage

    MadAppGang/claudish

    CRITICAL - Guide for using Claudish CLI ONLY through sub-agents to run Claude Code with any AI model (OpenRouter, Gemini, OpenAI, local models).

    1k GitHub stars~9k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from databricks/unity-gateway

  • Smart Router Orchestrator

    databricks/unity-gateway

    Official

    Smart Router Orchestrator coordinates substantive development with native subagents when ENABLESMARTROUTERORCHESTRATOR=1 and Unity Gateway smart routing is enabled.

    109 GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Questions about Smart Router

What does Smart Router do?

Enable or disable Unity Gateway subagent model routing for the current smart-routed Claude or Codex session, along with Smart Router Orchestrator when opted in. Smart Router is an agent skill from databricks/unity-gateway, published by the product's own GitHub organization. Enable or disable Unity Gateway subagent model routing for the current smart-routed Claude or Codex session, along with Smart Router Orchestrator when opted in.

When should I use Smart Router?

Smart Router fits situations like: tasks that involve Model routing and gateways; tasks that involve Subagents.

How do I install Smart Router in Claude Code?

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

How do I install Smart Router in Codex?

Run `npx skills add databricks/unity-gateway --skill smart-router -a codex`. Or copy the skill folder (skills/smart-router in databricks/unity-gateway) into .agents/skills/smart-router in your project. Codex loads it when a task matches its description.

Can I use Smart 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 databricks/unity-gateway --skill smart-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/smart-router, .gemini/skills/smart-router, .github/skills/smart-router and .opencode/skills/smart-router in your project.

What does Smart Router need to run?

SKILL.md names no scripts, command-line tools or credentials: Smart Router is instructions for the agent only. Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash("$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli claude --enable-smart-routing), Bash("$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli claude --disable-smart-routing), Bash("$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli codex --enable-smart-routing), Bash("$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli codex --disable-smart-routing).

Does Smart Router access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Smart Router safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Smart Router use?

Smart Router has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Smart Router use?

About 590 tokens (SKILL.md is roughly 2.4k 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 Smart Router?

Skills that share tags, products or a category with Smart Router: Pydantic AI Harness (pydantic/pydantic-ai, 20k stars), Agent Squad Python Guide (2FastLabs/agent-squad, 7.8k stars), Agent Builder (shareAI-lab/lab-skills, 314 stars) and Agent Harness Builder (FareedKhan-dev/claude-code-from-scratch, 298 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Smart Router?

databricks (a GitHub organization, an official publisher) maintains it in databricks/unity-gateway, which has 109 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 8, 2026.

Source: databricks/unity-gateway on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.