video-clips

Installation
SKILL.md

Clips, highlights and social cuts

Which path

  1. VideoDB connector tools present (names such as generate_clip, create_highlight_clip, compile_clips, reframe_video, upload_media): 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.
  2. 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 .env as VIDEO_DB_API_KEY, never print it, and continue with the Python SDK path at the end of this file. In Claude Code, /mcp then authorizing videodb also works.
  3. 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 /mcp here; 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.

Every cut is a long job: the call returns 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. The finished result carries a stream_url and a player_url; share the player_url, it opens in any browser.

With the connector tools

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 instead of uploading again. Otherwise, for a YouTube link or public URL, upload_media(url) and poll until done; note the m- id and length. Local files cannot come through the connector; the user uploads at https://console.videodb.io and shares the m- id.

Installs
97
Repository
video-db/skills
GitHub Stars
140
First Seen
14 days ago