| name | report |
| description | Produce video analysis reports by discovering the deployed VSS agent, querying POST /generate for a timestamped captioned summary of the clip, then formatting the agent reply as the standard Video Analysis Report markdown. |
| license | Apache-2.0 |
| metadata | {"version":"3.1.0","github-url":"https://github.com/NVIDIA-AI-Blueprints/video-search-and-summarization","tags":"nvidia blueprint operational"} |
Report
Build timestamped video analysis reports by querying the VSS agent for a description of the video using POST …/generate. The agent runs video_understanding (and related tools) internally. Take the agent’s caption-style text with timestamps and paste it into the Video Analysis Report template below.
When to Use
- "Generate a report for this video" / "for
<sensor-id>"
- "Create an analysis report"
- "Report on what happens in the uploaded video"
- "Give me a report"
Deployment prerequisite
This skill requires the VSS base profile running on the host at $HOST_IP. Before any request:
-
Probe the VSS agent:
curl -sf --max-time 5 "http://${HOST_IP}:8000/docs" >/dev/null
-
If the probe fails, ask the user:
"The VSS base profile isn't running on $HOST_IP. Shall I deploy it now using the /deploy skill with -p base?"
- If yes → hand off to the
/deploy skill. Return here once it succeeds.
- If no → stop. Do not run this skill against a missing stack.
(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
/deploy directly.)
-
If the probe passes, proceed.
Agent workflow
Run these steps in order:
-
Sensor / clip — Confirm which sensor id or video the user means. If unclear, ask before proceeding. If the sensor or video is not mentioned directly in the user request, the user may be referring to a video they mentioned previously.
-
VSS agent deployment — Resolve the agent HTTP base URL. Read VSS_AGENT_PORT, EXTERNAL_IP / HOST_IP, or compose / deployment docs for the machine where the stack runs. Typical pattern: http://<host>:<port> with port from env (often 8000 for the agent API).
-
Query the agent — POST ${VSS_AGENT_BASE_URL}/generate with JSON {"input_message": "<prompt>"}. Ask for a captioned summary with timestamps (chronological segments, seconds from clip start), e.g. describe scenes and events with time ranges. The sensor / file name must be included in the input message to the agent.
- DO NOT mention a report to vss agent
-
Report template — Copy the agent’s final text (timestamped caption/summary) into Analysis Results and fill Basic Information; return that markdown to the user.
0l
Query VSS agent (/generate)
export VSS_AGENT_BASE_URL="http://localhost:8000"
curl -s -X POST "${VSS_AGENT_BASE_URL}/generate" \
-H "Content-Type: application/json" \
-d '{"input_message": "Describe in detail what happens in the video for sensor <sensor-id>, with timestamps (start–end in seconds from clip start) for each segment or event."}' | jq .
Video Analysis Report template
Paste the agent’s timestamped summary under Analysis Results. Fill the table fields (timestamps, source, request).
# Video Analysis Report
## Basic Information
| Field | Value |
|-------|-------|
| **Report Identifier** | vss_report_<YYYYMMDD_HHMMSS> |
| **Date of Analysis** | <YYYY-MM-DD> |
| **Time of Analysis** | <HH:MM:SS> |
| **Reporting AI Agent** | <e.g. your label> |
| **Video Source** | <sensor_id or filename> |
| **Analysis Request** | <description of user's request to you> |
## Analysis Results
<agent output: timestamped caption / summary>
Cross-Reference
- vios — VST sensors, storage, and clip URLs if you need to upload a video overify the video exists before calling the agent.
- video-understanding for follow up questions that cannot be answered directly by the generated report or conversation history.
- video-summarization / incident-report — other
/generate patterns; this skill focuses on timestamped captions → report template.