nvidia-ai-blueprints/video-search-and-summarization/vss-generate-video-report
Claude Code and agent skill by nvidia-ai-blueprints/video-search-and-summarization
- community
Checking that the SKILL.md file is still in the repository.
Use this skill when producing a VSS analysis report — Mode A per-clip VLM, Mode B incident-range via video-analytics, Mode C SOP compliance via the SOP tools. Not for standalone video summarization, real-time alerts or ad-hoc Q&A.
Install
npx vskill@latest install nvidia-ai-blueprints/video-search-and-summarization/vss-generate-video-reportSKILL.md
The same SKILL.md was published earlier as nvidia-ai-blueprints/video-search-and-summarization/vss-generate-video-report.
Report
When to Use
- Generate a per-clip VLM video analysis report (Mode A)
- Generate a narrative report over an incident/alert time range (Mode B)
- Generate an SOP compliance report via the SOP tools (Mode C)
Not for standalone video summarization, real-time alerts, or ad-hoc Q&A.
Generate a video analysis report by routing to one of three backends — never via POST /generate on the VSS agent.
| Mode | Backend | Steps | |
|---|---|---|---|
| A. Video clip | A1 /vss-manage-video-io-storage → clip URL → VLM chat/completions OR A2 local video file on disk or base64 video + a VLM endpoint (caller-supplied or Step 2-discovered) | `references/report-types/video-analysis.md` | |
| B. Incident range | /vss-query-analytics → incident list → narrative report | `references/report-types/incident-range.md` | |
| C. SOP compliance | VA-MCP get_sop_report (direct MCP call on ${VA_MCP_URL}) → SOP compliance report | `references/report-types/sop-compliance.md` |
If the request is ambiguous (e.g. "report on <sensor>" with no time range and no incident wording), default to Mode A. Ask only when the request names a sensor and a time range and carries neither incident / alert wording (→ Mode B) nor SOP / compliance wording (→ Mode C). Never run any mode's probe or gate until the mode is settled. See Examples below for the request phrasings that route to each mode.
Instructions
Select the report mode by request intent before any probes. Modes B/C report over stored incident/SOP records and bypass this video-source check, even when their sensor is a camera. For Mode A, before timeline resolution or inference (including the workspace's short-report route), reject any stream (RTSP/RTSPS URL or registered camera), including recorded time windows, with: Live-stream summarization / report generation isn't supported. Then stop; do not ingest, extract clips, or invoke inference. Reject an explicitly identified stream/camera even if its URL is absent. For a registered sensor name/id only, check its current type with vss vios list --sensor <name>; never reuse an earlier file classification. Reject a stream; if the type is unclear or the lookup fails, report that limitation and stop. Local/uploaded files, direct recorded-video URLs, and Mode A2 local/base64 inputs are not sensor handles; use their file workflow.
- Set `SKILL_DIR` to the "Base directory for this skill" path announced when this skill loads. All skill-relative reads (e.g. the default VLM prompt) resolve under
$SKILL_DIR— never via cwd-relative paths. If no base directory was announced (this file was opened directly),SKILL_DIRis the directory containing thisSKILL.md. Each fenced block is its own shell and nothing survives it, so the skill hands state over explicitly: the blocks that resolve shared values end by printing shell-quotedNAME=valuelines (Endpoint resolution →DEPLOYMENT_KIND,VSS_PUBLIC_URL,HOST_IP,VST_API_BASE,VA_MCP_URL,VLM_ENDPOINT; Mode A Step 1 →VIDEO_URL,CLIP_START,CLIP_END,CLIP_SECONDS; Mode A Step 2 →VLM_BACKEND,VLM_ENDPOINT,VLM_MODEL; the clip-URL rewrite blocks (Kubernetes / Docker) takeRAW_URLin and printBROWSER_CLIP_URL). Paste those lines as printed, plusSKILL_DIR='<that path>'(single-quoted — paths may contain spaces) and any gate result (HITL_RESOLVED/HITL_PROMPT_FILE, HITL prompt mode;REASONING=trueonly when the user asked for reasoning), at the top of the next block you run, with any caller-supplied value (e.g.VLM_ENDPOINT/VLM_MODEL) pasted after them so it wins; consuming blocks refuse to run (${VAR:?}) when a required value is missing. - Pick the mode — Mode A for a single recorded clip/sensor video (path
A1VST clip URL orA2local file / base64 — the Mode-by-mode checklist rows), Mode B when the request is about incidents / alerts (usually with a time range, including “report on the last/latest/most recent incident”), Mode C when the request asks for an SOP / compliance report (match against Examples). - Verify runtime prerequisites for that mode under Runtime prerequisites; hand off only when required services are missing (Mode A / B on Docker Compose →
/vss-build-vision-ai; on Kubernetes report the missing public route to the deployment owner instead; Mode C →/vss-build-vision-aifor the SOP tools). - Apply HITL mode under HITL prompt mode (runtime-first, harness fallback) before Mode A Step 3 (
references/report-types/video-analysis.md). (Mode B and Mode C have no prompt-approval step.) - Run that mode's numbered steps from its report-type file — the Steps column of the mode table above; open only the one you routed to, via
$SKILL_DIR/references/report-types/<file>. This file holds routing, gates and the shared setup (endpoint resolution, VLM selection, HITL, clip-URL rewrite); the numbered steps live only in the report-type files. - Rewrite every user-facing clip URL before embedding it in the report: prefer
VSS_PUBLIC_URL origin rewrite on Kubernetes; fall back to $VSS_PUBLIC_HOST:$VSS_PUBLIC_PORT on Docker Compose (Clip URLs: VLM input vs browser report link).
- Return the rendered report markdown to the user.
Output contract for evaluators:
- Mode A top title MUST be exactly
# Video Analysis Report. - Mode A MUST include
## Basic Informationfollowed by a pipe-table (Field | Value) with the exact required rows from the template: Report Identifier, Date of Analysis, Time of Analysis, Video Source, Clip Range, Clip URL, VLM, Analysis Request — every row filled with concrete values (a literalN/A (<reason>)as defined in Mode A Step 4 counts; a placeholder token does not). - Mode A MUST include
## Analysis Resultscontaining the VLM caption/summary (with any<think>…</think>block stripped). - Mode B top title MUST be exactly
# Incident Range Report(never# Incident Reportor sensor-named variants). - Mode B MUST include
## Basic Informationwith the exact required rows from the template (Report Identifier, Range, Scope, Total Incidents, Confirmed / Rejected / Unverified). - Mode B MUST use heading level
#for the top title. Do not use## Incident Report,## Incident Range Report, or any alternate wording. - Mode B empty-range output MUST be exactly one plain-text line (no markdown heading/table/list/extra lines) in this format:
No incidents found for scope <scope> in range <start_time> to <end_time>.
- Mode B zero results: do not invent or seed incidents, and do not fall back to Mode A or call the VLM.
- Mode C top title MUST be exactly
# SOP Compliance Report, with the template's Basic Information / Compliance Summary / SOP Violations sections. - Mode C empty-range output MUST be exactly one plain-text line, no heading, table, or template:
No SOP messages found for sensor <sensor_id> in range <start_time> to <end_time>.get_sop_reportsignals an empty range as the tool result{"error": "No VisionLLM messages found for the given filters."}— that result, and only that, renders this line (seereferences/report-types/sop-compliance.mdStep 3). A failedtools/call, a non-200 status, an empty body or one with no JSON-RPC response for the request (neither SSEdata:events nor plain JSON), a JSON-RPCerrorenvelope,result.isError: true, or any other error text is a failure: surface it per Error Handling and never render this line for it.
Examples
- "Generate a report for this video" / "report on
<sensor-id>" → Mode A - "Analyze warehouse_01.mp4" / "create an analysis report on the uploaded video" → Mode A
- "Report on incidents from 12:31Z to 12:32Z" → Mode B
- "Give me a report on the last incident" / "report on the latest incident" / "generate a report for the most recent incident" → Mode B
- "Report on alerts today" / "what incidents happened on
<sensor>last hour" → Mode B - "Summarize alerts on
<sensor>between<t1>and<t2>" → Mode B - "Generate an SOP compliance report for
<sensor>from<t1>to<t2>" / "compliance report on<sensor>last hour" / "SOP status report for<sensor>" → Mode C
Negative Triggers
Do not use this skill when the request is one of the following:
- Ad-hoc visual Q&A on a clip that do not ask explicitly for a report ("what color is the truck?", "what happens at 00:12?") → use
/vss-ask-video. - Archive/semantic similarity retrieval ("find forklifts", "search all videos for tailgating") → use
/vss-search-archive. - Read-only incident/metrics lookup without report rendering needs → use
/vss-query-analytics. - Deploy/teardown/profile changes ("deploy alerts", "switch profile", "bring up base") → use
/vss-build-vision-ai. - Real-time alert/rule management requests → use
/vss-manage-alerts.
Never route reports through VSS-agent POST /generate.
Runtime prerequisites
The vss CLI on PATH. The OpenClaw and Hermes harness images ship it; anywhere else, install it from the same checkout as this skill so the CLI and the skill match: uv tool install <checkout>/libs/vss/cli.
This skill is profile-agnostic for Mode A. A specific profile does not have to be pre-deployed as long as the chosen Mode A input path and VLM path are available. Mode C needs a VA-MCP that exposes the SOP tools (get_sop_*) over Elasticsearch mdx-vlm-captions-* — deployed by the SOP profile (compose via /vss-build-vision-ai; see that skill's references/services/sop.md § Patch specifics, inside its own directory wherever it is installed).
Endpoint resolution (Kubernetes vs Docker)
Run this block first, for every mode and on both Kubernetes (Helm base, lvs, alerts) and Docker Compose — including A2-only runs: every later block requires the hand-off it prints. Follow `../vss-build-vision-ai/references/deployment_resolution.md`:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/operations/vss-generate-video-report/SKILL.md
Popularity
- Repository stars
- 1,889
- Repository forks
- 401
- 7-day trend score
- 38
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nvidia-ai-blueprints/video-search-and-summarization/vss-generate-video-report)