Get transcript from a YouTube video using yt-dlp and create a comprehensive knowledge graph note using question-oriented content synthesis.
Extracts YouTube transcripts and creates comprehensive knowledge graph notes using question-oriented content synthesis.
/plugin marketplace add witt3rd/claude-plugins/plugin install azkg@witt3rd-claude-pluginsGet transcript from a YouTube video using yt-dlp and create a comprehensive knowledge graph note using question-oriented content synthesis.
/youtube-transcript <youtube_url> [note_filename]
Extract video ID and metadata:
yt-dlp to get video metadata (title, description, uploader, upload date)yt-dlp --skip-download --write-info-json <url>Get transcript using yt-dlp:
yt-dlp --write-auto-subs --sub-langs "en-US,en.*" --skip-download --sub-format vtt --convert-subs srt -o "attachments/%(id)s" <url>attachments/<video_id>.srt or attachments/<video_id>.en.srt--sub-langs flagRead the transcript:
attachments/<video_id>.srtFollow the shared content synthesis pipeline documented in _shared_content_synthesis.md:
Apply Question-Oriented Content Synthesis
Generate note structure and metadata
MOC Integration
Relationship Discovery
---
tags: [domain, topic, content-type]
source: <youtube_url>
video_title: "<title>"
video_id: "<video_id>"
transcript: "attachments/<video_id>.srt"
date_added: <ISO_date>
---
# Note Title (Based on Central Question)
## Central Question
**Question**: [The single overarching question the video addresses]
**Executive Summary**: 2-3 paragraphs previewing key insights and how the video resolves the central question.
## Part I: [Domain Question 1]
### [Specific Question 1.1]
**Question**: [Clear, specific question from this section]
**Answer**: [Comprehensive response including:
- Direct answer to the question
- Supporting evidence from transcript (specific quotes with timestamps if available)
- Technical details and concrete information
- Implications and connections to broader themes]
### [Specific Question 1.2]
**Question**: [Next specific question]
**Answer**: [Evidence-based response...]
## Part II: [Domain Question 2]
### [Specific Question 2.1]
**Question**: [Clear question]
**Answer**: [Comprehensive response with transcript evidence...]
[Continue with additional parts and sections as needed]
## Resolution: [Answer to Central Question]
Synthesize domain insights to definitively resolve the central question posed at the beginning.
## Related Concepts
### Prerequisites
- [[prerequisite]] - Why needed first
### Related Topics
- [[related]] - Connection explanation
### Extends
- [[base_concept]] - What this builds upon
## References
- [Video Title](<youtube_url>) - Original video source
- [Transcript](attachments/<video_id>.srt) - Downloaded transcript (SRT format)
- Video ID: `<video_id>`
- Uploaded by: <uploader>
- Upload date: <upload_date>
- Accessed: <access_date>
Bash - Run yt-dlp commands to download metadata and transcriptsRead - Read downloaded transcript from attachments folder, read TOPICS.md and MOC filesGrep - Find related notes in knowledge graphWrite - Create new note following question-oriented structureEdit - Update MOC files to include new note, update related notes for bidirectional relationships# Get video metadata
yt-dlp --skip-download --write-info-json <youtube_url>
# Download auto-generated subtitles as SRT (English only, prefer en-US)
yt-dlp --write-auto-subs --sub-langs "en-US,en.*" --skip-download --sub-format vtt --convert-subs srt -o "attachments/%(id)s" <youtube_url>
# Try manual subtitles if auto-subs unavailable (English only, prefer en-US)
yt-dlp --write-subs --sub-langs "en-US,en.*" --skip-download --sub-format vtt --convert-subs srt -o "attachments/%(id)s" <youtube_url>
# List available subtitle languages
yt-dlp --list-subs <youtube_url>
See _shared_content_synthesis.md for complete requirements. Key points: