Transcript summarize
Downloads video transcripts via subtitles using yt-dlp, deduplicates and cleans them into plain-text files, then produces an AI summary of each video. WHEN: "summarize video", "video summary", "transcript summary", "summarize YouTube", "get transcript", "video transcript", "watch summary".From its SKILL.md
npx -y skills add theontho/skill-dump --skill transcript-summarizeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
3.9 KB, as published. Nobody here has run it
Transcript Summarize
Download, clean, and summarise videos from any URL supported by yt-dlp (YouTube, Vimeo, Twitter/X, etc.).
When to Use
- User asks to summarise a video
- User shares a video URL and wants a written overview
- User wants a readable transcript without watching the video
Steps
1 — Download and clean the transcript
You can use the convenience script at the root of the skill:
/Users/mac/.gemini/skills/transcript-summarize/get_transcript.sh <URL> [<URL> ...] --output-dir transcripts/ --sub-langs en.*,en
Alternatively, run the helper script directly using uv:
uv run --project /Users/mac/.gemini/skills/transcript-summarize /Users/mac/.gemini/skills/transcript-summarize/scripts/get_transcript.py <URL> [<URL> ...] --output-dir transcripts/ --sub-langs en.*,en
The script will:
- Download subtitles (manual first, auto-generated as fallback) via
yt-dlp. - Fallback: If no subtitles are found, it downloads the audio and transcribes it using
faster-whisper. - Convert SRT/VTT to plain text, removing timestamps and HTML tags.
- Deduplicate rolling-caption repeats.
- Replace leading
>/>>speaker-change indicators (or detected speakers from diarization) with>[SPEAKER CHANGE]> \nand insert blank lines before speaker changes. - Save each result as
<VideoTitle>.txtin--output-dir.
Subtitle language rule: Default to English subtitles (--sub-langs en.*,en). If the user explicitly asks for another language, or the user's request is written in another language, use that language's yt-dlp subtitle code instead (for example --sub-langs es.*,es for Spanish or --sub-langs fr.*,fr for French).
Prerequisites
Install system dependencies (ffmpeg and uv):
# macOS
brew install ffmpeg uv
# Ubuntu/Debian
sudo apt install ffmpeg
curl -LsSf https://astral-sh.uv/install.sh | sh
Python dependencies: Managed automatically by uv via pyproject.toml.
Node.js and JS runtime: If Node.js is installed, the script detects it automatically and configures yt-dlp to use it for JavaScript deobfuscation, which increases success on sites with dynamic player challenges (e.g. newer YouTube builds). Without Node.js, the script falls back to JS-free player clients (ios, mweb). Install Node.js to maximise reliability:
# macOS
brew install node
# Ubuntu/Debian
sudo apt install nodejs
2 — Read the transcript
After the script succeeds, read the generated .txt file(s) from the output directory.
3 — Generate a summary
Using the cleaned transcript text, produce a well-structured summary that includes:
- Title – the video title (use the filename without extension if unsure)
- One-sentence overview – what the video is about in ≤ 30 words
- Key points – bullet list of the main ideas or arguments (5–10 items)
- Notable quotes – 1–3 direct quotes that capture the speaker's voice (if present)
- Conclusion / takeaway – what the viewer should remember or do next
Keep the tone neutral and factual. If the transcript is too short or garbled to summarise meaningfully, report that and suggest re-running with a different subtitle language (--sub-langs).
Notes
- Subtitles must exist for the video. Fully audio-only content (no CC) will return an empty transcript.
- Use English subtitles unless the user specifies another language or asks in another language; then use the language of the request.
- Multiple URLs can be processed in one call; each produces its own
.txtfile and its own summary.