简介
智能提取并分析YouTube视频字幕,无需观看即可快速获取核心内容,支持多种视频类型的结构化总结。
原始描述
Extract and analyze YouTube video transcripts without watching the video. Use when users request video summaries, ask to "analyze this YouTube video", want t...
通过你的 Agent 添加
安装目录:youtube-transcript/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: youtube-transcript
description: Extract and analyze YouTube video transcripts without watching the video. Use when users request video summaries, ask to "analyze this YouTube video", want transcripts extracted, or need to understand video content quickly. Handles any YouTube URL and provides cleaned transcripts plus AI analysis.
YouTube Transcript Analysis
Extract, clean, and analyze YouTube video transcripts to understand content without watching.
Overview
This skill enables rapid analysis of YouTube videos by extracting transcripts and providing comprehensive summaries. Perfect for research, content review, or understanding video material without time investment.
Quick Workflow
- Extract: Use
scripts/extract_transcript.sh to get clean text from YouTube URL
- Read: Load the extracted transcript file
- Analyze: Provide structured summary based on content type
- Format: Present findings in scannable, organized format
Extraction Process
scripts/extract_transcript.sh to get clean text from YouTube URLUse the bundled script for any YouTube video:
scripts/extract_transcript.sh "https://www.youtube.com/watch?v=VIDEO_ID" output.txt
The script automatically:
- Downloads yt-dlp if not present
- Extracts captions (auto-generated or manual)
- Cleans VTT formatting to plain text
- Provides character count and preview
Analysis Approach
Content Type Recognition
Identify video type first, then tailor analysis:
Educational/Tutorial: Step-by-step breakdown, key concepts, prerequisites
Product Review: Comparisons, pros/cons, recommendations, specifications
News/Commentary: Main topics, key arguments, sources cited
Entertainment: Highlights, key moments, recurring themes
Structure Your Analysis
For any video type:
- Title/Topic: Clear description of video content
- Duration insight: Brief/detailed based on transcript length
- Key points: 3-7 main takeaways in bullet format
- Notable quotes: Important statements (if applicable)
- Action items: Next steps or recommendations (if present)
For technical content:
- Include specific terminology, version numbers, tools mentioned
- Note any code examples or configurations discussed
- Identify prerequisites or dependencies
Quality Considerations
Auto-generated transcripts may have:
- Repetitive phrases
- Transcription errors for technical terms
- Missing punctuation
- Filler words ("um", "uh", "you know")
Filter and interpret accordingly - focus on clear, coherent content.
Advanced Analysis
For detailed analysis patterns and content-specific approaches, see analysis-patterns.md.
Error Handling
If extraction fails:
- Video may lack captions
- May be private/restricted
- Network connectivity issues
- Age-restricted content
Fallback approach: Use web_fetch on the YouTube URL to get basic video information, then inform user about transcript limitations.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。