Install
openclaw skills install video-searchingSearch and analyze videos across YouTube, TikTok, Instagram, and X/Twitter via the Memories.ai Video Searching API.
openclaw skills install video-searchingUse this skill when the user asks to find, compare, or analyze social videos (YouTube, TikTok, Instagram, Twitter/X), or explicitly invokes /video_search.
This skill calls the Memories.ai Video Searching API — a managed, token-authenticated endpoint that searches across platforms and returns structured results via SSE.
Run this workflow when either condition is true:
/video_search.If /video_search is used with no query body, ask for the missing query.
Resolve query text:
/video_search ... → strip /video_search and use remaining text.Build the API request JSON body:
query (required): the user's search queryplatforms (optional): array of youtube, tiktok, instagram, twitter — only set if user specifies platformsmax_results (optional, default 10): number of video resultstime_frame (optional): past_24h, past_week, past_month, past_year — only set if user specifies recencymax_steps (optional, default 10): max agent iterationsenable_clarification (optional, default false): set to true if user query is vagueCall the runner script:
<skill_dir>/scripts/run_video_query.sh \
--query "<query>" \
[--platforms "youtube,tiktok"] \
[--max-results 10] \
[--time-frame past_week] \
[--enable-clarification]
Start with exec using background: true.
Poll with process using action: "poll" every 2–4 seconds until process exits.
Parse NDJSON output and render only these events:
started → send: 🔍 Starting video search...progress → send concise progress update from message field (throttle: skip if last update was < 3s ago)complete → send final formatted response (see below)clarification → ask the clarification question directly; treat as final responseerror → send concise failure reason with one actionable next stepDo not forward raw tool_call or tool_result events to the user.
When terminal event is complete:
answer field).titleurlplatform badge (e.g. 🎬 YouTube, 🎵 TikTok, 📸 Instagram, 🐦 X)relevance_note⏱ {execution_time_seconds}s · {steps_taken} steps · {tools_used}If fewer videos exist, show all available references.
When terminal event is clarification:
When terminal event is error:
MEMORIES_API_KEY is not set, tell the user:
⚠️ Missing
MEMORIES_API_KEY. Set it in your OpenClaw environment variables to use this skill. Get your API key at https://api-tools.memories.ai