/makerskills:watch-videofrom makerskills
Transcribes and analyzes videos from YouTube, Loom, Vimeo, Riverside, Zoom, local files, and social media. Offers three depth modes: transcript-only, visual (with frame extraction and Claude vision), and multimodal (Gemini native video). Uses yt-dlp, ffmpeg, and local Whisper.
Ships in makerskills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Replaces and broadens the prior youtube-transcript skill. YouTube is now one of many sources; depth is user-controlled.
Accept:
youtu.be/<id>, youtube.com/shorts/<id>, raw 11-char IDloom.com/share/<id> or loom.com/embed/<id>vimeo.com/<id>.mp4 from a downloaded recordingsocial-fetch for metadata, uses yt-dlp for the file.mp4 / .mov / .webm / .mkvDetect source from URL pattern or file extension. If ambiguous, ask.
| Invocation | Mode | What you get |
|---|---|---|
/watch-video <url> | transcript (default) | Clean text, metadata, optional chapters |
/watch-video <url> transcript | transcript | Same as default |
/watch-video <url> visual | visual | Transcript + frames at intervals + Claude vision pass identifying key moments |
/watch-video <url> multimodal | multimodal | Native video to Gemini (if $GEMINI_API_KEY), else dense Claude vision frame-by-frame |
If the depth isn't specified and the video is >10 minutes, ask before defaulting (visual/multimodal cost real money on long videos).
For URL sources, use yt-dlp:
yt-dlp --skip-download --print "%(.{title,uploader,duration_string,upload_date,webpage_url,chapters,description})j" "<url>"
One JSON object comes back. Descriptions run multi-line, so don't parse the output with | or line splits. chapters is absent when the video has none. upload_date is YYYYMMDD.
Capture: title, uploader/channel, duration, upload date, description (first paragraph), chapters (list or absent). Save the object as <workdir>/metadata.json once Step 4 creates the workdir.
For local files, use ffprobe:
ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "<file>"
~/Documents/videos/<source>-<slug>-<date>/
Where:
source: youtube / loom / vimeo / riverside / zoom / localslug: kebab-case of title (first 4–6 words, max 50 chars)date: YYYY-MM-DDBackend selection (in order):
Platform-provided transcript if it exists and looks complete:
yt-dlp --write-sub --write-auto-sub --skip-download --sub-langs "en,en-US,en-GB" --sub-format vtt -o "<workdir>/transcript" "<url>" — writes <workdir>/transcript.en.vtt. For a non-English video, run yt-dlp --list-subs "<url>" and swap in its code. Don't use en.*: it also matches auto-translated tracks (en-sq, …) and trips HTTP 429.https://www.loom.com/share/<id> page metadata or Loom API if $LOOM_API_KEY setMLX-Whisper local (default on Apple Silicon Macs):
# Install once: pip install mlx-whisper
python3 -I - "<file>" "<workdir>/transcript" <<'PY'
import sys, mlx_whisper
r = mlx_whisper.transcribe(sys.argv[1], path_or_hf_repo="mlx-community/whisper-large-v3-turbo", condition_on_previous_text=False)
def ts(x):
h, m, s = int(x // 3600), int(x % 3600 // 60), x % 60
return f"{h:02}:{m:02}:{s:06.3f}".replace(".", ",")
segs = r["segments"]
open(sys.argv[2] + ".txt", "w", encoding="utf-8").write("\n".join(s["text"].strip() for s in segs) + "\n")
with open(sys.argv[2] + ".srt", "w", encoding="utf-8") as f:
for i, s in enumerate(segs, 1):
f.write(f"{i}\n{ts(s['start'])} --> {ts(s['end'])}\n{s['text'].strip()}\n\n")
PY
Both snippets write transcript.txt and a timestamped transcript.srt, which the loop check in Step 5 reads.
Or via the CLI: mlx_whisper <file> --model mlx-community/whisper-large-v3-turbo --output-dir <workdir>
faster-whisper (CPU or CUDA) or whisper.cpp. Same model size.# Install once: pip install faster-whisper "av>=17,<18"
python3 -I - "<file>" "<workdir>/transcript" <<'PY'
import sys
from faster_whisper import WhisperModel
model = WhisperModel("large-v3-turbo", compute_type="int8") # add device="cuda" on an NVIDIA GPU
segments, info = model.transcribe(sys.argv[1], vad_filter=True, condition_on_previous_text=False)
def ts(x):
h, m, s = int(x // 3600), int(x % 3600 // 60), x % 60
return f"{h:02}:{m:02}:{s:06.3f}".replace(".", ",")
with open(sys.argv[2] + ".txt", "w", encoding="utf-8") as txt, open(sys.argv[2] + ".srt", "w", encoding="utf-8") as srt:
for i, s in enumerate(segments, 1):
txt.write(s.text.strip() + "\n")
srt.write(f"{i}\n{ts(s.start)} --> {ts(s.end)}\n{s.text.strip()}\n\n")
PY
Run it with whichever python3 has the package (a venv's bin/python works). The av pin matters: faster-whisper 1.2.x passes an argument that PyAV 18+ removed, and transcription then dies with TypeError: open() got an unexpected keyword argument 'metadata_errors'.
Download the video file first if it's a URL (use yt-dlp; Loom/Vimeo/YT all supported):
yt-dlp -f "bv*[height<=720]+ba/b[height<=720]" --merge-output-format mp4 -o "<workdir>/video.%(ext)s" "<url>"
720p is plenty for transcription and frame analysis (smaller download, faster processing). Without --merge-output-format mp4, YouTube usually lands as video.webm and every video.mp4 below misses.
Clean the transcript (YouTube VTT — de-dups rolling captions, strips tags, decodes >/&, starts a new paragraph after a >2s gap between cues; Whisper output is already clean):
python3 -I - "<workdir>/transcript.en.vtt" "<workdir>/transcript.txt" <<'PY'
import html, re, sys
def secs(t):
return sum(float(p) * m for p, m in zip(reversed(t.replace(",", ".").split(":")), (1, 60, 3600)))
out, last, prev_end = [], None, None
for block in re.split(r"\n{2,}", open(sys.argv[1], encoding="utf-8").read().replace("\r\n", "\n")):
lines = block.strip().splitlines()
cue = next((i for i, l in enumerate(lines) if "-->" in l), None)
if cue is None:
continue
start, end = (secs(t.split()[0]) for t in lines[cue].split("-->"))
first = True
for raw in lines[cue + 1:]:
text = html.unescape(re.sub(r"<[^>]+>", "", raw)).strip()
if not text or text == last: # rolling captions repeat the previous line
continue
if first and prev_end is not None and start - prev_end > 2:
out.append("")
first = False
out.append(text)
last = text
prev_end = end
open(sys.argv[2], "w", encoding="utf-8").write("\n".join(out) + "\n")
PY
Verify the transcript for Whisper hallucination loops before using it. On long recordings (especially multi-speaker calls with silence/crosstalk), Whisper can fall into a repetition loop and emit the same caption for huge stretches — a real failure produced "Yep." for 95 of 105 minutes while looking like a successful run. Detect it by scanning for runs of ≥8 consecutive identical captions:
The check needs timestamped captions, so have Whisper write SRT (--output-format srt on the mlx_whisper CLI).
# entries = [(start_sec, text), ...] parsed from the SRT
i = 0
while i < len(entries):
j = i
while j+1 < len(entries) and entries[j+1][1] == entries[i][1]:
j += 1
if j - i >= 8:
print("hallucination run:", entries[i][0], "->", entries[j][0], repr(entries[i][1][:30]))
i = j + 1
If long runs appear, re-transcribe with conditioning disabled — this breaks the loop propagation:
mlx_whisper <file> --model mlx-community/whisper-large-v3-turbo --output-dir <workdir> --output-format srt --condition-on-previous-text False
On faster-whisper, pass condition_on_previous_text=False to transcribe(); on whisper.cpp, --max-context 0.
Run this check BEFORE building any analysis on the transcript; a looped transcript silently poisons keyword scans and any vision pass that pairs frames with audio.
Save final to <workdir>/transcript.txt.
transcript mode: stop hereOutput:
transcript.txtmetadata.jsonvisual mode: extract frames + vision passCadence by source heuristic:
| Source type | Frame cadence |
|---|---|
| Screen-share / Loom / demo | 1 frame per 5s (UI changes fast) |
| Talking head / podcast | 1 frame per 30s (slow change) |
| Slide presentation | 1 frame per 10s + force a frame on each detected scene change |
| Default if unsure | 1 frame per 15s |
mkdir -p "<workdir>/frames"
ffmpeg -i "<workdir>/video.mp4" -vf "fps=1/15" "<workdir>/frames/frame-%04d.png" -y
For scene-change detection (slide decks especially):
ffmpeg -i "<workdir>/video.mp4" -vf "select='gt(scene,0.3)',showinfo" -fps_mode vfr "<workdir>/frames/scene-%04d.png" 2> "<workdir>/scene-detection.log"
For working sessions, bug reviews, and product walkthroughs, a single uniform cadence misses the detail that matters. Do a two-pass analysis:
bug|broken|doesn't work|error|glitch|stuck|failing|should change|fix|confusing|janky), pad each ±20s, and merge overlaps. Keep windows tight — over-padding merges the whole video back into one window.mkdir -p "<workdir>/dense"
# per hot window [A, B] seconds:
ffmpeg -ss <A> -to <B> -i "<workdir>/video.mp4" -vf "fps=1/3,scale=1280:-2" "<workdir>/dense/w<NN>-%03d.png" -y
The dense pass is where exact repro sequences, on-screen error text, and short-lived UI states (a modal that flashes, a wrong redirect, a state mismatch) get captured — several real findings only exist at 3s cadence. Long videos: parallelize both passes with subagents, each taking a frame chunk + its transcript slice, then dedupe findings across passes at synthesis.
Pair each frame with the transcript chunk for the same timestamp window. Then batch-send to Claude vision for synthesis.
Per-frame batch prompt (up to ~10 frames per call):
Here are N frames from a video at timestamps T1..TN. For each frame, describe what's on screen in 1–2 sentences. Flag: (a) UI changes from previous frame, (b) text visible on screen, (c) any moment that looks like a decision, action, or notable event. Also note the transcript text spoken during this window.
Save the output as <workdir>/moments.md:
# Key moments — <title>
## 00:00:15 (frame-001.png)
**On screen**: Login form, email field focused
**Transcript**: "So you just open it up and..."
**Note**: Beginning of UI demo
## 00:00:45 (frame-002.png)
**On screen**: Dashboard with 4 cards
**Transcript**: "And here's where you see all your projects."
**Note**: Major view change — first time the dashboard appears
After moments are identified, synthesize the whole video into <workdir>/summary.md:
# Summary — <title>
**Source:** <source URL / file>
**Duration:** <hh:mm:ss>
**Watched at:** <date>
**Mode:** visual
## TL;DR
<2–4 sentences>
## Key moments
- 00:00:15 — <one-line>
- 00:00:45 — <one-line>
## Action items flagged
- <item> [timestamp]
## Decisions flagged
- <decision> [timestamp] — consider routing to /decide
## Quotes worth keeping
- "..." [timestamp]
## Open questions
- <question raised but not answered>
multimodal modeGemini native if $GEMINI_API_KEY is set (much cheaper + faster than per-frame for long videos):
Default model: gemini-3.5-flash (released May 2026, ~USD 1.50 input / USD 9 output per 1M tokens; ~USD 0.15/sec of video; beats 3.1 Pro on coding/agentic benchmarks at 4× the speed). Override to gemini-3.1-pro for brand audits / high-stakes analysis where details matter; gemini-2.5-flash-lite for bulk cheap processing.
# Step 1: Upload video via Files API
FILE_URI=$(curl -s -X POST "https://generativelanguage.googleapis.com/upload/v1beta/files?key=$GEMINI_API_KEY" \
-H "X-Goog-Upload-Command: start, upload, finalize" \
-H "Content-Type: video/mp4" \
--data-binary "@<workdir>/video.mp4" | jq -r '.file.uri')
# Wait until file is ACTIVE (Gemini processes the video first)
while true; do
STATE=$(curl -s "$FILE_URI?key=$GEMINI_API_KEY" | jq -r '.state')
[ "$STATE" = "ACTIVE" ] && break
sleep 3
done
# Step 2: Generate content with the file + multimodal-analysis prompt
curl -s -X POST "https://generativelanguage.googleapis.com/v1beta/models/gemini-3.5-flash:generateContent?key=$GEMINI_API_KEY" \
-H "Content-Type: application/json" \
-d "{
\"contents\":[{
\"parts\":[
{\"file_data\":{\"mime_type\":\"video/mp4\",\"file_uri\":\"$FILE_URI\"}},
{\"text\":\"<multimodal analysis prompt — see Step 7's summary template + use-case extensions>\"}
]
}]
}"
Files persist in Gemini Files API for ~48 hours — useful for re-querying the same video with different prompts.
Dense Claude vision fallback if no Gemini key:
Same summary.md template as Step 7 + an extended section:
## Multimodal observations
- **Body language / delivery**: <observations on talking-head video>
- **Pacing**: <fast/slow/uneven>
- **Visual style**: <brand audit, ad review, design observations>
- **Audio quality / atmosphere**: <music, silence, background>
Exact extra sections depend on the use case (brand audit, ad review, talk delivery review, client-call read). Use case is inferred from the source + the user's verbal framing when invoking.
After any mode completes, offer:
"Want to capture this to second-brain? I'll write a
call-<slug>.md(ormeeting-/note-/resource-) to${SECOND_BRAIN_VAULT:-$HOME/Documents/SecondBrain}/raw/with the summary, source URL, and transcript link."
Type prefix by source:
| Source | Prefix |
|---|---|
| Loom / Zoom / Riverside / Otter / call recording | call- |
| Meeting (own notes, not a transcript) | meeting- |
| Talk / keynote / conference | note- |
| Ad / landing-page video / marketing reference / competitor video | resource- |
File body: 1-line source, the summary, link to full workdir.
In chat:
<source> · <title> · <duration> · <mode> · <word count> wordsvisual / multimodal: brief list of top 3 key moments| Source | Download | Built-in transcript | Notes |
|---|---|---|---|
| YouTube | yt-dlp | Auto-subs (--write-auto-sub) | Same as the prior youtube-transcript skill |
| Loom | yt-dlp (Loom supported) | Yes — fetch via embed metadata or Loom API | Async screenshare focus — prime use case |
| Vimeo | yt-dlp | Sometimes | Marketing/embed videos |
| Riverside | Direct URL from export, or local file | Yes — Riverside generates them | Podcast episodes |
| Zoom | Local .mp4 (downloaded recordings) | Sometimes (Zoom audio transcript file) | Client calls |
| X / IG / TikTok | Defer to social-fetch for metadata, yt-dlp for file | No | Short-form |
| Local file | n/a | n/a | Drop a path |
social-fetch — for X/IG/TikTok URL metadata (engagement, author, replies) before video processingsecond-brain — capture summary as raw/call-<slug>.md, meeting-, note-, or resource- per source typedecide — when a video contains a flagged decision, route to /decide for structured captureproject-manager — action items flagged in summary can be triaged to project boardsslide-deck — talk recordings → outline extraction → deck draft (loop)jab-hook — quotes + clip-worthy moments from podcast/talk videos feed BIP/promo postsskillify from-video — primary use case for visual mode on process recordings. the user records themselves doing a workflow (Loom/screen-share), this skill extracts transcript + key visual moments, then skillify synthesizes the workflow into a SKILL.md. "Record once, AI converts to skill."| Failure | Response |
|---|---|
| Video unavailable / private / region-locked | Report and stop |
| No subtitles + Whisper not installed | Tell the user: pip install mlx-whisper (Apple Silicon) or pip install faster-whisper (anything else) |
| ffmpeg missing (for visual/multimodal) | Tell the user: brew install ffmpeg |
| Vision pass returns empty / unclear | Lower the frame count, retry, or fall back to transcript-only with a note |
Multimodal requested but no $GEMINI_API_KEY and >30min video | Warn cost, offer to fall back to visual mode |
yt-dlp binary missing | brew install yt-dlp |
USD 1.50.yt-dlp -f "bv*[height<=720]+ba/b[height<=720]" is the default.ffmpeg -vf "select='gt(scene,0.3)'" to force a frame on each detected slide change — more reliable than pure time-based sampling.## Decisions flagged + ## Action items flagged sections signal /decide and /project-manager follow-ups. Downstream composability lives in the summary structure.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
video-transcription, video-analysis, yt-dlp, whisper, ffmpeg, gemini
26 skills in this plugin
/business-brainstormWhen you want to pressure-test a potential new business, product, or side project against the serial-founder filter. Not "marketing ideas for a product" (that's marketing-skills:marketing-ideas) — this is "should this business exist + can you win it." Runs the idea through a structured framework (problem, audience, wedge, monetization, moat, portfolio fit, distribution, energy fit, opportunity cost), checks domain availability via /domain, optionally triggers /deep-research for market validation, and outputs a viability brief: build / sleep on it / pass. Archives every idea to ~/.config/makerskills/business-brainstorm/archive/ so past work is searchable. Triggers on "/business-brainstorm," "/brainstorm," "new business idea," "should I build X," "pressure test this idea," "validate this idea," "is X a good business," "what about a [type] for [audience]."/castmateWhen you want to pull in the right AI model for the right job: hand a task to another agent CLI (Codex, Claude, Gemini, Grok, Amp, OpenCode, Cursor, Kiro, Antigravity), or send one prompt to several at once for independent opinions, then synthesize. Delegate mode gives one castmate the job, optionally with write access ('have codex write the migration'). Fan-out mode runs read-only reviews in parallel. Rounds mode lets castmates build on and challenge each other's findings. Calls the official CLIs you already have installed and logged in (Gemini CLI needs an API key on personal accounts); no MCP. Triggers on '/castmate,' 'ask codex,' 'have gemini do this,' 'get a second opinion,' 'what would other models say,' 'fan this out,' 'cross-check this with another model,' 'delegate this to codex.' Advisor personas for founder questions go to maker-council. Personal models, casting rules, and run outputs live in ~/.config/makerskills/castmate/.npx claudepluginhub coreyhaines31/makerskills --plugin makerskillsOther plugins' skills for the same job