
vss-deploy-detection-tracking-2d
Use this skill when the user wants to deploy, run, debug, tear down, or call the REST API of the RTVI-CV 2D detection / tracking microservice. Trigger when the user says things like 'deploy rtvi-cv', 'start warehouse 2d', 'add a stream', 'check rtvi-cv health', or 'stop the perception container'. Not for VLM, embedding, or analytics — use the matching vss- skill.
- Installs
- 1.8K
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/nvidia/skills --skill vss-deploy-detection-tracking-2d- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads vss-deploy-detection-tracking-2d automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Purpose
Deploy, debug, and operate the RTVI-CV detection / tracking 2D microservice and drive its REST API.
Prerequisites
- Active VSS deployment reachable on
$HOST_IP(seevss-deploy-profileandreferences/). - NGC credentials in
$NGC_CLI_API_KEYand$NVIDIA_API_KEYfor any image pulls. curl,jq, and Docker available on the caller.
Instructions
Follow the routing tables and step-by-step workflows below. Each section that ends in workflow, quick start, or flow is intended to be executed top-to-bottom. Detailed reference material lives in references/ and helper scripts live in scripts/ — call them via run_script when the skill points to a script by name.
Examples
Worked end-to-end examples are kept under evals/ (each *.json manifest contains a runnable scenario) and inline in the per-workflow curl blocks below. Run a Tier-3 evaluation with nv-base validate <this-skill-dir> --agent-eval to replay them.
Limitations
- Requires the matching VSS profile / microservice to be deployed and reachable from the caller.
- NGC-hosted models and NIMs may be subject to rate-limits, GPU memory requirements, and license restrictions.
- Concurrency, GPU memory, and storage limits depend on the host hardware and the profile's compose file.
Troubleshooting
- Error: REST call returns connection refused. Cause: target microservice not running. Solution: probe
/docsor/health; redeploy viavss-deploy-profileor the matchingvss-deploy-*skill. - Error: HTTP 401/403 from NGC pulls. Cause: missing/expired
NGC_CLI_API_KEY. Solution:docker login nvcr.ioand re-export the key before retrying. - Error: container OOM or model fails to load. Cause: insufficient GPU memory for the selected profile. Solution: switch to a smaller variant or free GPUs via
docker compose down.
RTVI-CV — Detection & Tracking (Unified Skill)
Unified skill for the Real Time Video Intelligence CV (RTVI-CV) microservice. Two action surfaces in one skill:
- Deploy / operate / debug / tear down the RTVI-CV container locally → see
references/deploy-vss-detection-tracking-2d.md - Call the RTVI-CV REST API (streams, health, metrics, embeddings) on a running instance → see
references/usage-vss-detection-tracking-2d.md
Service:
rtvi-cv(metropolis_perception_app) Image:nvcr.io/<org>/<repo>:<tag>— user-supplied at deploy time REST port:9000(/api/v1—/live,/ready,/startup,/metrics,/stream/add,/stream/remove, embeddings) Hardware: x86/aarch64 dGPU (T4, A100, L40, H100, B200, RTX), SBSA (Spark, Grace-Hopper), Jetson (Thor, Orin, Xavier)
Action routing — pick once per invocation
| User intent (sample phrasing) | Flow | Load this reference |
|---|---|---|
deploy rtvi-cv warehouse 2d, run rtvicv warehouse-3d with 4 streams, start smartcity gdino, launch perception app, bring up sparse4d | DEPLOY | references/deploy-vss-detection-tracking-2d.md |
stop rtvi-cv, tear down, kill the perception container, cleanup rtvicv-perception-docker | TEARDOWN (handled by deploy doc → "Mode Selection") | references/deploy-vss-detection-tracking-2d.md + references/teardown-flow.md |
check rtvi-cv logs, diagnose rtvi-cv crashing, troubleshoot healthcheck failing, rtvi-cv won't start | DEBUG | references/deploy-vss-detection-tracking-2d.md + references/troubleshooting.md |
add a stream, remove camera, list streams, health check, is rtvi-cv ready, get metrics, what's the FPS, check GPU usage, generate text embeddings, call rtvi-cv api | API USAGE | references/usage-vss-detection-tracking-2d.md + references/api-reference.md |
Selection rule: match the user's phrasing against the table above and immediately load the corresponding reference file. Do not mix the flows — DEPLOY assumes no running container yet; API USAGE assumes the container is already running on http://<host>:9000.
If intent is genuinely ambiguous (e.g., the user says just "I want to use rtvi-cv"), ask one AskQuestion: deploy a new instance, or call an already-running one?
What lives where
vss-deploy-detection-tracking-2d/
├── SKILL.md # this file (routing + contracts)
├── assets/ # data files (deploy-defaults.yml — single source of truth for tags / refs / paths / GPU)
├── evals/ # Tier-3 eval manifests (deploy-evals.json, usage-evals.json)
├── scripts/ # 23 bash + python helpers (see `scripts/` for the full inventory)
└── references/ # workflow runbooks (deploy / api-usage / teardown / troubleshooting / …)
For the full per-file inventory and what each reference covers, see
references/workflow-reference.md.
All scripts are invoked from the skill root via $SKILL_DIR/scripts/<name> — paths inside the deploy reference doc are preserved verbatim and resolve correctly when the agent runs from skill root.
Available Scripts
Helpers live in scripts/ and are invoked from the skill root by name —
call each via run_script("scripts/<name>") so the agent records a
proper tool invocation.
| Script | Purpose | Arguments |
|---|---|---|
load_defaults.sh | Detect platform (x86 dGPU / SBSA / Jetson) and resolve YAML defaults from assets/deploy-defaults.yml. | --usecase <name> |
fetch_resources.sh | Download + extract NGC resources, scan for layout. | --ngc-ref <ref> (optional) |
apply_in_container.sh | Host-side wrapper for Step 4 (apply_config.sh inside the running container). | <container_name> |
apply_config.sh | In-container path-substitution, batch, sink, sources, engine cache. | <usecase> <stream_count> <sink_type> |
start_app_in_container.sh | Host-side wrapper for Step 5 (run_app_and_wait.sh). | <container_name> |
run_app_and_wait.sh | In-container app launch + readiness + metrics + log. | <config_path> |
add_streams.sh / update_stream_sources.sh | REST stream lifecycle for Step 6. | <rtsp_or_file_uri>... |
collect_metrics.sh | Pull /api/v1/metrics snapshot. | none |
discover_streams.sh | Enumerate active streams via /stream/get-stream-info. | none |
synthesize_docker_run.sh | Print the platform-correct docker run line for the resolved env. | none |
render_box.sh | Render the fixed-width step receipt. | <step_label> |
calibration_manager.py | Manage calibration artefacts + per-use-case engine cache invalidation. | --usecase <name> --reset |
For the full inventory of helpers (cache, GPU checks, setup) browse
scripts/; each script's --help describes its arguments.
How to use this skill
- Read this file first. It only routes — it does not contain workflows.
- Match the user's intent against the routing table above.
- Load exactly one reference doc (DEPLOY or API USAGE). Don't preload both — each reference is large and contains its own full contract.
- Follow the loaded reference exactly. The reference docs are the byte-for-byte preserved contracts from the predecessor skills
vss-deploy-detection-tracking-2d(deploy/teardown/debug) andrtvicv-api(REST API) — every step ordering invariant, bash-batching rule, box-rendering rule, andAskQuestioncontract is retained. - For DEPLOY, the reference doc enforces its own startup contract: one-line acknowledgement → planning-tool call (
TodoWritearray of 5 todos, OR 5 successiveTaskCreatecalls on newer Claude Code) → Step 1 question. Do not narrate, do not pre-flight, and never print "loading TodoWrite/TaskCreate" or any deferred-tool resolution prose — the planning tool is loaded silently.
Output contract — DEPLOY flow
When running the DEPLOY / TEARDOWN / DEBUG flow, the agent MUST honour all four items below on every successful deploy. These are the user's only feedback channel between steps; skipping any of them is a behaviour regression.
- Render every step's exit in a fixed-width box — Step 1 Deploy
targets, Step 2 Pipeline configuration, Step 3 Container, Step 4
Apply configuration, Step 5 Plan + Results. Not just the final
summary. The box is the user's step receipt. Geometry is fixed (see
§ "Universal box format" below). Per-step content rules (what
rows go inside each box) live in
references/deploy-vss-detection-tracking-2d.mdunder "Step N box content rule". - After the Step 5 Results box, issue the Step 6
AskUserQuestionfromreferences/next-steps.md§ "11.c" — never replace it with a free-form Next steps bullet list. The menu is the deploy's exit handle: it lets the user run metrics, manage streams, tail logs, or tear down with one click instead of having to remember curl URLs. - After the user picks a Step 6 bucket, issue the follow-up
AskUserQuestionfromreferences/next-steps.md§ "11.d" — never substitute prose + ready-to-copy curl examples + a free-text "want me to run X?" question. Each bucket has its own menu of concrete actions; the user picks the action, then the skill emits the API box and runs the curl. Per-bucket follow-ups:- Manage streams → Add / Remove / List. Remove builds its
options dynamically from
/stream/get-stream-info— one option per active stream labelled<camera_id> · <camera_url>plus "Remove ALL" whenACTIVE > 1(full spec: § "remove_streamssub-flow"). - Stop the deployment → Stop app / Stop container / Full teardown.
- Check metrics & FPS → no follow-up; run
collect_metrics.shdirectly after printing the/api/v1/metricsAPI box. - Check liveness / readiness → no follow-up; probe all three health endpoints after printing their API boxes.
- Manage streams → Add / Remove / List. Remove builds its
options dynamically from
- Render the FULL per-step content, not an overview row —
rendering the box is necessary but not sufficient. Each step has a
row composition spec in
references/deploy-vss-detection-tracking-2d.mdunder "Step N box content rule". Step 4 (Apply configuration) is where the agent collapses most often — its canonical per-use-case key list lives inreferences/apply-config.md§ "Per-use-case complete edit list", and the agent MUST emit one✔ [section] key=value — annotationrow per key in that table for the active use case + settings. A section with 5 keys → 5 rows; a section with 6 keys → 6 rows. Never one overview row per section.
Forbidden (these are the shortcuts the agent falls back to under pressure, and they break the user's UX):
- ❌ Internal tool-loading narration. Never print "I need to load
TodoWrite (a deferred tool the skill calls for the task widget)",
"Loading TaskCreate…", "Calling ToolSearch for the planning tool…",
or any other text about resolving / loading / fetching deferred tools.
The agent loads tools silently. The user only ever sees the
✔ <pinned-values>summary line followed by the widget — never any scaffolding around tool resolution. - ❌ Collapsing all 5 deploy steps into a single
TaskCreate'sdescriptionfield. WhenTaskCreateis the available planning tool, issue 5 separateTaskCreatecalls back-to-back (one per step). Seereferences/task-list.md§ "InitialTaskCreatecalls" for the verbatim template. Same rule forTodoWrite— one call with all 5 todos in thetodos:[…]array; never one todo whosecontentis a multi-line list. - ❌ Silently choosing
dynamicstream-mode. The skill default isstream_mode=static— the agent bakes auto-discoveredfile://URLs into the DS main config's[source-list]block before app start. Switch todynamiconly when the user explicitly asks ("add streams later via REST", "use dynamic stream mode") OR when they pickdynamicin the Step 2 AskQuestion. Pickingdynamicfor a generic "deploy rtvi-cv with N streams" query breaks the deploy rubric and the user's/metricsexpectations. Seereferences/pipeline-config.md§ "Defaults — the skill is static-mode by default" for the full rationale. - ❌ A one-line
✔ App ready in Ns, N streams, fps total Yin place of the Step 5 Results box. - ❌ ASCII box-drawing chars (
+,-,=,*) instead of light box-drawing chars (┌ ─ ┐ │ └ ┘). - ❌ Skipping Step 6 on the assumption "the user knows what to do next".
- ❌ After Step 6, dumping a markdown wall of prose + multiple curl blocks + a closing "want me to run any of these?" — that's the shape the agent falls back to and it bypasses both the 11.d menu and the per-API-call box. The user picks from a menu; the skill shows the resolved API box; the skill runs it. No free-text Q.
- ❌ Step 4 overview collapses — these are explicitly banned by the
deploy doc's Step 4 content rule:
✔ Batch size 3 (tile grid: 1×3)→ required: 5 separate rows ([streammux] batch-size=3,[primary-gie] batch-size=3,[source-list] max-batch-size=3,[tiled-display] rows=1,[tiled-display] columns=3).✔ Output sink eglsink→ required: one row per sink key (4 keys for eglsink, e.g.[sink0] enable=1,type=2,sync=0,qos=0— read apply-config.md for the exact list).✔ Sources static (3 streams, http-port=9000)→ required: six annotated[source-list]rows.✔ Tile grid 1 row × 3 cols(single row) → required: two rows,[tiled-display] rows=1and[tiled-display] columns=3.
Universal box format
The geometry contract for every step-exit box (Step 1 through Step 5 Results). The same shape across every box; only the title and the body rows change per step.
- Width: 128 chars corner-to-corner —
┌at column 1,┐at column 128. Wider terminals leave the box flush-left; do not stretch it. Inner content area is 124 chars (with one space margin on each side inside the│borders). - Light box-drawing chars only:
┌ ─ ┐ │ └ ┘. No+,-,=,*ASCII fallbacks. - Top border — title CENTERED:
┌+ N₁ dashes +␣+ title +␣- N₂ dashes +
┐, whereN₁ + N₂ + len(title) + 2 = 126. Distribute the pad:N₁ = floor((126 − len(title) − 2) / 2),N₂ = 126 − len(title) − 2 − N₁. N₁ and N₂ differ by at most 1.
- N₂ dashes +
- Body: one
│ <content padded to inner-content 124> │per fact. Each fact line uses the✔ <key-padded-to-13> <value>form (two spaces in, glyph, key right-padded to 13, two spaces, value). - Blank lines between groups: render
│ <124 spaces> │between logical groups (e.g. Identity / Model / Videos in Step 1) so the user can scan the box at a glance. - Bottom border:
└+ 126 dashes +┘— solid border, no title.
Standard step titles (used at the top of each step's box):
┌─────────────────────────────────────────────────────── Deploy targets ───────────────────────────────────────────────────────┐
┌─────────────────────────────────────────────────── Pipeline configuration ───────────────────────────────────────────────────┐
┌───────────────────────────────────────────────────────── Container ──────────────────────────────────────────────────────────┐
┌──────────────────────────────────────────────────── Apply configuration ─────────────────────────────────────────────────────┐
┌──────────────────────────────────────────────── Perception Application — Plan ───────────────────────────────────────────────┐
┌────────────────────────────────────────────── Perception Application — Results ──────────────────────────────────────────────┐
Per-step content rules (which rows go in which box, mode-aware row
hiding, the apply-config sectioned layout, the Step 5 PLAN-then-RESULT
pattern, the Step 3 docker run synthesis requirement) live in
references/deploy-vss-detection-tracking-2d.md
under "Step N box content rule" — read those when rendering the
corresponding step.
Quick triggers (mnemonic)
| Phrase | Flow |
|---|---|
deploy rtvicv warehouse 2d with 4 streams and display | DEPLOY |
run smartcity gdino on gpu 1 | DEPLOY |
stop the perception container | TEARDOWN (deploy doc) |
rtvi-cv healthcheck failing | DEBUG (deploy doc + troubleshooting) |
add a stream to rtvi-cv | API USAGE |
is rtvi-cv ready on localhost:9000 | API USAGE |
get rtvi-cv metrics | API USAGE |
generate text embeddings via rtvi-cv | API USAGE |
bump:1
FAQ
What does the vss-deploy-detection-tracking-2d skill do?
Use this skill when the user wants to deploy, run, debug, tear down, or call the REST API of the RTVI-CV 2D detection / tracking microservice. Trigger when the user says things like 'deploy rtvi-cv', 'start warehouse 2d', 'add a stream', 'check rtvi-cv health', or 'stop the perception container'. Not for VLM, embedding, or analytics — use the matching vss- skill.
How do I install vss-deploy-detection-tracking-2d?
Run npx skills add https://github.com/nvidia/skills --skill vss-deploy-detection-tracking-2d in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/vss-deploy-detection-tracking-2d/ (personal) or .claude/skills/vss-deploy-detection-tracking-2d/ (project).
Which AI agents can use vss-deploy-detection-tracking-2d?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is vss-deploy-detection-tracking-2d safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains vss-deploy-detection-tracking-2d?
It is published by nvidia in nvidia/skills, and it is an official skill from the maker of the technology it covers. It has 1,840 recorded installs.
More from nvidia/skills
rag-blueprint
nvidia/skills
NVIDIA RAG Blueprint — deploy, configure, troubleshoot, and manage. Handles any RAG action: deploy, install, start, enable, disable, toggle, change, configure, troubleshoot, debug, fix, shutdown, stop, or tear down any RAG feature or service (Agentic RAG, VLM, guardrails, query rewriting, models, search, ingestion, observability, summarization, reasoning, and more).
accelerated-computing-cudf
nvidia/skills
Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration, dask-cuDF, ETL, joins, groupby, CSV/Parquet I/O, nullable semantics, and multi-GPU DataFrame workloads.
aiq-research
nvidia/skills
Use when asked to run deep research or AI-Q research through a reachable NVIDIA AI-Q Blueprint backend.
cuopt-developer
nvidia/skills
Modify, build, test, debug, and contribute to NVIDIA cuOpt (C++/CUDA, Python, server, CI). Use for solver internals, PRs, DCO, and code conventions.
aiq-deploy
nvidia/skills
Use when asked to install, deploy, run, validate, troubleshoot, or stop NVIDIA AI-Q Blueprint infrastructure.
cuopt-install
nvidia/skills
Install cuOpt for Python, C, or server via pip, conda, or Docker; verify the install. For building cuOpt from source, see cuopt-developer.
Popular devops & cloud skills
microsoft-foundry
microsoft/azure-skills
Build, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and resources end to end. USE FOR: foundry, azd ai agent, azd provision/deploy, hosted agent scaffold/develop/run/deploy/troubleshoot, prompt agent create, managed harness agent create, GitHub Copilot harness agent, create agent, update agent, add tool to agent, invoke agent, agent insights, evaluate agent, batch eval, continuous eval, continuous monitoring, agent CI/CD, optimize prompt, improve prompt, optimize agent instructions, Agent Optimizer scaffold, dataset curation from traces, deploy model, model fine-tuning (SFT/DPO/RFT), Foundry project, RBAC, role assignment, permissions, quota, capacity, region, deployment failure, AI Services, create Foundry resource, knowledge index, customize deployment, onboard, availability, training-data, grader, distillation, large file upload. DO NOT USE FOR: Azure Functions, App Service, general Azure deploy (use azure-deploy), general Azure prep (use azure
azure-diagnostics
microsoft/azure-skills
Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot app service, app service high CPU, app service deployment failure, troubleshoot container apps, container app 503 or target port mismatch, troubleshoot functions, function telemetry missing or stopped after a config/connection-string change, troubleshoot AKS, VM RDP, Linux SSH, VM black screen, can't connect to VM, reset VM password, NSG or firewall blocking, kubectl cannot connect, kube-system/CoreDNS failures, pod pending, crashloop, node not ready, upgrade failures, analyze logs, KQL, insights, image pull failures, cold start issues, health probe failures, resource health, root cause of errors, troubleshoot event hubs, troubleshoot service bus, messaging SDK error, AMQP connection failure, message lock lost, lock renewal during long-running processing, service bus dead letter.
azure-prepare
microsoft/azure-skills
Prepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Terraform), and Dockerfiles for the Azure Developer CLI (azd) workflow. USE ONLY when the user explicitly wants to use azd as the deployment tool, or the project already has an azure.yaml file. DO NOT USE FOR: non-azd deployments, Python App Service code-only deploys (use python-appservice-deploy), or cross-cloud migration (use azure-cloud-migrate). WHEN: prepare app for azd, create azure.yaml, set up azd infrastructure, modernize app for Azure with azd, deploy with azd, function app, timer trigger, service bus trigger, event-driven function, managed identity, generate Bicep, generate Terraform, create and deploy to Azure.
azure-ai
microsoft/azure-skills
Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.
azure-deploy
microsoft/azure-skills
Execute Azure deployments for ALREADY-PREPARED applications that have existing .azure/deployment-plan.md and infrastructure files. DO NOT use this skill when the user asks to CREATE a new application — use azure-prepare instead. This skill runs azd up, azd deploy, terraform apply, and az deployment commands with built-in error recovery. Requires .azure/deployment-plan.md from azure-prepare and validated status from azure-validate. WHEN: "run azd up", "run azd deploy", "execute deployment", "push to production", "push to cloud", "go live", "ship it", "bicep deploy", "terraform apply", "publish to Azure", "launch on Azure". DO NOT USE WHEN: "create and deploy", "build and deploy", "create a new app", "set up infrastructure", "create and deploy to Azure using Terraform" — use azure-prepare for these.
azure-validate
microsoft/azure-skills
Pre-deployment validation for Azure readiness. Run deep checks on configuration, infrastructure (Bicep or Terraform), RBAC role assignments, managed identity permissions, and prerequisites before deploying. WHEN: validate my app, check deployment readiness, run preflight checks, verify configuration, check if ready to deploy, validate azure.yaml, validate Bicep, test before deploying, troubleshoot deployment errors, validate Azure Functions, validate function app, validate serverless deployment, verify RBAC roles, check role assignments, review managed identity permissions, what-if analysis, validate Container Apps deployment.