vss-ask-video

Ask visual questions about recorded video clips through the VSS agent's video_understanding tool.

2|Updated Aug 20, 2026
One-click install
npx skills add https://github.com/atomicrajat/industry_safety_monitoring_system --skill vss-ask-video-atomicrajat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vss-ask-video
Source: https://github.com/atomicrajat/industry_safety_monitoring_system/tree/main/.claude/skills/vss-ask-video
Command: npx skills add https://github.com/atomicrajat/industry_safety_monitoring_system --skill vss-ask-video-atomicrajat

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When you need a visual fact about a recorded video clip—what objects appear, what actions occur, whether PPE is worn, when something happened—and no prior summary, database record, or tool output can answer it, this Skill routes the question to a vision-language model that actually looks at the video frames. ## Core Features & Use Cases - Fresh VLM inference on clips: Sends questions to the VSS agent's video_understanding tool via the /generate endpoint for per-clip visual Q&A. - Deployment and sensor prerequisites: Probes the VSS agent health endpoint and verifies the sensor exists on VST before any query, with guided upload when the video is missing. - Clean answer extraction: Strips <agent-think> blocks from the agent response so only the final answer text reaches the user. - Use Case: An operator asks "Is the worker in warehouse_safety_0001 wearing PPE?" The Skill confirms the sensor exists on VST, posts the question to the VSS agent, and returns the VLM's verdict in plain text. ## Quick Start Ask the agent a visual question about a named clip, for example: "Use the vss-ask-video skill to check whether the worker in warehouse_safety_0001 is wearing a helmet."

Frequently Asked Questions about vss-ask-video

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I ask a question about a video clip using a VLM?

Send a POST request to the VSS agent's /generate endpoint with an input_message instructing it to call the video_understanding tool for a named sensor. The agent runs VLM inference on the clip frames and returns the answer in the response value field.

What is the VSS video_understanding tool used for?

The video_understanding tool answers ad-hoc visual questions about a recorded clip, such as objects, people, actions, colors, timing, and safety compliance. It is used when no prior summary, database record, or tool output already answers the question.

Does the video need to be uploaded to VST before asking questions?

Yes. The skill requires listing VST sensors via /vst/api/v1/sensor/list before any /generate call. If no sensor matches the video filename stem, the video must be uploaded with a PUT request and an ISO 8601 timestamp first.

Which VSS profile is required for video Q&A?

The base profile is recommended because it serves the video_understanding tool on the VSS agent; the lvs profile also works. Probe http://HOST_IP:8000/docs first, and deploy a profile with the vss-deploy-profile skill if the probe fails.

When should I not use video_understanding for a question?

Do not use it when a database, MCP result, prior tool output, or existing summary already answers the question. It is reserved for cases requiring fresh model inference on video pixels, unless the user explicitly wants verification against the video.

Why does the VSS agent response contain agent-think blocks?

The /generate endpoint returns reasoning wrapped in <agent-think> tags inside the value field, with no separate clean-answer field. Consumers must strip those blocks with a regex and return only the remaining final-answer text.