video-search
БесплатноБез исполняемых скриптовНе проверенFind a moment in a video or ask a question about it. Use when the user wants to search inside a video, a library, or a meeting recording ("find where they…
от video-db★ 159 звёзд на GitHubОб этом скилле
Find a moment, or ask a video
Which path
- VideoDB connector tools present (names such as
upload_media,search_video,ask_video,understand_video): use them. This is the path in Claude chat on web, desktop and mobile, and in Cowork. Do not install anything and do not ask for an API key. - No VideoDB tools, but you have a shell (Claude Code, Cowork, any agent that can run Python): ask for the VideoDB API key in one friendly line (free at https://console.videodb.io, $20 of credits, no card). When the user gives it, in chat or any other way, save it yourself to the project's
.envasVIDEO_DB_API_KEY, never print it, and continue with the Python SDK path at the end of this file. In Claude Code,/mcpthen authorizing videodb also works. - No VideoDB tools and no shell: you are in Claude chat. Reply with only this, adapted to the request: "VideoDB isn't connected yet. Open Settings → Connectors, find VideoDB, click Connect and log in (free, no card). Then send this request again and I'll take it from there." Do not mention API keys,
.env, shells, Claude Code or/mcphere; none of them apply in chat, and a key pasted into chat cannot be used because nothing runs code there.
Talking to the user: never write "index", "indexed" or "indexing" in a reply. Say "searchable" ("it is now searchable by what was said and what is shown"), and "transcribe" rather than naming a job. One line of status at a time, then the result.
Long jobs return status: processing. The reply carries an output_url and names the tool to poll (poll_with, or retry_with on older servers). Call that tool with the output_url until it is done; several processing replies in a row are normal (a 10-minute YouTube upload takes about five), and a done reply with an empty result means poll once more. Never re-run the write; that starts a second job.
With the connector tools
1. Get the video. First search_videos_by_title(query) with the video's title or the link's words; reuse the m- id if it is already in the account. Otherwise, for a YouTube link or public URL, upload_media(url), poll until done, and note the m- id and the length in seconds. The user has no URL and the file is on their computer: the connector cannot take local files; point them to the console at https://console.videodb.io to upload, then continue with the m- id.
2. Pick the fast path or the index path.
Fast path, the default for a one-off question about what was said. Read the transcript yourself and find the moments:
generate_transcript(media_id) # a job; poll until done (instant if already transcribed)
get_transcript(media_id, timestamped=true, segmenter="sentence") # sentence segments with start and end seconds
Scan the segments for the moments the user described, note their start and end, and go to step 4. No index needed. Two traps: the transcript job's done result includes text and a word list, but the list is truncated, so always read with get_transcript; and the default segmenter is one segment per word, capped at 2000 segments, so pass segmenter="sentence" (a couple of hours of speech fit) or start and end windows. A video the tool still truncates, or one the user will keep asking about, is a sign to use the index path.
Nothing matches: say so plainly and do not stretch a loose match into the thing the user asked for. A YouTube upload can be an excerpt of a longer talk. Offer the nearest moment, clearly labelled as such, or ask for another video.
Index path. Use it when the question is about what is shown rather than said, when the user wants counts or exact filters, when they will ask many questions about the same video or library, or when the transcript is too long to read. Check list_indexes(video_id) first; if nothing is ready:
understand_video(video_id, analyzers=[
{"type": "spoken_words", "name": "transcript"},
{"type": "vlm", "name": "scene", "config": {"prompt": "Describe the scene and any on-screen text."}}
])
Poll get_understanding(video_id, understanding_id) until every analyzer is done, then build one index per analyzer:
create_index(video_id, understanding_id, analyzer_name="transcript")
create_index(video_id, understanding_id, analyzer_name="scene")
Only speech matters (a podcast, a call): run just the spoken_words analyzer. Objects and counts ("how many cars"): add {"type": "object_detection"} or {"type": "activity_recognition"}.
3. Retrieve (index path).
| The user wants | Call |
|---|---|
| Moments with timestamps | search_video(video_id, query, include_clip=true) |
| A written answer with sources | ask_video(video_id, question, include_sources=true) |
| Across a whole library | search_collection(query) or ask_collection(question) |
| Counts and groups ("which objects appear most") | aggregate_index(video_id, index_name="objects", group_by="frames.detections.label") |
Установить video-search в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл video-search?
Find a moment in a video or ask a question about it. Use when the user wants to search inside a video, a library, or a meeting recording ("find where they talk about pricing", "which scenes show a phone", "what did she say about hiring"), get an answer with timestamps, count what appears, or get a clip of that moment. A highlight reel from a prompt, a cut by time range, or a vertical cut is video-clips. Works on YouTube links, public URLs and the user's VideoDB videos.
Как установить скилл video-search?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл video-search запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub