Skip to main content

youtube-summary

Automatically fetch YouTube video subtitles and generate concise summaries. Use when you need to summarize a YouTube video, get key points from a talk, or extract main ideas from long videos without watching. Supports different summary lengths and multiple languages.

跳到安装

来源信息

仓库
knownasnaffy/prompthound
最近来源活动
2026年7月6日 07:03
检测到的 SKILL.md 语言
英语
星标
0
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
6 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
youtube-summary
description
Automatically fetch YouTube video subtitles and generate concise summaries. Use when you need to summarize a YouTube video, get key points from a talk, or extract main ideas from long videos without watching. Supports different summary lengths and multiple languages.
# YouTube Summary Automatically get subtitles from any public YouTube video and generate a clean, structured summary with key points. Saves hours of watching long videos when you just need the main ideas. ## Core Capabilities ### 1. Get full subtitles from any public YouTube video - Works with videos that have auto-generated captions - Supports multiple languages - Outputs clean formatted text ### 2. Generate concise summaries - Extracts all key points and main arguments - Adjusts summary length based on your needs (short/medium/detailed) - Structures output with bullet points for easy reading ### 3. Export results - Save summary as markdown or text file - Copy-paste ready for note-taking ## Quick Start Given a YouTube URL: 1. **Extract video ID** from the URL - `https://www.youtube.com/watch?v=dQw4w9WgXcQ` → ID: `dQw4w9WgXcQ` - `https://youtu.be/dQw4w9WgXcQ` → ID: `dQw4w9WgXcQ` 2. **Fetch subtitles** using the Python script: ```python from scripts.youtube_subtitles import get_youtube_subtitles subtitles = get_youtube_subtitles(video_id) ``` 3. **Generate summary** with the AI model using the subtitle text 4. **Format and present** the result with: - Video title and link - Executive summary (1-paragraph overview) - Key points (bulleted list) - Detailed notes (optional) ## Usage Examples **Example request:** "Summarize this YouTube video: https://www.youtube.com/watch?v=xyz" **Expected output:** ``` # Video Summary: [Title] Source: https://www.youtube.com/watch?v=xyz ## Executive Summary One paragraph overview of the entire video's main message. ## Key Points - Point 1: Main argument or finding - Point 2: Second important topic - Point 3: Key takeaway - ... ## Detailed Notes (optional for longer videos) More detailed breakdown... ``` ## Language Support - The script automatically gets the available subtitle tracks - Default to first available track (usually the video's original language) - Can specify preferred language (e.g., "summarize in English" or "summarize in Chinese") ## Scripts ### `scripts/youtube_subtitles.py` Python utility to fetch subtitles from YouTube using youtube-transcript-api. **Usage:** ```bash python scripts/youtube_subtitles.py <video-id> [language-code] ``` **Requirements:** ``` pip install youtube-transcript-api ``` ### `scripts/summarize.py` Helper script to format subtitles for summarization. ## When to use this skill ✅ **Use when:** - You want the main ideas from a long YouTube video without watching - You need to take notes from a lecture or talk - You want to share key points from a video with others - You're doing research and need to process multiple videos quickly ❌ **Don't use when:** - The video is private and has no public captions - The video has no captions/subtitles at all - You need a full word-for-word transcription (this skill focuses on summarization)
在 GitHub 查看