video-summarizer

Download videos from 1800+ platforms (YouTube, Bilibili, Twitter/X, TikTok, Vimeo, Instagram, etc.) and generate complete resource package with video, audio, subtitles, and AI summary. Actions: summarize, download, transcribe, extract video content. Platforms: youtube.com, bilibili.com, twitter.com,

By liang121 · 515 installs

npx skills add liang121/video-summarizer --skill video-summarizer

Source repository · Upstream listing

Video Summarizer Overview Download videos from any platform and generate a complete resource package including: Original video file (mp4) Audio file (mp3) Subtitle file (with timestamps, vtt/srt format) Summary file (summary.md) Supports all 1800+ websites supported by yt dlp. Trigger Conditions When the user: Provides a video link and asks for a summary Says "summarize this video", "what's in this video" Asks to "extract video content", "transcribe video" Says "download this video" Provides a link from YouTube/Bilibili/Twitter/Vimeo/TikTok etc. Supported Platforms YouTube (youtube.com, youtu.be) Bilibili (bilibili.com, b23.tv) Twitter/X (x.com, twitter.com) Vimeo (vimeo.com) TikTok (tiktok.com) Instagram (instagram.com) Twitch (twitch.tv) And 1800+ other platforms (all sites supported by yt dlp) Output Structure All files are saved to downloads/<video title / in the current working directory : Workflow Step 1: Install Dependencies Run the install script to check and install all dependencies: This installs: uv (Python package manager), ffmpeg, yt dlp, and checks Python version. faster whisper will be automatically managed by uv. Step 2: Get Video Info and Create Output Directory Step 3: Download Video and Audio Step 4: Get Subtitles Priority order: 1. Try downloading manual subtitles (best quality) 2. Try downloading auto generated subtitles 3. Use faster whisper transcription when no subtitles available The script automatically: Splits long audio files at silence points Uses multiple CPU cores for parallel transcription Outputs both subtitle.vtt and transcript.txt Transcription Options : Option Default Description model small tiny/base/small/medium/large v3 language auto Language code or 'auto' workers CPU/2 Number of parallel workers min segment 60 Min duration (sec) to enable splitting Step 5: Generate Plain Text Transcript If subtitles were downloaded (not transcribed), convert to plain text: Step 6: Generate Summary File 1. Read prompt template from $SKILL DIR/reference/summary prompt.md 2. Replace placeholders: {{TITLE}} , {{PLATFORM}} , {{URL}} , {{DURATION}} , {{LANGUAGE}} , {{DOWNLOAD TIME}} , {{TRANSCRIPT}} 3. Generate summary and save to $OUTPUT DIR/summary.md Platform Specific Handling Bilibili Platforms Requiring Login Error Handling Cannot Get Subtitles Use the parallel transcription script (Step 4, option 3). Video Too Long ( 1 hour) 1. Ask user if they only need partial content 2. The parallel script handles long files automatically Unsupported Platform Notes 1. Storage : Files saved to ./downloads/ in current working directory 2. Copyright : For personal learning use only 3. Network : Some platforms may require proxy 4. First Run : Whisper model download required (~244MB for small) 5. Parallel Processing : Long audio ( 60s) auto splits at silence points