smart-router SKILL.md skillA

smart-router from databricks/unity-gateway is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add databricks/unity-gateway/smart-router@v1.4.0

Pins v1.4.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
databricks/unity-gateway
Path
skills/smart-router/SKILL.md
Versions recorded
5
Latest version
v1.4.0, committed Oct 20, 2026
First version recorded
Oct 1, 2026
Size
3,342 bytes
Repository stars
113
License
a license file GitHub does not identify

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.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Smart Router

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

- In Claude Code, run exactly `"$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli claude --enable-smart-routing` for `on` or
  `"$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli claude --disable-smart-routing` for `off`.
- In Codex, run exactly `"$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli codex --enable-smart-routing` for `on` or
  `"$UCODE_SMART_ROUTER_PYTHON" -m ucode.cli codex --disable-smart-routing` for `off`.

In PowerShell, use `& "$env:UCODE_SMART_ROUTER_PYTHON"` in place of
`"$UCODE_SMART_ROUTER_PYTHON"`; keep the remaining arguments the same.
If `UCODE_SMART_ROUTER_PYTHON` or `UCODE_SESSION_ENV_FILE` is unset, ask the user
to restart through an updated Unity Gateway with smart routing enabled.

If the off command requires feedback, routing is still on. Ask why the user is
turning Smart Router off. Require at least 16 characters after trimming surrounding
whitespace; ask again if the reason is shorter. Never invent or pad their reason.
If they cancel, stop without disabling routing. Once they provide a valid reason,
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add databricks/unity-gateway/smart-router@sha256:38b83c048accb383

The line at the top of this page pins the label v1.4.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ursnnp5i74bjmqtp.svg)](https://markdownregistry.com/a/art_ursnnp5i74bjmqtp)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Oct 1, 2026 and Oct 20, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
v1.4.0 latest2026-10-20 e0958c1 3,342 BA view · diff
v1.4.02026-10-19 79251fe 3,294 BA view · diff
v1.2.02026-10-08 2ff1d8a 2,360 BA view · diff
v1.1.02026-10-01 dbfab33 1,603 BA view · diff
v1.0.02026-10-01 6149fe4 845 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3342 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

databricks/unity-gateway · 113 stars · license a license file GitHub does not identify · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ursnnp5i74bjmqtp
GET https://markdownregistry.com/api/v1/resolve?ref=databricks/unity-gateway/smart-router
GET https://markdownregistry.com/api/v1/blob/38b83c048accb383cd2319ab27a9ee3872cc48f6f05053baaa472b95298536c9

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from databricks/unity-gateway

AGENTS.md AGENTS.md file
databricks/unity-gateway · AGENTS.md
git:20261021.4da19ea · audit A · 113 stars
CLAUDE.md CLAUDE.md file
databricks/unity-gateway · CLAUDE.md
git:20261001.dbfab33 · audit A · 113 stars
AGENTS.md@bench/terminal_bench/tasks/project-instructions/environment/app AGENTS.md file
databricks/unity-gateway · bench/terminal_bench/tasks/project-instructions/environment/app/AGENTS.md
git:20261014.1098cc0 · audit A · 113 stars
CLAUDE.md@bench/terminal_bench/tasks/project-instructions/environment/app CLAUDE.md file
databricks/unity-gateway · bench/terminal_bench/tasks/project-instructions/environment/app/CLAUDE.md
git:20261014.1098cc0 · audit A · 113 stars
release-notes SKILL.md skill
databricks/unity-gateway · bench/terminal_bench/tasks/project-skill/environment/app/.claude/skills/release-notes/SKILL.md · Build release notes for this project. Use whenever someone asks for release notes or a changelog.
git:20261014.1098cc0 · audit A · 113 stars
AGENTS.md@tests AGENTS.md file
databricks/unity-gateway · tests/AGENTS.md
git:20261021.c6462df · audit A · 113 stars
CLAUDE.md@tests CLAUDE.md file
databricks/unity-gateway · tests/CLAUDE.md
git:20260917.7b439c1 · audit A · 113 stars
AGENTS.md@tests/e2e_cuj AGENTS.md file
databricks/unity-gateway · tests/e2e_cuj/AGENTS.md
git:20261008.bd5fbe6 · audit A · 113 stars

Every file in databricks/unity-gateway

Browse by kind, by grade A, or by owner.