AgentSkillsCN

youtube

当您手头有一段 YouTube 视频的链接,并希望结合自身工作重点,获得针对该内容的个性化洞察时,请使用此功能。

SKILL.md
--- frontmatter
name: youtube
description: Use when you have a YouTube video URL and want personalized insights connecting the content to your work priorities

YouTube Video Analysis

Overview

Transforms YouTube videos into searchable, analyzable Obsidian notes with personalized suggestions. Extracts transcripts, generates summaries connecting insights to your work priorities, and creates clickable timelines for easy reference.

When to Use

  • Analyzing conference talks or product videos for insights
  • Extracting key learnings from technical tutorials
  • Processing educational content into knowledge base
  • Building searchable reference library from videos
  • Need personalized suggestions connecting video to work priorities
  • Want to save time by reading transcripts instead of watching

Quick Reference

TaskCommandOutput
Basic analysis/youtube URLFull analysis with transcript
With questions/youtube URL What does this say about X?Analysis + relevance section
Long video (>60min)AutomaticSummary mode (timeline only)

Output location: {{ folders.youtube }}/

Process Summary

  1. Extract video ID from URL
  2. Download transcript using yt-dlp
  3. Load {{ profile.interest_profile }} for context
  4. Generate analysis (summary, findings, suggestions, timeline)
  5. Save to Obsidian vault

Duration-based strategy:

  • < 15min: Full transcript
  • 15-60min: Full transcript (chunked reading)
  • 60min: Summary + timeline only

Common Mistakes

MistakeFix
Missing yt-dlpInstall with brew install yt-dlp before running
Video has no transcriptCheck if captions exist; some videos don't have transcripts
Reading large transcript with Read toolAlways use head/sed/tail via Bash to avoid token limits
Missing {{ profile.interest_profile }}Create profile in vault root first for personalized suggestions
Not handling long videosAutomatically uses summary mode for >60min videos

Dependencies

  • yt-dlpbrew install yt-dlp
  • python3 – For VTT parsing (pre-installed macOS)
  • Obsidian MCP – For vault access
  • {{ profile.interest_profile }} – In vault root

Detailed Documentation

For complete workflow, code examples, and troubleshooting, see youtube-workflow.md.