Best for
- "Find all instances of forklifts"
- "When did someone enter the restricted area?"
- "Show me people near the loading dock"
NVIDIA/skills/skills/vss-search-archive/SKILL.md
Use this skill to run top-level VSS fusion search on archived video, or to ingest video files / RTSP streams for search. Do NOT use for ad-hoc visual Q&A (use vss-ask-video), live captioning (use vss-deploy-dense-captioning), or video summarization and reports (use vss-summarize-video).
Decision brief
Run the top-level VSS fusion search across archived video, ingest new clips / RTSP streams for search, and delete search-ingested sources.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/NVIDIA/skills --skill "skills/vss-search-archive"Inspect the Agent Skill "vss-search-archive" from https://github.com/NVIDIA/skills/blob/994b87022af46deada9fdb79fc560a77aaf931ce/skills/vss-search-archive/SKILL.md at commit 994b87022af46deada9fdb79fc560a77aaf931ce. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
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/.
Use the timestamped upload form below. The VSS agent/search profile uses 2025-01-01T00:00:00.000Z as the uploaded videofile base timestamp; VIOS storage and embeddings must share that timeline, otherwise screenshot URLs and critic frame fetches can fail.
When using this skill, ALWAYS follow this high-level workflow: 1. Resolve inputs from user instructions — HARD STOP if $HOSTIP is not explicitly provided. See § Input resolution below. Do NOT default to localhost, 127.0.0.1, the host the agent itself is running on, or any other…
Run the top-level VSS fusion search across archived video, ingest new clips / RTSP streams for search, and delete search-ingested sources.
Active VSS deployment reachable on $HOSTIP (see vss-deploy-profile and references/).
Permission review
The documentation asks the agent to create, modify, or delete local files.
"Delete `<file>` from search" / "remove this video and embeddings"The documentation includes network, browsing, or remote request actions.
curl -sf --max-time 5 "http://${HOST_IP}:8000/docs" >/dev/null \The documentation includes network, browsing, or remote request actions.
&& curl -sf --max-time 5 "http://${HOST_IP}:9200/" >/dev/nullThe documentation includes sending, uploading, or posting data to a remote service.
UPLOAD_URL=$(curl -s -X POST "http://${HOST_IP}:8000/api/v1/videos" \The documentation includes sending, uploading, or posting data to a remote service.
UPLOAD_RESPONSE=$(curl -s -X POST "${UPLOAD_URL}" \Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 92/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 3,106 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Run the top-level VSS fusion search across archived video, ingest new clips / RTSP streams for search, and delete search-ingested sources.
$HOST_IP (see vss-deploy-profile and references/).vss-manage-video-io-storage skill installed (used to list and manage video sources before search).$NGC_CLI_API_KEY and $NVIDIA_API_KEY for any image pulls.curl, jq, and Docker available on the caller.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/.
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.
/docs or /health; redeploy via vss-deploy-profile or the matching vss-deploy-* skill.NGC_CLI_API_KEY. Solution: docker login nvcr.io and re-export the key before retrying.docker compose down.Alpha Feature — not recommended for production use.
Search video archives by natural language using Cosmos Embed1 embeddings. Requires the search profile — deploy with the vss-deploy-profile skill (-p search). These videos sources can be ingested files or RTSP streams.
<file> for search" / "upload this video for search"<rtsp_url> for search"<file> from search" / "remove this video and embeddings"This skill requires the VSS search profile running on the host at $HOST_IP. Before any request:
Probe the stack:
curl -sf --max-time 5 "http://${HOST_IP}:8000/docs" >/dev/null \
&& curl -sf --max-time 5 "http://${HOST_IP}:9200/" >/dev/null
(The second check confirms Elasticsearch is up — unique to the search profile.)
If the probe fails, ask the user:
"The VSS
searchprofile isn't running on$HOST_IP. Shall I deploy it now using the/vss-deploy-profileskill with-p search?"
/vss-deploy-profile skill. Return here once it succeeds.(If your caller has granted explicit pre-authorization to deploy
autonomously — e.g. the request says "pre-authorized to deploy
prerequisites", or you are running in a non-interactive evaluation
harness with that permission — skip the confirmation and invoke
/vss-deploy-profile directly.)
If the probe passes, proceed.
/generate)For a source to be searchable it must be ingested through the VSS agent backend, not through VIOS alone. The agent's ingest routes own the VIOS upload + RTVI-CV register + RTVI-embed pipeline as one transaction; a bare VIOS PUT only stores the bytes and never wires them into Elasticsearch.
Confirm the source exists in VIOS first (Mandatory workflow Step 2). If it is missing, ingest it with one of the recipes below before firing /generate. After ingest succeeds, the source appears in sensor/list under the name you provided and can be referenced from the natural-language query the agent forwards to its search-tool decomposer — you do NOT need to construct a structured video_sources payload yourself.
Use the timestamped upload form below. The VSS agent/search profile uses
2025-01-01T00:00:00.000Z as the uploaded video_file base timestamp;
VIOS storage and embeddings must share that timeline, otherwise
screenshot URLs and critic frame fetches can fail.
FILENAME="<filename.mp4>"
FILE_PATH="/path/to/${FILENAME}"
# 1. Ask the agent for the chunked-upload URL
UPLOAD_URL=$(curl -s -X POST "http://${HOST_IP}:8000/api/v1/videos" \
-H "Content-Type: application/json" \
-d "{\"filename\":\"${FILENAME}\"}" | jq -r .url)
# 2. Chunked POST the file to that VST URL (nvstreamer protocol).
# The final-chunk response carries sensorId.
IDENTIFIER=$(uuidgen 2>/dev/null || cat /proc/sys/kernel/random/uuid)
UPLOAD_RESPONSE=$(curl -s -X POST "${UPLOAD_URL}" \
-H "nvstreamer-chunk-number: 1" \
-H "nvstreamer-total-chunks: 1" \
-H "nvstreamer-is-last-chunk: true" \
-H "nvstreamer-identifier: ${IDENTIFIER}" \
-H "nvstreamer-file-name: ${FILENAME}" \
-F "mediaFile=@${FILE_PATH};filename=${FILENAME}" \
-F "filename=${FILENAME}" \
-F 'metadata={"timestamp":"2025-01-01T00:00:00"}')
# 3. Tell the agent the upload finished — this fans out to RTVI-CV + RTVI-embed
SENSOR=$(printf '%s' "${UPLOAD_RESPONSE}" | jq -r .sensorId)
[ -z "${SENSOR}" ] || [ "${SENSOR}" = "null" ] \
&& { echo "Upload failed: no sensorId in response: ${UPLOAD_RESPONSE}"; exit 1; }
printf '%s' "${UPLOAD_RESPONSE}" \
| jq --arg filename "${FILENAME}" '. + {filename: $filename}' \
| curl -s -X POST "http://${HOST_IP}:8000/api/v1/videos/${SENSOR}/complete" \
-H "Content-Type: application/json" \
-d @- | jq .
Wait for the /complete response (it returns chunks_processed > 0 once embeddings land). Only then is the video searchable.
The deprecated
PUT /api/v1/videos-for-search/{filename}route is also wired in for legacy callers (single-shot, agent-driven), but its OpenAPI entry is flaggeddeprecated. Prefer the three-step flow above for new work.
curl -s -X POST "http://${HOST_IP}:8000/api/v1/rtsp-streams/add" \
-H "Content-Type: application/json" \
-d '{
"sensorUrl": "rtsp://<host>:<port>/<path>",
"name": "<sensor-name>",
"username": "",
"password": "",
"location": "",
"tags": ""
}' | jq .
The response shape is {status, message, error} — no sensorId (the agent keys the stream by the name you provided). On any step's failure earlier steps roll back. The start_embedding_generation step is fire-and-verify: a 2xx confirms the request was accepted and the embedding pipeline is running in the background, not that the stream is searchable yet. Search hits will start appearing only after enough chunks land in Elasticsearch — poll with a low-top_k query a few seconds in if you need a readiness signal.
Delete through the agent backend, not bare VIOS, so VIOS storage and search embeddings are cleaned up together.
# For video files: video_id is the VIOS sensor/video UUID
curl -s -X DELETE "http://${HOST_IP}:8000/api/v1/videos/<video_id>" | jq .
# For RTSP streams: name is the registered source name
curl -s -X DELETE "http://${HOST_IP}:8000/api/v1/rtsp-streams/delete/<name>" | jq .
/api/v1/rtsp-streams/add. Both routes hand the source to RTVI-CV (attribute detection) and RTVI-Embed (Cosmos Embed1) which generates vector embeddings for video segments.This search orchestrated by VSS agent can lead to 3 behaviors:
When using this skill, ALWAYS follow this high-level workflow:
Resolve inputs from user instructions — HARD STOP if $HOST_IP
is not explicitly provided. See § Input resolution below. Do NOT
default to localhost, 127.0.0.1, the host the agent itself is
running on, or any other guess. Do NOT issue a
POST http://.../generate request until the user has supplied an
endpoint. Respond to the user with a single question asking for
HOST_IP / the VSS agent endpoint and wait.
Resolve the source — HARD STOP before any /generate call.
If the user query references a specific video / sensor name
(e.g. "the airport video", "warehouse_cam_3", "sample warehouse"),
verify it's actually registered in VIOS before firing
POST .../generate. List sources via the vss-manage-video-io-storage skill.
Then:
services/agent/src/vss_agents/tools/search.py) extracts video_sources from the prose given the available sources, so the skill does NOT need to construct a structured video sources payload./generate as a probe. Respond to the user with the registered source names and ask whether they meant one of those, want to ingest the missing source (point them at Ingestion prerequisite and run the matching file or RTSP recipe through the agent backend, not bare VIOS), or want to abandon the query. Wait for clarification.sensor/list must still return non-empty (otherwise no sources are ingested → HARD STOP).Run the search(es) via approach chosen
Present the results to the user query. Format response as a professional inspection report but name it Video Search Results:
— Use clear section headers
CRITICAL: Verify the results and explain this to the user concisely. If search fails, or returns unexpected results (i.e. videos that do not appear to match user query, zero matches, zero videos returned, error etc.), STOP. Do not proceed without reading troubleshooting.md to iterate with feedback loops until proper results are found and presented like a professional inspection report.
Final verifications:
Verification Stepscreenshot_url of the best candidates (highest similarity scores) from the search hits (JSON results) to /tmp. Read them and verify if they correspond to the user queryInfer these inputs only from the conversation or user query (no other files unless provided). If some cannot be inferred, ask the user immediately:
<file> for search", "add <rtsp_url> for search"); it does NOT search the local filesystem for files the user didn't name, and it does NOT use the bare-VIOS PUT path (no embeddings get generated). Workflow step 2 still makes confirming "this source exists in VIOS" a hard precondition before /generate.vss-query-analytics skill to cross-reference search results with incident/alert dataDefault to using this REST API approach, unless user specifies otherwise.
# Consider only ingested video file sources by default
curl -s -X POST http://${HOST_IP}:8000/generate \
-H "Content-Type: application/json" \
-d '{"input_message": "find all instances of forklifts"}' | jq .
Use the messages request shape when passing structured request options such as search_source_type; the input_message shortcut does not accept extra fields.
# Search by object
curl -s -X POST http://${HOST_IP}:8000/generate \
-H "Content-Type: application/json" \
-d '{"input_message": "find vehicles in the parking lot"}' | jq .
# Search by action
curl -s -X POST http://${HOST_IP}:8000/generate \
-H "Content-Type: application/json" \
-d '{"input_message": "show me people running"}' | jq .
# Search by time context
curl -s -X POST http://${HOST_IP}:8000/generate \
-H "Content-Type: application/json" \
-d '{"input_message": "what happened at the entrance between 2pm and 3pm?"}' | jq .
# Consider only RTSP sources with `search_source_type` filter i.e. live camera streams
curl -s -X POST http://${HOST_IP}:8000/generate \
-H "Content-Type: application/json" \
-d '{"messages": [{"role": "user", "content": "find all instances of forklifts"}], "search_source_type": "rtsp"}' | jq .
If user query is ambiguous, user wants more guidance or when fine-grained control is needed, augment the user input_message by calling out explicitly certain options in plain-text and steering the agent in the desired direction. Available control axes:
| Axes | Type | Default | Description |
|---|---|---|---|
video sources | string[] | null | Filter to specific cameras or sensor names |
top k | int | 10 | Max results |
minimum similarity | float | 0.0 | Min similarity threshold; raise (e.g. 0.3) to filter noise |
critic usage | bool | true | VLM verifies each result and removes false positives |
description | string | null | Filter by camera metadata (e.g. location, category) if metadata is available |
Pick and choose some of these tuning options. Adjust them as needed for the user’s situation and query. For examples of discovery modes leveraging these, see discovery_modes.md.
Open http://${HOST_IP}:3000/ and type natural-language queries:
find all instances of forklifts
show me people near the loading dock
when did a truck arrive at the gate?
find someone wearing a red jacket
Results include timestamped clips with similarity scores.
bump:2
Frequently asked questions
Run the top-level VSS fusion search across archived video, ingest new clips / RTSP streams for search, and delete search-ingested sources.
The source record exposes this install command: npx skills add https://github.com/NVIDIA/skills --skill "skills/vss-search-archive". Inspect the command and pinned source before running it.
Static rules flagged write-files, network, send-data in the source; the page lists the matching lines and excerpts.
Alternatives
vasilyu1983/AI-Agents-public
Guides iOS testing with XCTest, XCUITest, Swift Testing, simctl, and xcresult. Use when choosing destinations, controlling flakes, or parsing test artifacts for native apps.
microsoft/Sico
Execute Android UI workflows on a sandbox device, review results, and produce a structured execution report.
VincentChuWaiChow/vanguard-frontier-agentic
Diagnoses Salesforce Flow failures from pasted error messages or (in T1 mode) live Flow Interview logs fetched via sf CLI. Identifies the failing node, root cause, and provides specific fix recommendations including fault path design, data type corrections, and null handling. TRIGGER when: user says debug this flow error, flow failed with, flow interview error, why did my flow fail, flow is not working, flow throws error, flow interview fault. Trigger phrases: flow error, interview log, fault pa
teng-lin/notebooklm-py
Complete API for Google NotebookLM - full programmatic access including features not in the web UI. Create notebooks, add sources, generate all artifact types, download in multiple formats. Activates on explicit /notebooklm or intent like "create a podcast about X"