home / skills / steveclarke / dotfiles / youtube
This skill downloads YouTube content including transcripts and audio, enabling transcription, subtitle extraction, and MP3 tagging across playlists.
npx playbooks add skill steveclarke/dotfiles --skill youtubeReview the files below or copy the command above to add this skill to your agents.
---
name: youtube
description: Download content from YouTube including transcripts, captions, subtitles, music, MP3s, and playlists. Use when the user provides a YouTube URL or asks to download, transcribe, or get content from YouTube videos or playlists.
allowed-tools: Bash,Read,Write
---
# YouTube
Download and process content from YouTube videos and playlists.
## Capabilities
This skill handles two main workflows:
| Task | Reference | Use When |
|------|-----------|----------|
| **Transcripts** | `references/transcripts.md` | User wants captions, subtitles, or text content from a video |
| **Music/MP3s** | `references/mp3-download.md` | User wants to download audio, tag MP3s, or build a music library |
## Quick Start
### For Transcripts
```bash
# Check available subtitles
yt-dlp --list-subs "YOUTUBE_URL"
# Download auto-generated subtitles
yt-dlp --write-auto-sub --skip-download -o "transcript" "YOUTUBE_URL"
```
Load `references/transcripts.md` for the full workflow including VTT-to-text conversion and Whisper fallback.
### For Music/MP3s
```bash
# Check playlist info
ytmp3 info "YOUTUBE_URL"
# Download playlist
ytmp3 download "YOUTUBE_URL"
```
Load `references/mp3-download.md` for the full tagging and organization workflow.
## Prerequisites
- **yt-dlp** — YouTube downloader (install via `brew install yt-dlp`)
- **eyeD3** — MP3 tagging (install via `brew install eye-d3`, needed for MP3 workflow)
## Workflow Selection
Based on the user's request:
- "transcript", "captions", "subtitles", "transcribe", "text from video" → Load `references/transcripts.md`
- "download music", "MP3", "playlist", "tag", "album", "music library" → Load `references/mp3-download.md`
If unclear, ask the user what they want to do with the YouTube content.
This skill lets you download and process content from YouTube videos and playlists, including transcripts, captions, subtitles, audio (MP3), and full playlists. It provides clear workflows and shell commands to extract text and build a local music library with tagging. Use it when you supply a YouTube URL or request downloads or transcriptions.
The skill chooses one of two workflows based on your request: transcript extraction or audio/MP3 download and tagging. For transcripts it uses yt-dlp to list and download subtitles, converts VTT to plain text, and falls back to Whisper if needed. For audio it uses a playlist-aware downloader to fetch audio, then tags MP3 files with eyeD3 and organizes them into a library structure.
What tools are required?
Install yt-dlp for downloading and eyeD3 for MP3 tagging. These can be installed via package managers like Homebrew.
What if no subtitles exist?
The workflow falls back to speech-to-text (e.g., Whisper) to generate a transcript when subtitles are unavailable or insufficient.