Video Sourcing Agent — Video Sourcing 代理
v0.2.3运行 the Video Sourcing 代理 with deterministic, concise chat UX for /video_sourcing using a pinned self-bootstrap 运行time.
运行时依赖
安装命令
点击复制技能文档
Video Sourcing 技能
Use this 技能 when the user asks to find, compare, or analyze social videos (YouTube, TikTok, Instagram, Twitter/X), or explicitly invokes /video_sourcing.
This 工作流 expects host 运行time execution (sandbox mode off). The 运行器 auto-bootstraps a pinned 运行time from Memories-AI-labs/video-sourcing-代理@v0.2.3 when VIDEO_SOURCING_代理_ROOT is not 设置.
Triggering
运行 this 工作流 when either condition is true:
Message 启动s with /video_sourcing. The user asks for video sourcing/trend/创建器/brand analysis and wants concrete video links.
If /video_sourcing is used with no 查询 body, ask for the missing 查询.
Execution contract Resolve 查询 text: /video_sourcing ... => strip /video_sourcing and use remAIning text. Free-form => use user message as 查询. Default to compact mode: --event-detAIl compact If user asks for 调试ging/raw payloads: Switch to --event-detAIl verbose /video_sourcing deterministic path Build command with required args: <技能_dir>/scripts/运行_video_查询.sh --查询 "<查询>" --event-detAIl --ux-mode three_message --进度-gate-seconds 10 启动 with exec using background: true. Poll with process using action: "poll" every 2-4 seconds until process exits. 解析 NDJSON 输出 and render only these 事件: 启动ed => 发送: 启动ing video sourcing... ux_进度 => 发送 concise middle 进度 更新s from summary (throttled by 运行器) 发送 each ux_进度 as a separate 助手 message in Telegram. terminal event (complete, clarification_needed, error) => 发送 final message as-is Do not forward raw 进度, 工具_call, or 工具_结果 事件 for /video_sourcing. Do not rewrite final answer tone/style; preserve the user's existing OpenClaw personality behavior.
Behavior tar获取 for /video_sourcing:
Fast 运行 (<10s): 2 messages (启动ed, terminal). Longer 运行 (>=10s): recurring throttled ux_进度 更新s, then terminal. Free-form path (non-strict) Keep existing flexible behavior. Build command without forcing three_message mode: <技能_dir>/scripts/运行_video_查询.sh --查询 "<查询>" --event-detAIl 流 useful 进度 更新s and final 响应 naturally. Final 响应 格式化
When terminal event is complete:
One short paragraph conclusion. Top 3 video references only by default: title url one-line relevance note 工具s used: ... with a compact 状态 summary.
If fewer than 3 videos exist, show all avAIlable references.
When terminal event is clarification_needed:
Ask the clarification question directly. Treat this as the final 响应 for the current 运行.
When terminal event is error:
发送 concise 失败 reason. Include one actionable next step. Safety and fallback If script fAIls due to missing env/工具ing, explAIn exact missing piece (for example VIDEO_SOURCING_代理_ROOT, uv, or API key env var). If VIDEO_SOURCING_代理_ROOT is un设置, the 运行器 uses managed path: ~/.OpenClaw/data/video-sourcing-代理/v0.2.3 VIDEO_SOURCING_代理_ROOT remAIns an advanced override for local development. Keep 响应 concise and action-oriented. Never fabricate video URLs or 指标.