Introduction¶
When doing inference routing on NVIDIA Dynamo, the common bottleneck is not “which strategy to choose,” but whether three things are aligned: whether the frontend is started with the expected router mode, whether the env in Kubernetes is correctly modified, and whether /v1/models and the chat endpoint are actually available. Manually assembling commands, editing deploy.yaml, and then probing with curl can easily miss prerequisites such as unregistered workers or unpublished KV events.
Below is the Dynamo Router Starter on SkillHub (@org-02qudk26/dynamo-router-starter). It turns “establish baseline → switch KV/load strategy as needed → run smoke checks” into an Agent-executable workflow, and comes with health-check scripts and a mode comparison table so it can be reused in both local CLI and K8s recipe paths.
What This Is¶
Dynamo Router Starter is an Agent Skill aimed at operations and inference platform developers (version 1.0.0, SkillHub category it-ops-security, tag requires_api_key=false). The Skill package’s documentation is contributed by NVIDIA (Apache-2.0), and it is published on SkillHub by Zhiyu Technology (source enterprise).
In one sentence: start or patch Dynamo router modes and run router endpoint smoke checks, covering routing setups such as round-robin, KV-aware, least-loaded, and device-aware; full recipe deployment should use dynamo-recipe-runner, and failure diagnosis should use dynamo-troubleshoot.
Official entry points:
- API coordinate:
https://api.skillhub.cn/org-02qudk26/dynamo-router-starter - SkillHub page:
https://www.skillhub.cn/skills/org-02qudk26/dynamo-router-starter
Core Features¶
Based on the Skill package’s SKILL.md and references/router-modes.md, the verified capabilities include:
- Establish routing baseline: locally use
python3 -m dynamo.frontendwith--router-mode; on Kubernetes, locate the frontend service by comparing against the recipe’sdeploy.yaml, and if not deployed, follow the recipe startup flow first. - Patch routing mode: supports
round-robin,kv,least-loaded,device-aware-weighted,direct,random; on the K8s side, switch via environment variables such asDYN_ROUTER_MODE; in KV scenarios you can setDYN_ROUTER_USE_KV_EVENTS=falseto enter an approximation mode. - Endpoint smoke testing: use
scripts/check_router_health.pyto verify/v1/models, and when a model can be discovered, issue one/v1/chat/completionsrequest. - Output contract: summarize the selected mode, local command or K8s env change, frontend URL, smoke results, approximation KV limitations, etc., and prompt for subsequent benchmark or troubleshooting Skills.
- Failure comparison table: for symptoms such as empty model list, chat timeout, KV hang, and port-forward failure, provide next steps (including switching to
dynamo-troubleshoot).
Limitations (from the Skill original): smoke testing performs only a single completion and is not a throughput/latency benchmark; full stress testing should use dynamo-benchmark; without worker KV events the KV mode degrades, and this Skill only flags it and does not automatically fix worker configuration.
Installation and Activation¶
Install the SkillHub CLI¶
If not installed yet, you can check the version first:
command -v skillhub && skillhub --version
If not installed, follow the SkillHub installation documentation (full installation example):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
See https://skillhub.cn/install/skillhub.md for instructions.
Install This Skill¶
When installing, you must use --dir to point to the current Agent’s skills directory; otherwise it defaults to ./skills/ and may not be recognized:
skillhub install dynamo-router-starter --namespace org-02qudk26 --dir <your Agent skills directory>
Common paths (from the SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
You can also ask the AI in a conversation to install @org-02qudk26/dynamo-router-starter following https://skillhub.cn/install/skillhub.md. After installation, refresh or restart the Agent as required by your client so the Skill takes effect.
Runtime Prerequisites¶
Before using this Skill to guide actual operations, the environment must satisfy the prerequisites listed in the Skill:
- Python 3.10+, and
dynamocan be imported (python3 -m dynamo.frontend --helpworks). - Kubernetes scenario:
kubectlis configured, and a Dynamo recipe already exists in the target namespace (or deploy it with the recipe runner first). - The frontend network is reachable (port forwarding or direct access), and at least one worker has registered with the frontend (
/v1/modelsis non-empty).
Typical Usage¶
1. Local round-robin baseline¶
First have the frontend listen on port 8000 in the simplest mode:
python3 -m dynamo.frontend --router-mode round-robin --http-port 8000
2. Switch to KV routing¶
Local CLI:
python3 -m dynamo.frontend --router-mode kv --http-port 8000
Kubernetes example of only modifying the frontend Deployment’s environment variables:
envs:
- name: DYN_ROUTER_MODE
value: kv
If workers do not publish KV cache events, avoid the router waiting in vain:
envs:
- name: DYN_ROUTER_USE_KV_EVENTS
value: "false"
3. Smoke check¶
Run in the Skill installation directory (or replace the script path with your local Skill copy):
python3 scripts/check_router_health.py \
--base-url http://127.0.0.1:8000
Supports --retries and --timeout. Example of one-shot verification after running a local KV frontend in the background:
python3 -m dynamo.frontend --router-mode kv --http-port 8000 &
python3 scripts/check_router_health.py --base-url http://127.0.0.1:8000
When accessing the frontend via port forwarding on Kubernetes:
kubectl port-forward svc/qwen-vllm-disagg-frontend 8000:8000 -n dynamo-demo &
python3 scripts/check_router_health.py --base-url http://127.0.0.1:8000 --retries 3
In Agents that support agentskills.io run_script(), you can equivalently call:
run_script("scripts/check_router_health.py", args=["--base-url", "http://127.0.0.1:8000", "--retries", "3"])
4. Notes when comparing round-robin and KV¶
The Skill requires using the same model, workers, prompts, concurrency, and sampling when comparing; to demonstrate KV reuse, repeat a prefix prompt; unless there are enough samples, results should be labeled as a smoke comparison and do not infer throughput gains from a single chat. If endpoints are unhealthy, switch to dynamo-troubleshoot.
Suitable Scenarios and Notes¶
Who it suits
- Teams already using Dynamo for multi-worker inference routing who need to quickly verify whether a certain
DYN_ROUTER_MODEtakes effect. - SREs / platform engineers who only want to change frontend env on K8s and do not want to manually copy a full curl checklist.
- Automated operations scenarios where the Agent reports “mode + patch items + smoke results” according to a fixed output contract.
Usage notes
- This Skill does not require an API Key (SkillHub tag
requires_api_key=false), but running Dynamo itself still depends ondynamoand model workers in your cluster and Python environment. - The SkillHub page’s brief description is truncated at “least-loaded or”; the full mode list should be based on the documentation inside the Skill and includes device-aware-weighted and others.
- A passing smoke test only means the endpoint is available; for performance numbers use
dynamo-benchmark, and seeBENCHMARK.mdinside the Skill package for performance reporting instructions. - Division of labor with similar Skills: use dynamo-recipe-runner for full recipe deployment, and dynamo-troubleshoot for anomaly troubleshooting.
Conclusion¶
Dynamo Router Starter converges Dynamo routing startup, K8s env patching, and OpenAI-compatible endpoint smoke checks into reproducible steps, and clearly delineates boundaries with recipe deployment, benchmarking, and troubleshooting Skills. If you are screening it-ops inference operations capabilities on SkillHub, you can install and try it from the official page:
https://www.skillhub.cn/skills/org-02qudk26/dynamo-router-starter