smart-router-orchestrator
This skill coordinates task distribution across native subagents when smart routing is enabled, with the root agent handling planning and integration while…
Identity proven by GitHub's verified organisation badge (databricks)
- Agents
- Claude Code
- License
- Apache-2.0 (permissive)
- Pin
- bd5fbe6pinned Oct 9, 2026
- Context cost
- about 1,900 tokenswhen the skill loads
- GitHub stars
- 109on databricks/unity-gateway
- Scripts
- None found
What it does
“Smart Router Orchestrator coordinates substantive development with native subagents when ENABLE_SMART_ROUTER_ORCHESTRATOR=1 and Unity Gateway smart routing is enabled. Follow UG's activation context. Skip easy tasks and explicit no-subagent requests.”
Generated summary from the skill's own text
This skill coordinates task distribution across native subagents when smart routing is enabled, with the root agent handling planning and integration while delegating bounded work to specialized children for exploration, research, implementation, testing, and review. It decides when to delegate based on context cost and latency tradeoffs, then collects and verifies child results before final handoff.
When to use it
- Task involves independent pieces of work that children can execute in parallel
- Need to investigate code patterns, verify external facts, or implement changes across files
- Root agent context size or cost would benefit from delegating bulk work
- Substantive development work requires specialized roles like exploration or testing
When not to
- User explicitly requests no subagent delegation or single-agent handling
- Smart routing is disabled or session lacks ENABLE_SMART_ROUTER_ORCHESTRATOR=1
- Work is trivial, self-contained, or already has necessary context in root
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add databricks/unity-gateway --skill smart-router-orchestratorInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install databricks/unity-gateway smart-router-orchestrator@bd5fbe60f8d34ce82e8c4eaa267cc33a7098b17bInstalls the commit we checked (bd5fbe6).
Copy by hand
Download the folder at bd5fbe6 and put it in .claude/skills/smart-router-orchestrator for Claude Code and in .agents/skills/smart-router-orchestrator for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Claude Code plugin
/plugin install databricks@claude-plugins-officialThe publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "smart-router-orchestrator" by Databricks. Source, pinned to commit bd5fbe60f8d34ce82e8c4eaa267cc33a7098b17b: https://github.com/databricks/unity-gateway/tree/bd5fbe60f8d34ce82e8c4eaa267cc33a7098b17b/skills/smart-router-orchestrator 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/smart-router-orchestrator/ for Claude Code and .agents/skills/smart-router-orchestrator/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/databricks/smart-router-orchestrator
SKILL.md at the pin
--- name: smart-router-orchestrator description: Smart Router Orchestrator coordinates substantive development with native subagents when ENABLE_SMART_ROUTER_ORCHESTRATOR=1 and Unity Gateway smart routing is enabled. Follow UG's activation context. Skip easy tasks and explicit no-subagent requests. model: inherit argument-hint: "[task]" metadata: version: "1.1.0" --- # Smart Router Orchestrator ## Activation UG's prompt and compaction hooks activate this workflow only in an eligible smart-routing session launched with `ENABLE_SMART_ROUTER_ORCHESTRATOR=1` while routing is on. Follow the latest UG activation context and successful Smart Router toggles; installed skill files and old context do not enable it. Use that context without running a separate pre-delegation check. Do not set flags or create a session to activate this workflow. Turning Smart Router off through its skill stops this workflow and supersedes earlier orchestration instructions. Do not start new automatic delegation or use Smart Router Orchestrator role models as a fallback. Continue in the root unless the user explicitly requests a subagent; honor that request using the native tool and normal harness model selection, without this workflow. Keep routing off and collect results from existing children. Turning Smart Router back on restores this workflow only if the session was launched with `ENABLE_SMART_ROUTER_ORCHESTRATOR=1`. Use the `smart-router` skill only when the user asks to change routing. ## Workflow Follow user overrides. Keep the active root model and reasoning effort. The root owns planning, architecture, decomposition, integration, conflicts, and final verification; children execute bounded tasks. Smart routing selects child models; do not apply separate role-model preferences or reasoning-effort overrides. Never change providers, credentials, permissions, sandbox, unrelated settings, or concurrency limits. Report conflicts with existing mandatory orchestration rules or model policies. Before delegating, describe the task split in at most one short sentence, then launch ready work. Explain adapter details only when requested or needed to explain a failure or blocker. Keep later updates focused on findings, blockers, and results. ## Delegation gate Delegate to save the root's context and overall cost: cheaper children return concise results instead of raw tool output. Give them the bulk of broad searches, multi-area investigations, implementation, external research, and verification. Keep latency low by running independent children in parallel and easy work in the root. Users need not mention this skill or request agents. Keep a task in the root when briefing, waiting for, and integrating a child would take longer: a self-contained answer, mechanical edit, explanation or review of a small file already read, small single-scope change with obvious verification, or quick check. These save little cost and add little root context. An explicit request not to delegate takes precedence. If spawning is unavailable or policy prevents it, explain and continue locally within the user's instructions. Do not invent work to increase the agent count. Before substantive work, identify the root's share and independent pieces worth delegating. Launch ready pieces together and do the root's share while they run. Avoid serial chains when inputs exist. Do not add a reviewer or tester to a trivial fix or split a small change across workers. Size fan-out to the work; do not require a fixed pipeline. | Role | Scope | | --- | --- | | explorer | Read code and callers; map existing patterns/tests; no edits | | researcher | Verify external/API facts with primary sources; no edits | | worker | Implement one bounded change in explicitly owned files | | tester | Independently run checks and report failures; edit tests only if assigned | | reviewer | Review the actual diff for correctness, regressions, security, and missing tests; no edits | ## Assign and coordinate Give each independent lane an owner and outcome. Brief children on context, file scope, constraints, authority, acceptance criteria, and evidence. Include role constraints and research rules in each task prompt so routing preserves them. Use workers for implementation, one writer per file; the root must not duplicate their work. Research needs sources and a deadline or request budget. Name tools exactly, with verified capability/auth status; children discover deferred tools in their own catalog. After auth failure or denial, stop that operation and report its exact tool and redacted error. Await the supervisor before fallback; no unchanged retries or tool/provider/shell evasion. Independent authorized work may continue. Fetch supplied/discovered links. After a 404, discover the actual link via permitted search/site navigation or report it unavailable; no guessed paths or budget expansion. Return partial evidence if blocked. Use native peer messaging for concrete dependencies, or relay through the root. Children report plan-changing outcomes, unresolved dependencies, and final results with evidence, checks, and limitations. Reuse children for follow-ups when supported; no recursive teams. Return architectural, API, security, scope, or ambiguous decisions to the root for integration, conflict resolution, and final verification. ### Claude Code adapter Use native `Agent` (`Task` on older hosts) with `subagent_type="ug-smart-router:<role>"`. **Omit `model`**: the routing hook selects it. Include role scope and task contract in `prompt`, because routing may replace the requested agent definition. Run independent children in the background when supported. Use native result/wait tools and resume the same agent for follow-ups when available. Omitted role tool lists inherit parent tools, including deferred MCP tools; parent permissions and hooks still apply. Read-only scope is instructional. Report missing bundled definitions as requiring reload/restart; do not substitute custom agents with saved model preferences. Managed forced-model policy takes precedence; report conflicts without clearing it. ### Codex adapter Use native `spawn_agent` without `model` or `reasoning_effort` overrides. The routing hook selects the model. Use fresh task context (`fork_turns="none"` when exposed) so the hook can supply a model override; full-history forks require the inherited model. Send the needed context, role scope, and contract in `message`; use the host's native follow-up, message, wait, and close tools. Do not choose a custom role that pins a model or effort. Native spawning needs no role TOMLs or global `[agents]` defaults. Never simulate delegation with nested CLIs. Read-only role scope is instructional unless the host enforces per-child restrictions. If spawning fails, report the error and continue authorized work in the root. Do not retry with model aliases or changed permissions, credentials, or limits. Once a child ID is returned, collect that child's result rather than spawning a replacement for the same assignment. ## Integrate and verify Read child evidence, inspect worker diffs, and spot-check cited paths without redoing their scope. Run the smallest independent checks of the requested outcome. Resolve conflicts and findings before handoff. Account for every required child; a launch or success-shaped summary alone is not completion. For empty or unrelated results, or an already-supplied task request, clarify once with the same child. Verify its evidence; if still unusable, report the unmet assignment without respawning. Report unavailable models, tools, and substitutions. Finish with the concrete result, verification actually performed, and material remaining limitations. Do not claim cost or speed improvements without measurements. Use runtime evidence to identify the model that ran; submitting a delegation alone does not prove that its routing hook executed.
From databricks/unity-gateway at bd5fbe6, shown as plain text under its license: Apache-2.0 (permissive). The license text is in skills/smart-router-orchestrator/LICENSE.upstream.
View SKILL.md on GitHub at bd5fbe6Files
- SKILL.md7.9 KB · 4af50e1d28ec
- LICENSE.upstream11 KB · cfc7749b96f6
- README.md2.4 KB · 94c86e81bf58
- agents/
- explorer.md307 B · d604a4abb0ad
- researcher.md846 B · 7bab57c71af6
- reviewer.md327 B · e52257697ae9
- tester.md368 B · 00774f131c27
- worker.md294 B · 5854c2e89479
8 files, 24 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at bd5fbe6More from Databricks
databricks-agent-bricks
This skill enables agents to create and manage Knowledge Assistants for document question-answering via RAG on Volumes, and Supervisor Agents that orchestrate…
Claude Code, Codex, Cursor +3 · about 1.7K tokens · pinned 6 days ago
databricks-ai-functions
This skill provides built-in Databricks AI Functions that add AI capabilities directly to SQL and PySpark pipelines, including classification, extraction…
Claude Code, Codex, Cursor +3 · about 3.8K tokens · pinned 6 days ago
databricks-ai-runtime
This skill enables agents to submit and manage GPU training workloads on Databricks serverless compute using the `databricks air` CLI.
Claude Code, Codex, Cursor +4 · about 2.9K tokens · pinned 6 days ago
databricks-aibi-dashboards
Creates Databricks AI/BI dashboards using JSON specifications with support for multiple visualization types.
Claude Code, Codex, Cursor +3 · about 9.5K tokens · pinned 6 days ago
databricks-app-design
This skill helps design the user experience of custom-code Databricks Apps built with AppKit and React that display data.
Claude Code, Codex, Cursor +3 · about 1.6K tokens · pinned 6 days ago
databricks-apps
Build custom interactive data apps on Databricks using AppKit (TypeScript/React framework) or other frameworks like Streamlit or FastAPI.
Claude Code, Codex, Cursor +3 · about 5.5K tokens · pinned 6 days ago
Related in AI and agents
agent-builder
Agent Builder orchestrates the creation, modification, testing, and publishing of n8n Agents.
by n8nOfficial publisher
Claude Code, Codex, Cursor +3 · about 2.3K tokens · pinned 6 days ago
intent-recognition
Classifies automation requests by determining which primitive owns the top-level control flow (workflow, agent, needs clarification, or out-of-scope) and…
by n8nOfficial publisher
Claude Code, Codex, Cursor +4 · about 6.9K tokens · pinned 6 days ago
planned-task-runtime
This skill manages follow-up interactions with a background task execution system, handling task completion synthesis, failure replanning, workflow building…
by n8nOfficial publisher
Claude Code, Codex, Cursor +3 · about 2.2K tokens · pinned 6 days ago
skill-creator
This skill guides agents through creating new skills that extend Gemini CLI with specialized knowledge, workflows, and tool integrations.
by GoogleOfficial publisher
Contains scripts
Gemini CLI · about 5K tokens · pinned 6 days ago
-21risk-automation
This skill automates 21risk operations by connecting to the 21risk toolkit through Composio's Rube MCP server.
by ComposioOfficial publisher
Claude Code, Codex, Cursor +3 · about 690 tokens · pinned 6 days ago
-2chat-automation
This skill automates 2chat tasks by integrating with Composio's 2chat toolkit through Rube MCP.
by ComposioOfficial publisher
Agents not labelled yet · about 680 tokens · pinned 6 days ago
Open roles at Databricks
5 of 136 open roles on the jobs board
- Sr. Forward Deployed Engineer
Tokyo, Japan
- Senior Software Engineer - Backend
San Francisco, California, USA
- Software Engineer - Backend
Aarhus, Denmark
- Senior Production Engineer - Realtime Products
Mountain View, California, USA
- Sr. Forward Deployed Engineer (FDE) - Retail
Austin, Texas, USA