report
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseReport
报告
Build timestamped video analysis reports by querying the VSS agent for a description of the video using . The agent runs (and related tools) internally. Take the agent’s caption-style text with timestamps and paste it into the Video Analysis Report template below.
POST …/generatevideo_understanding通过调用VSS Agent的接口获取视频描述,构建带时间戳的视频分析报告。该Agent内部运行**(及相关工具)。将Agent返回的带时间戳的字幕式文本粘贴到下方的视频分析报告**模板中。
POST …/generatevideo_understandingWhen 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"
- "为这段视频生成报告" / "为生成报告"
<sensor-id> - "创建一份分析报告"
- "对上传的视频内容生成报告"
- "给我一份报告"
Deployment prerequisite
部署前提
This skill requires the VSS base profile running on the host at . Before any request:
$HOST_IP-
Probe the VSS agent:bash
curl -sf --max-time 5 "http://${HOST_IP}:8000/docs" >/dev/null -
If the probe fails, ask the user:"The VSSprofile isn't running on
base. Shall I deploy it now using the$HOST_IPskill with/deploy?"-p base- If yes → hand off to the skill. Return here once it succeeds.
/deploy - 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 invokedirectly.)/deploy - If yes → hand off to the
-
If the probe passes, proceed.
此Skill要求VSS base配置文件在对应的主机上运行。发起任何请求前,请执行以下步骤:
$HOST_IP-
探测VSS Agent:bash
curl -sf --max-time 5 "http://${HOST_IP}:8000/docs" >/dev/null -
若探测失败,询问用户:"VSS的配置文件未在
base上运行。是否现在使用$HOST_IPSkill并携带参数/deploy进行部署?"-p base- 若用户同意 → 转交至Skill。部署成功后返回此流程。
/deploy - 若用户拒绝 → 终止流程。请勿在缺少相关组件的情况下运行此Skill。
(若调用者已明确授权自主部署——例如请求中注明“已预授权部署前置依赖”,或您在具备该权限的非交互式评估环境中运行——则可跳过确认步骤,直接调用。)/deploy - 若用户同意 → 转交至
-
若探测成功,继续执行后续步骤。
Agent workflow
Agent工作流程
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, or compose / deployment docs for the machine where the stack runs. Typical pattern:HOST_IPwith port from env (oftenhttp://<host>:<port>for the agent API).8000 -
Query the agent —with JSON
POST ${VSS_AGENT_BASE_URL}/generate. 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.{"input_message": "<prompt>"}- 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
按顺序执行以下步骤:
-
传感器/视频片段 — 确认用户所指的传感器ID或视频。若信息不明确,需先询问用户再继续。若用户请求中未直接提及传感器或视频,用户可能指的是之前提到过的视频。
-
VSS Agent部署 — 解析Agent的HTTP基础URL。读取**、
VSS_AGENT_PORT/EXTERNAL_IP,或查看组件运行所在机器的编排/部署文档。典型格式为:HOST_IP,端口来自环境变量(Agent API通常为http://<host>:<port>**)。8000 -
调用Agent — 向**发送JSON请求体
POST ${VSS_AGENT_BASE_URL}/generate。请求获取带时间戳的字幕摘要**(按时间顺序分段,以片段开始后的秒数为单位),例如描述场景和事件的时间范围。请求消息中必须包含传感器/文件名。{"input_message": "<prompt>"}- 请勿向VSS Agent提及报告相关内容
-
报告模板 — 将Agent返回的最终文本(带时间戳的字幕/摘要)复制到分析结果部分,并填写基本信息;将该Markdown文档返回给用户。
Query VSS agent (/generate
)
/generate调用VSS Agent(/generate
)
/generatebash
undefinedbash
undefinedSet from deployment (compose / .env / host where vss-agent listens)
从部署配置中获取(编排文件/.env/VSS Agent监听的主机)
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 .
-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 .
---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": "详细描述<sensor-id>传感器对应的视频内容,为每个片段或事件添加时间戳(以片段开始后的秒数为单位的开始-结束时间)。"}' | jq .
-H "Content-Type: application/json"
-d '{"input_message": "详细描述<sensor-id>传感器对应的视频内容,为每个片段或事件添加时间戳(以片段开始后的秒数为单位的开始-结束时间)。"}' | jq .
---Video Analysis Report template
视频分析报告模板
Paste the agent’s timestamped summary under Analysis Results. Fill the table fields (timestamps, source, request).
markdown
undefined将Agent返回的带时间戳的摘要粘贴到分析结果下方。填写表格字段(时间戳、来源、请求内容)。
markdown
undefinedVideo 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> |
| 字段 | 值 |
|---|---|
| 报告标识 | vss_report_<YYYYMMDD_HHMMSS> |
| 分析日期 | <YYYY-MM-DD> |
| 分析时间 | HH:MM:SS |
| 报告生成AI Agent | <例如:您的标识> |
| 视频来源 | <sensor_id或文件名> |
| 分析请求内容 | <用户向您提出的请求描述> |
Analysis Results
分析结果
<agent output: timestamped caption / summary>
---<Agent输出:带时间戳的字幕/摘要>
---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 patterns; this skill focuses on timestamped captions → report template.
/generate
- vios — 若您需要上传视频或在调用Agent前验证视频是否存在,可参考VST传感器、存储及视频片段URL相关内容。
- video-understanding — 用于处理无法直接通过生成的报告或对话历史回答的后续问题。
- video-summarization / incident-report — 其他**调用模式;本Skill专注于带时间戳的字幕→报告模板**的流程。
/generate