Skills custom-youtube-summarize
Extract transcript from a YouTube video using Python and summarize it.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/5eun/custom-youtube-summarize" ~/.claude/skills/openclaw-skills-custom-youtube-summarize && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/5eun/custom-youtube-summarize" ~/.openclaw/skills/openclaw-skills-custom-youtube-summarize && rm -rf "$T"
manifest:
skills/5eun/custom-youtube-summarize/SKILL.mdsource content
Description
Extracts subtitles from YouTube videos and generates summaries. Use when users provide YouTube URLs with requests like "summarize this video" or "explain this content".
Setup
- Create script at
with provided code{baseDir}/transcript_extract.py - All libraries are already installed in the skills folder.
- Therefore, no additional action is required to run Python files.
Usage
When receiving a YouTube URL:
- Executes:
python3 {baseDir}/transcript_extract.py "<YOUTUBE_URL>" - Captures output between
and[TRANSCRIPT-START][TRANSCRIPT-END] - Uses LLM to generate summary from raw transcript text
Configuration
script_path: "{baseDir}/transcript_extract.py" supported_languages: ["ko", "en"]
Example
Input:
https://youtu.be/dQw4w9WgXcQ (with "summarize this" context)
https://youtu.be/M-S2ctyAeaY?si=PEYq7Uy8HA8bpUUv 이 영상 요약해줘
다음 영상 요약 https://youtu.be/M-S2cty
Summarize https://youtube.com/watch?v=ch4EsgfHOJc
요약 https://youtube.com/watch?v=ch4EsgfHOJc
https://youtube.com/watch?v=chgasgwHOJc 이거 내용 뭐야?
https://youtube.com/watch?v=qsnuQI62sda Tell me the content of this video
Tell me the content of this video https://youtube.com/watch?v=qsnuQI62sda
Output:
[TRANSCRIPT-START] Never gonna give you up, never gonna let you down... [TRANSCRIPT-END] This video contains the iconic Rickroll meme track by Rick Astley. The lyrics revolve around themes of loyalty and commitment, featuring the artist's signature bassline and 80s production style. Despite its simple lyrics, it remains one of YouTube's most enduring viral pranks.
Notes
- Handles both manually created and auto-generated subtitles
- Falls back to English if Korean subtitles aren't available
- Returns error messages if no transcript exists or URL is invalid