AgentSkillsCN

youtube

从YouTube视频中提取字幕与洞察。当用户分享YouTube链接,或提出“处理这段视频”、“获取字幕”、“从YouTube中提取内容”,又或是提及youtube.com或youtu.be等链接时,本技能将为您提供专业支持。

SKILL.md
--- frontmatter
name: youtube
description: Extract transcripts and insights from YouTube videos. Use when user shares a YouTube URL, asks to "process this video", "get transcript", "extract from YouTube", or mentions youtube.com or youtu.be links.

YouTube

Extract transcripts and insights from YouTube videos, then save to the knowledge base.

Quick Start

code
User: "Process this video: https://youtube.com/watch?v=..."
→ Fetches transcript
→ Categorizes video type
→ Extracts key insights
→ Saves to context/learning/

Available Operations

OperationDescriptionModule
Fetch TranscriptGet text from any YouTube videoTRANSCRIPT.md
Extract InsightsAnalyze and summarize key pointsINSIGHTS.md

Scripts

Fetch transcript:

bash
python .claude/skills/youtube/scripts/youtube_transcript.py <url>

With timestamps:

bash
python .claude/skills/youtube/scripts/youtube_transcript.py <url> --timestamps

Workflow

  1. Get Transcript - Run script or receive pasted content
  2. Categorize - Identify video type (Tutorial, Interview, Course, Analysis, Case Study)
  3. Extract - Pull insights based on type
  4. Connect - Link to existing knowledge
  5. Save - Store in context/learning/{topic}/

Output Location

All insights saved to: context/learning/{topic}/{video-title}.md

Requirements

  • Python package: youtube-transcript-api
  • Install: pip install youtube-transcript-api