nvidia-ai-blueprints/video-search-and-summarization/vss-generate-video-report

Claude Code and agent skill by nvidia-ai-blueprints/video-search-and-summarization

Trust tier 3
  • community
Source check pending

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-report

SKILL.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.

ModeBackendSteps
A. Video clipA1 /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 complianceVA-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.

  1. 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_DIR is the directory containing this SKILL.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-quoted NAME=value lines (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) take RAW_URL in and print BROWSER_CLIP_URL). Paste those lines as printed, plus SKILL_DIR='<that path>' (single-quoted — paths may contain spaces) and any gate result (HITL_RESOLVED / HITL_PROMPT_FILE, HITL prompt mode; REASONING=true only 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.
  2. Pick the mode — Mode A for a single recorded clip/sensor video (path A1 VST clip URL or A2 local 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).
  3. 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-ai for the SOP tools).
  4. 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.)
  5. 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.
  6. 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).

  1. 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 Information followed 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 literal N/A (<reason>) as defined in Mode A Step 4 counts; a placeholder token does not).
  • Mode A MUST include ## Analysis Results containing the VLM caption/summary (with any <think>…</think> block stripped).
  • Mode B top title MUST be exactly # Incident Range Report (never # Incident Report or sensor-named variants).
  • Mode B MUST include ## Basic Information with 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_report signals an empty range as the tool result {"error": "No VisionLLM messages found for the given filters."} — that result, and only that, renders this line (see references/report-types/sop-compliance.md Step 3). A failed tools/call, a non-200 status, an empty body or one with no JSON-RPC response for the request (neither SSE data: events nor plain JSON), a JSON-RPC error envelope, 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nvidia-ai-blueprints/video-search-and-summarization/vss-generate-video-report/badge)](https://verified-skill.com/skills/nvidia-ai-blueprints/video-search-and-summarization/vss-generate-video-report)

Something wrong with this skill or its page? Tell us.