[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AQMEK370FBPC75N2W8WA4W":3,"skill-same:01M7AQMEK370FBPC75N2W8WA4W":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":5,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7AQMEK370FBPC75N2W8WA4W","youtube-downloader",null,"Download videos, audio, playlists, and channels from YouTube and 1000+ websites using yt-dlp. Supports quality selection, format conversion, subtitle download, playlist filtering, metadata extraction, thumbnail download, and batch operations. Use when downloading YouTube videos in any quality (4K, 8K, HDR), extracting audio as MP3\u002FM4A\u002FFLAC, downloading entire playlists\u002Fchannels, getting subtitles in multiple languages, converting to specific formats, downloading live streams, archiving content, or batch processing multiple URLs. Optimized for reliability with automatic retries, rate limiting, and error handling.","davidanthonyn\u002Fagent-skills","davidanthonyn","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F55152980?v=4","01M7AJ4MY8S5C2RJCGX6626J0G","01M7AJ4MZB7EC7CAP27ANCSE7N",1,"MIT","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fyoutube-downloader\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: youtube-downloader\ndescription: Download videos, audio, playlists, and channels from YouTube and 1000+ websites using yt-dlp. Supports quality selection, format conversion, subtitle download, playlist filtering, metadata extraction, thumbnail download, and batch operations. Use when downloading YouTube videos in any quality (4K, 8K, HDR), extracting audio as MP3\u002FM4A\u002FFLAC, downloading entire playlists\u002Fchannels, getting subtitles in multiple languages, converting to specific formats, downloading live streams, archiving content, or batch processing multiple URLs. Optimized for reliability with automatic retries, rate limiting, and error handling.\nlicense: MIT\n---\n\n# YouTube & Video Downloader Skill\n\nDownload videos and audio from YouTube and 1000+ other websites using yt-dlp, the most powerful and actively maintained YouTube downloader.\n\n## When to Use This Skill\n\nUse when you need to:\n- Download YouTube videos in any quality (144p to 8K, HDR, 60fps)\n- Extract audio from videos (MP3, M4A, FLAC, WAV, Opus)\n- Download entire playlists or channels\n- Get video subtitles\u002Fcaptions in multiple languages\n- Download live streams or premieres\n- Archive content before it's deleted\n- Download from 1000+ websites (not just YouTube)\n- Batch download multiple videos\n- Download with custom naming and organization\n- Extract video metadata and thumbnails\n\n## Supported Websites (1000+)\n\n### Video Platforms\n- YouTube (videos, playlists, channels, shorts, live streams)\n- Vimeo, Dailymotion, Twitter\u002FX, Facebook\n- TikTok, Instagram (videos, reels, stories)\n- Twitch (VODs, clips, live streams)\n- Reddit (v.redd.it videos)\n- Pornhub (videos)\n- Youporn (videos)\n\n### Educational\n- Coursera, Udemy, Khan Academy\n- edX, Pluralsight, LinkedIn Learning\n\n### News & Media\n- CNN, BBC, NBC, CBS\n- ESPN, Sky Sports\n\n### And 1000+ more...\n\n## Installation\n\nyt-dlp requires Python 3.7+ and ffmpeg for format conversion:\n\n```bash\n# Install yt-dlp (if not already installed)\npip install -U yt-dlp\n\n# Install ffmpeg (required for format conversion)\n# Ubuntu\u002FDebian:\nsudo apt install ffmpeg\n\n# macOS:\nbrew install ffmpeg\n\n# Verify installation\nyt-dlp --version\nffmpeg -version\n```\n\n## Basic Usage\n\n### Download Best Quality Video\n```bash\nyt-dlp \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO_ID\"\n```\n\n### Download Best Quality Audio (as M4A)\n```bash\nyt-dlp -f \"bestaudio\" \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO_ID\"\n```\n\n### Download and Convert to MP3\n```bash\nyt-dlp -x --audio-format mp3 --audio-quality 0 \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO_ID\"\n```\n\n### Download Specific Quality\n```bash\n# 1080p video with best audio\nyt-dlp -f \"bestvideo[height\u003C=1080]+bestaudio\u002Fbest[height\u003C=1080]\" \"URL\"\n\n# 4K video\nyt-dlp -f \"bestvideo[height\u003C=2160]+bestaudio\u002Fbest\" \"URL\"\n\n# 720p video\nyt-dlp -f \"bestvideo[height\u003C=720]+bestaudio\u002Fbest[height\u003C=720]\" \"URL\"\n```\n\n## Advanced Features\n\n### Download Entire Playlist\n```bash\nyt-dlp \"https:\u002F\u002Fwww.youtube.com\u002Fplaylist?list=PLAYLIST_ID\"\n```\n\n### Download Playlist Range\n```bash\n# Videos 1-10\nyt-dlp --playlist-start 1 --playlist-end 10 \"PLAYLIST_URL\"\n\n# Videos from #5 onwards\nyt-dlp --playlist-start 5 \"PLAYLIST_URL\"\n```\n\n### Download All Videos from Channel\n```bash\nyt-dlp \"https:\u002F\u002Fwww.youtube.com\u002F@ChannelName\u002Fvideos\"\n```\n\n### Download with Subtitles\n```bash\n# Download all available subtitles\nyt-dlp --write-subs --write-auto-subs --sub-langs \"en,es,fr\" \"URL\"\n\n# Download and embed subtitles\nyt-dlp --write-subs --embed-subs --sub-langs \"en.*\" \"URL\"\n\n# Download only subtitles (no video)\nyt-dlp --skip-download --write-subs --write-auto-subs \"URL\"\n```\n\n### Custom Naming and Organization\n```bash\n# Custom filename template\nyt-dlp -o \"%(uploader)s\u002F%(playlist)s\u002F%(title)s.%(ext)s\" \"PLAYLIST_URL\"\n\n# By date uploaded\nyt-dlp -o \"%(upload_date)s - %(title)s.%(ext)s\" \"URL\"\n\n# With video ID\nyt-dlp -o \"%(title)s [%(id)s].%(ext)s\" \"URL\"\n```\n\n### Download Thumbnails\n```bash\n# Download and embed thumbnail\nyt-dlp --write-thumbnail --embed-thumbnail \"URL\"\n\n# Download thumbnail only\nyt-dlp --write-thumbnail --skip-download \"URL\"\n```\n\n### Download Metadata\n```bash\n# Write metadata to JSON file\nyt-dlp --write-info-json \"URL\"\n\n# Write metadata to description file\nyt-dlp --write-description \"URL\"\n```\n\n## Quality Selection Guide\n\n### Video Quality Formats\n```bash\n# Best overall quality (may be WebM)\nyt-dlp -f \"bestvideo+bestaudio\u002Fbest\" \"URL\"\n\n# Best MP4 format (most compatible)\nyt-dlp -f \"bestvideo[ext=mp4]+bestaudio[ext=m4a]\u002Fbest[ext=mp4]\" \"URL\"\n\n# 4K (2160p) maximum\nyt-dlp -f \"bestvideo[height\u003C=2160]+bestaudio\" \"URL\"\n\n# 1080p maximum\nyt-dlp -f \"bestvideo[height\u003C=1080]+bestaudio\" \"URL\"\n\n# 720p maximum\nyt-dlp -f \"bestvideo[height\u003C=720]+bestaudio\" \"URL\"\n\n# 60fps preferred\nyt-dlp -f \"bestvideo[fps>30]+bestaudio\u002Fbest\" \"URL\"\n```\n\n### Audio Quality Formats\n```bash\n# Best audio quality (extract as M4A)\nyt-dlp -f \"bestaudio\" \"URL\"\n\n# Extract as MP3 (best quality)\nyt-dlp -x --audio-format mp3 --audio-quality 0 \"URL\"\n\n# Extract as FLAC (lossless)\nyt-dlp -x --audio-format flac \"URL\"\n\n# Extract as Opus (efficient)\nyt-dlp -x --audio-format opus \"URL\"\n\n# Extract as WAV (uncompressed)\nyt-dlp -x --audio-format wav \"URL\"\n```\n\n## List Available Formats\n\nBefore downloading, check what formats are available:\n\n```bash\nyt-dlp -F \"URL\"\n```\n\nThis shows all available video and audio streams with:\n- Format ID\n- Extension\n- Resolution\n- FPS\n- Codec\n- File size\n- Bitrate\n\nThen download specific format:\n```bash\nyt-dlp -f FORMAT_ID \"URL\"\n```\n\n## Batch Download\n\n### From File\nCreate a text file with URLs (one per line):\n```\nhttps:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO1\nhttps:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO2\nhttps:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO3\n```\n\nDownload all:\n```bash\nyt-dlp -a urls.txt\n```\n\n### With Archive\nTrack downloaded videos to avoid re-downloading:\n```bash\nyt-dlp --download-archive archive.txt \"PLAYLIST_URL\"\n```\n\nThis creates `archive.txt` with IDs of downloaded videos. On subsequent runs, yt-dlp skips already downloaded videos.\n\n## Filtering and Selection\n\n### Date Filters\n```bash\n# Videos from 2024\nyt-dlp --dateafter 20240101 \"CHANNEL_URL\"\n\n# Videos before 2023\nyt-dlp --datebefore 20230101 \"CHANNEL_URL\"\n\n# Videos between dates\nyt-dlp --dateafter 20230101 --datebefore 20231231 \"CHANNEL_URL\"\n```\n\n### View Count Filters\n```bash\n# Videos with 1M+ views\nyt-dlp --match-filter \"view_count > 1000000\" \"CHANNEL_URL\"\n\n# Videos with less than 10K views\nyt-dlp --match-filter \"view_count \u003C 10000\" \"CHANNEL_URL\"\n```\n\n### Duration Filters\n```bash\n# Videos longer than 10 minutes\nyt-dlp --match-filter \"duration > 600\" \"PLAYLIST_URL\"\n\n# Videos shorter than 5 minutes\nyt-dlp --match-filter \"duration \u003C 300\" \"PLAYLIST_URL\"\n```\n\n## Live Streams\n\n### Download Live Stream\n```bash\n# Wait for stream to start and download\nyt-dlp --wait-for-video 60 \"LIVE_STREAM_URL\"\n\n# Download stream as it's happening (may be incomplete if interrupted)\nyt-dlp \"LIVE_STREAM_URL\"\n```\n\n## Rate Limiting and Network Options\n\n```bash\n# Limit download speed (e.g., 1MB\u002Fs)\nyt-dlp --limit-rate 1M \"URL\"\n\n# Set number of retries\nyt-dlp --retries 10 \"URL\"\n\n# Wait between downloads (in seconds)\nyt-dlp --sleep-interval 5 \"PLAYLIST_URL\"\n\n# Use specific proxy\nyt-dlp --proxy \"http:\u002F\u002Fproxy.server:port\" \"URL\"\n\n# Use cookies from browser (bypass age restrictions)\nyt-dlp --cookies-from-browser chrome \"URL\"\n```\n\n## Geo-Restriction Bypass\n\n```bash\n# Use proxy\nyt-dlp --proxy \"socks5:\u002F\u002Fproxy.server:1080\" \"URL\"\n\n# Use specific geo-bypass country\nyt-dlp --geo-bypass-country US \"URL\"\n```\n\n## Post-Processing\n\n### Video Post-Processing\n```bash\n# Merge video and audio to MP4\nyt-dlp --merge-output-format mp4 \"URL\"\n\n# Re-encode to H.264\nyt-dlp --recode-video mp4 \"URL\"\n\n# Add metadata\nyt-dlp --add-metadata \"URL\"\n\n# Embed thumbnail\nyt-dlp --embed-thumbnail \"URL\"\n```\n\n### Audio Post-Processing\n```bash\n# Extract audio and convert to MP3\nyt-dlp -x --audio-format mp3 --audio-quality 0 \"URL\"\n\n# Add metadata to audio file\nyt-dlp -x --audio-format mp3 --add-metadata \"URL\"\n```\n\n## Common Use Cases\n\n### 1. Download Music from YouTube\n```bash\nyt-dlp -x --audio-format mp3 --audio-quality 0 \\\n  -o \"%(artist)s - %(title)s.%(ext)s\" \\\n  --add-metadata \\\n  --embed-thumbnail \\\n  \"MUSIC_VIDEO_URL\"\n```\n\n### 2. Download Educational Course\n```bash\nyt-dlp -o \"%(playlist)s\u002F%(playlist_index)s - %(title)s.%(ext)s\" \\\n  --write-subs --embed-subs \\\n  --write-info-json \\\n  \"COURSE_PLAYLIST_URL\"\n```\n\n### 3. Archive Channel (New Videos Only)\n```bash\nyt-dlp --download-archive downloaded.txt \\\n  -o \"%(uploader)s\u002F%(upload_date)s - %(title)s.%(ext)s\" \\\n  -f \"bestvideo[height\u003C=1080]+bestaudio\u002Fbest\" \\\n  \"https:\u002F\u002Fwww.youtube.com\u002F@ChannelName\u002Fvideos\"\n```\n\n### 4. Download Podcast as Audio\n```bash\nyt-dlp -x --audio-format mp3 --audio-quality 0 \\\n  -o \"%(playlist)s\u002F%(playlist_index)s. %(title)s.%(ext)s\" \\\n  --add-metadata \\\n  \"PODCAST_PLAYLIST_URL\"\n```\n\n### 5. Download Conference Talks\n```bash\nyt-dlp -f \"bestvideo[height\u003C=720]+bestaudio\" \\\n  -o \"Conference\u002F%(title)s.%(ext)s\" \\\n  --write-subs --embed-subs --sub-langs en \\\n  \"CONFERENCE_PLAYLIST_URL\"\n```\n\n### 6. Batch Download from Multiple Sites\n```bash\n# Create urls.txt with mixed URLs (YouTube, Vimeo, etc.)\nyt-dlp -a urls.txt \\\n  -f \"bestvideo+bestaudio\u002Fbest\" \\\n  -o \"%(extractor)s\u002F%(uploader)s\u002F%(title)s.%(ext)s\"\n```\n\n## Configuration File\n\nCreate `~\u002F.config\u002Fyt-dlp\u002Fconfig` for default options:\n\n```\n# Default format\n-f bestvideo[height\u003C=1080]+bestaudio\u002Fbest\n\n# Output template\n-o ~\u002FDownloads\u002F%(uploader)s\u002F%(title)s.%(ext)s\n\n# Embed metadata\n--add-metadata\n--embed-thumbnail\n\n# Write subtitles\n--write-subs\n--sub-langs en\n\n# Continue on errors\n--ignore-errors\n\n# Rate limit\n--limit-rate 5M\n```\n\n## Troubleshooting\n\n### Video Unavailable\n```bash\n# Try with cookies from browser\nyt-dlp --cookies-from-browser chrome \"URL\"\n\n# Update yt-dlp\npip install -U yt-dlp\n```\n\n### Age-Restricted Content\n```bash\n# Use browser cookies\nyt-dlp --cookies-from-browser firefox \"URL\"\n\n# Or login with credentials\nyt-dlp --username YOUR_USERNAME --password YOUR_PASSWORD \"URL\"\n```\n\n### Format Not Available\n```bash\n# List all formats first\nyt-dlp -F \"URL\"\n\n# Then select specific format\nyt-dlp -f FORMAT_ID \"URL\"\n```\n\n### Slow Downloads\n```bash\n# Use multiple connections\nyt-dlp --concurrent-fragments 4 \"URL\"\n\n# Or use external downloader\nyt-dlp --external-downloader aria2c \"URL\"\n```\n\n## Integration with Other Tools\n\n### FFmpeg Integration\nyt-dlp automatically uses ffmpeg when installed for:\n- Merging video and audio streams\n- Converting formats\n- Embedding thumbnails and metadata\n- Post-processing\n\n### Aria2c for Faster Downloads\n```bash\nyt-dlp --external-downloader aria2c \\\n  --external-downloader-args \"-x 16 -s 16 -k 1M\" \\\n  \"URL\"\n```\n\n## Legal and Ethical Considerations\n\n⚠️ **Important**:\n- Only download content you have rights to\n- Respect copyright and Terms of Service\n- Don't distribute copyrighted content\n- YouTube's ToS prohibits downloading most content\n- Use for personal archival and educational purposes\n- Many creators offer official download options\n- Consider supporting creators through official channels\n\n## Performance Tips\n\n1. **Use Archive Files**: Track downloads to avoid re-downloading\n2. **Limit Rate**: Prevent network congestion with `--limit-rate`\n3. **Concurrent Fragments**: Speed up with `--concurrent-fragments 4`\n4. **Choose Format Wisely**: Lower quality = faster download\n5. **Use External Downloader**: aria2c can be faster than built-in\n6. **Batch Smartly**: Process in chunks, not all at once\n\n## Updates\n\nKeep yt-dlp updated for best compatibility:\n```bash\n# Update via pip\npip install -U yt-dlp\n\n# Check version\nyt-dlp --version\n```\n\n## Resources\n\n- **yt-dlp GitHub**: https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\n- **Supported Sites**: https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Fblob\u002Fmaster\u002Fsupportedsites.md\n- **Format Selection**: https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp#format-selection\n\n---\n\n**Version**: 1.0.0\n**Last Updated**: 2025-11-07\n**Maintained by**: Claude Code Skills Collection\n","# YouTube & Video Downloader Skill\n\nDownload videos and audio from YouTube and 1000+ other websites using yt-dlp, the most powerful and actively maintained YouTube downloader.\n\n## When to Use This Skill\n\nUse when you need to:\n- Download YouTube videos in any quality (144p to 8K, HDR, 60fps)\n- Extract audio from videos (MP3, M4A, FLAC, WAV, Opus)\n- Download entire playlists or channels\n- Get video subtitles\u002Fcaptions in multiple languages\n- Download live streams or premieres\n- Archive content before it's deleted\n- Download from 1000+ websites (not just YouTube)\n- Batch download multiple videos\n- Download with custom naming and organization\n- Extract video metadata and thumbnails\n\n## Supported Websites (1000+)\n\n### Video Platforms\n- YouTube (videos, playlists, channels, shorts, live streams)\n- Vimeo, Dailymotion, Twitter\u002FX, Facebook\n- TikTok, Instagram (videos, reels, stories)\n- Twitch (VODs, clips, live streams)\n- Reddit (v.redd.it videos)\n- Pornhub (videos)\n- Youporn (videos)\n\n### Educational\n- Coursera, Udemy, Khan Academy\n- edX, Pluralsight, LinkedIn Learning\n\n### News & Media\n- CNN, BBC, NBC, CBS\n- ESPN, Sky Sports\n\n### And 1000+ more...\n\n## Installation\n\nyt-dlp requires Python 3.7+ and ffmpeg for format conversion:\n\n```bash\n# Install yt-dlp (if not already installed)\npip install -U yt-dlp\n\n# Install ffmpeg (required for format conversion)\n# Ubuntu\u002FDebian:\nsudo apt install ffmpeg\n\n# macOS:\nbrew install ffmpeg\n\n# Verify installation\nyt-dlp --version\nffmpeg -version\n```\n\n## Basic Usage\n\n### Download Best Quality Video\n```bash\nyt-dlp \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO_ID\"\n```\n\n### Download Best Quality Audio (as M4A)\n```bash\nyt-dlp -f \"bestaudio\" \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO_ID\"\n```\n\n### Download and Convert to MP3\n```bash\nyt-dlp -x --audio-format mp3 --audio-quality 0 \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO_ID\"\n```\n\n### Download Specific Quality\n```bash\n# 1080p video with best audio\nyt-dlp -f \"bestvideo[height\u003C=1080]+bestaudio\u002Fbest[height\u003C=1080]\" \"URL\"\n\n# 4K video\nyt-dlp -f \"bestvideo[height\u003C=2160]+bestaudio\u002Fbest\" \"URL\"\n\n# 720p video\nyt-dlp -f \"bestvideo[height\u003C=720]+bestaudio\u002Fbest[height\u003C=720]\" \"URL\"\n```\n\n## Advanced Features\n\n### Download Entire Playlist\n```bash\nyt-dlp \"https:\u002F\u002Fwww.youtube.com\u002Fplaylist?list=PLAYLIST_ID\"\n```\n\n### Download Playlist Range\n```bash\n# Videos 1-10\nyt-dlp --playlist-start 1 --playlist-end 10 \"PLAYLIST_URL\"\n\n# Videos from #5 onwards\nyt-dlp --playlist-start 5 \"PLAYLIST_URL\"\n```\n\n### Download All Videos from Channel\n```bash\nyt-dlp \"https:\u002F\u002Fwww.youtube.com\u002F@ChannelName\u002Fvideos\"\n```\n\n### Download with Subtitles\n```bash\n# Download all available subtitles\nyt-dlp --write-subs --write-auto-subs --sub-langs \"en,es,fr\" \"URL\"\n\n# Download and embed subtitles\nyt-dlp --write-subs --embed-subs --sub-langs \"en.*\" \"URL\"\n\n# Download only subtitles (no video)\nyt-dlp --skip-download --write-subs --write-auto-subs \"URL\"\n```\n\n### Custom Naming and Organization\n```bash\n# Custom filename template\nyt-dlp -o \"%(uploader)s\u002F%(playlist)s\u002F%(title)s.%(ext)s\" \"PLAYLIST_URL\"\n\n# By date uploaded\nyt-dlp -o \"%(upload_date)s - %(title)s.%(ext)s\" \"URL\"\n\n# With video ID\nyt-dlp -o \"%(title)s [%(id)s].%(ext)s\" \"URL\"\n```\n\n### Download Thumbnails\n```bash\n# Download and embed thumbnail\nyt-dlp --write-thumbnail --embed-thumbnail \"URL\"\n\n# Download thumbnail only\nyt-dlp --write-thumbnail --skip-download \"URL\"\n```\n\n### Download Metadata\n```bash\n# Write metadata to JSON file\nyt-dlp --write-info-json \"URL\"\n\n# Write metadata to description file\nyt-dlp --write-description \"URL\"\n```\n\n## Quality Selection Guide\n\n### Video Quality Formats\n```bash\n# Best overall quality (may be WebM)\nyt-dlp -f \"bestvideo+bestaudio\u002Fbest\" \"URL\"\n\n# Best MP4 format (most compatible)\nyt-dlp -f \"bestvideo[ext=mp4]+bestaudio[ext=m4a]\u002Fbest[ext=mp4]\" \"URL\"\n\n# 4K (2160p) maximum\nyt-dlp -f \"bestvideo[height\u003C=2160]+bestaudio\" \"URL\"\n\n# 1080p maximum\nyt-dlp -f \"bestvideo[height\u003C=1080]+bestaudio\" \"URL\"\n\n# 720p maximum\nyt-dlp -f \"bestvideo[height\u003C=720]+bestaudio\" \"URL\"\n\n# 60fps preferred\nyt-dlp -f \"bestvideo[fps>30]+bestaudio\u002Fbest\" \"URL\"\n```\n\n### Audio Quality Formats\n```bash\n# Best audio quality (extract as M4A)\nyt-dlp -f \"bestaudio\" \"URL\"\n\n# Extract as MP3 (best quality)\nyt-dlp -x --audio-format mp3 --audio-quality 0 \"URL\"\n\n# Extract as FLAC (lossless)\nyt-dlp -x --audio-format flac \"URL\"\n\n# Extract as Opus (efficient)\nyt-dlp -x --audio-format opus \"URL\"\n\n# Extract as WAV (uncompressed)\nyt-dlp -x --audio-format wav \"URL\"\n```\n\n## List Available Formats\n\nBefore downloading, check what formats are available:\n\n```bash\nyt-dlp -F \"URL\"\n```\n\nThis shows all available video and audio streams with:\n- Format ID\n- Extension\n- Resolution\n- FPS\n- Codec\n- File size\n- Bitrate\n\nThen download specific format:\n```bash\nyt-dlp -f FORMAT_ID \"URL\"\n```\n\n## Batch Download\n\n### From File\nCreate a text file with URLs (one per line):\n```\nhttps:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO1\nhttps:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO2\nhttps:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO3\n```\n\nDownload all:\n```bash\nyt-dlp -a urls.txt\n```\n\n### With Archive\nTrack downloaded videos to avoid re-downloading:\n```bash\nyt-dlp --download-archive archive.txt \"PLAYLIST_URL\"\n```\n\nThis creates `archive.txt` with IDs of downloaded videos. On subsequent runs, yt-dlp skips already downloaded videos.\n\n## Filtering and Selection\n\n### Date Filters\n```bash\n# Videos from 2024\nyt-dlp --dateafter 20240101 \"CHANNEL_URL\"\n\n# Videos before 2023\nyt-dlp --datebefore 20230101 \"CHANNEL_URL\"\n\n# Videos between dates\nyt-dlp --dateafter 20230101 --datebefore 20231231 \"CHANNEL_URL\"\n```\n\n### View Count Filters\n```bash\n# Videos with 1M+ views\nyt-dlp --match-filter \"view_count > 1000000\" \"CHANNEL_URL\"\n\n# Videos with less than 10K views\nyt-dlp --match-filter \"view_count \u003C 10000\" \"CHANNEL_URL\"\n```\n\n### Duration Filters\n```bash\n# Videos longer than 10 minutes\nyt-dlp --match-filter \"duration > 600\" \"PLAYLIST_URL\"\n\n# Videos shorter than 5 minutes\nyt-dlp --match-filter \"duration \u003C 300\" \"PLAYLIST_URL\"\n```\n\n## Live Streams\n\n### Download Live Stream\n```bash\n# Wait for stream to start and download\nyt-dlp --wait-for-video 60 \"LIVE_STREAM_URL\"\n\n# Download stream as it's happening (may be incomplete if interrupted)\nyt-dlp \"LIVE_STREAM_URL\"\n```\n\n## Rate Limiting and Network Options\n\n```bash\n# Limit download speed (e.g., 1MB\u002Fs)\nyt-dlp --limit-rate 1M \"URL\"\n\n# Set number of retries\nyt-dlp --retries 10 \"URL\"\n\n# Wait between downloads (in seconds)\nyt-dlp --sleep-interval 5 \"PLAYLIST_URL\"\n\n# Use specific proxy\nyt-dlp --proxy \"http:\u002F\u002Fproxy.server:port\" \"URL\"\n\n# Use cookies from browser (bypass age restrictions)\nyt-dlp --cookies-from-browser chrome \"URL\"\n```\n\n## Geo-Restriction Bypass\n\n```bash\n# Use proxy\nyt-dlp --proxy \"socks5:\u002F\u002Fproxy.server:1080\" \"URL\"\n\n# Use specific geo-bypass country\nyt-dlp --geo-bypass-country US \"URL\"\n```\n\n## Post-Processing\n\n### Video Post-Processing\n```bash\n# Merge video and audio to MP4\nyt-dlp --merge-output-format mp4 \"URL\"\n\n# Re-encode to H.264\nyt-dlp --recode-video mp4 \"URL\"\n\n# Add metadata\nyt-dlp --add-metadata \"URL\"\n\n# Embed thumbnail\nyt-dlp --embed-thumbnail \"URL\"\n```\n\n### Audio Post-Processing\n```bash\n# Extract audio and convert to MP3\nyt-dlp -x --audio-format mp3 --audio-quality 0 \"URL\"\n\n# Add metadata to audio file\nyt-dlp -x --audio-format mp3 --add-metadata \"URL\"\n```\n\n## Common Use Cases\n\n### 1. Download Music from YouTube\n```bash\nyt-dlp -x --audio-format mp3 --audio-quality 0 \\\n  -o \"%(artist)s - %(title)s.%(ext)s\" \\\n  --add-metadata \\\n  --embed-thumbnail \\\n  \"MUSIC_VIDEO_URL\"\n```\n\n### 2. Download Educational Course\n```bash\nyt-dlp -o \"%(playlist)s\u002F%(playlist_index)s - %(title)s.%(ext)s\" \\\n  --write-subs --embed-subs \\\n  --write-info-json \\\n  \"COURSE_PLAYLIST_URL\"\n```\n\n### 3. Archive Channel (New Videos Only)\n```bash\nyt-dlp --download-archive downloaded.txt \\\n  -o \"%(uploader)s\u002F%(upload_date)s - %(title)s.%(ext)s\" \\\n  -f \"bestvideo[height\u003C=1080]+bestaudio\u002Fbest\" \\\n  \"https:\u002F\u002Fwww.youtube.com\u002F@ChannelName\u002Fvideos\"\n```\n\n### 4. Download Podcast as Audio\n```bash\nyt-dlp -x --audio-format mp3 --audio-quality 0 \\\n  -o \"%(playlist)s\u002F%(playlist_index)s. %(title)s.%(ext)s\" \\\n  --add-metadata \\\n  \"PODCAST_PLAYLIST_URL\"\n```\n\n### 5. Download Conference Talks\n```bash\nyt-dlp -f \"bestvideo[height\u003C=720]+bestaudio\" \\\n  -o \"Conference\u002F%(title)s.%(ext)s\" \\\n  --write-subs --embed-subs --sub-langs en \\\n  \"CONFERENCE_PLAYLIST_URL\"\n```\n\n### 6. Batch Download from Multiple Sites\n```bash\n# Create urls.txt with mixed URLs (YouTube, Vimeo, etc.)\nyt-dlp -a urls.txt \\\n  -f \"bestvideo+bestaudio\u002Fbest\" \\\n  -o \"%(extractor)s\u002F%(uploader)s\u002F%(title)s.%(ext)s\"\n```\n\n## Configuration File\n\nCreate `~\u002F.config\u002Fyt-dlp\u002Fconfig` for default options:\n\n```\n# Default format\n-f bestvideo[height\u003C=1080]+bestaudio\u002Fbest\n\n# Output template\n-o ~\u002FDownloads\u002F%(uploader)s\u002F%(title)s.%(ext)s\n\n# Embed metadata\n--add-metadata\n--embed-thumbnail\n\n# Write subtitles\n--write-subs\n--sub-langs en\n\n# Continue on errors\n--ignore-errors\n\n# Rate limit\n--limit-rate 5M\n```\n\n## Troubleshooting\n\n### Video Unavailable\n```bash\n# Try with cookies from browser\nyt-dlp --cookies-from-browser chrome \"URL\"\n\n# Update yt-dlp\npip install -U yt-dlp\n```\n\n### Age-Restricted Content\n```bash\n# Use browser cookies\nyt-dlp --cookies-from-browser firefox \"URL\"\n\n# Or login with credentials\nyt-dlp --username YOUR_USERNAME --password YOUR_PASSWORD \"URL\"\n```\n\n### Format Not Available\n```bash\n# List all formats first\nyt-dlp -F \"URL\"\n\n# Then select specific format\nyt-dlp -f FORMAT_ID \"URL\"\n```\n\n### Slow Downloads\n```bash\n# Use multiple connections\nyt-dlp --concurrent-fragments 4 \"URL\"\n\n# Or use external downloader\nyt-dlp --external-downloader aria2c \"URL\"\n```\n\n## Integration with Other Tools\n\n### FFmpeg Integration\nyt-dlp automatically uses ffmpeg when installed for:\n- Merging video and audio streams\n- Converting formats\n- Embedding thumbnails and metadata\n- Post-processing\n\n### Aria2c for Faster Downloads\n```bash\nyt-dlp --external-downloader aria2c \\\n  --external-downloader-args \"-x 16 -s 16 -k 1M\" \\\n  \"URL\"\n```\n\n## Legal and Ethical Considerations\n\n⚠️ **Important**:\n- Only download content you have rights to\n- Respect copyright and Terms of Service\n- Don't distribute copyrighted content\n- YouTube's ToS prohibits downloading most content\n- Use for personal archival and educational purposes\n- Many creators offer official download options\n- Consider supporting creators through official channels\n\n## Performance Tips\n\n1. **Use Archive Files**: Track downloads to avoid re-downloading\n2. **Limit Rate**: Prevent network congestion with `--limit-rate`\n3. **Concurrent Fragments**: Speed up with `--concurrent-fragments 4`\n4. **Choose Format Wisely**: Lower quality = faster download\n5. **Use External Downloader**: aria2c can be faster than built-in\n6. **Batch Smartly**: Process in chunks, not all at once\n\n## Updates\n\nKeep yt-dlp updated for best compatibility:\n```bash\n# Update via pip\npip install -U yt-dlp\n\n# Check version\nyt-dlp --version\n```\n\n## Resources\n\n- **yt-dlp GitHub**: https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\n- **Supported Sites**: https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Fblob\u002Fmaster\u002Fsupportedsites.md\n- **Format Selection**: https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp#format-selection\n\n---\n\n**Version**: 1.0.0\n**Last Updated**: 2025-11-07\n**Maintained by**: Claude Code Skills Collection\n",{"name":5,"license":14,"description":7},"main","6b73b29e4866f997b1eb47fe8d9631396265fc24",0,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn","2026-09-09 16:06:07",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add davidanthonyn\u002Fagent-skills --skill youtube-downloader",{"tool":35,"command":36},"bunx","bunx skills add davidanthonyn\u002Fagent-skills --skill youtube-downloader",{"tool":38,"command":39},"pnpm","pnpm dlx skills add davidanthonyn\u002Fagent-skills --skill youtube-downloader","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fyoutube-downloader\u002FSKILL.md",true,[43,49],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"SKILL.json","REFERENCE","参考文档",11521,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fyoutube-downloader\u002FSKILL.json",{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"SKILL.md.backup","OTHER","其他",11918,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fyoutube-downloader\u002FSKILL.md.backup",[56,63,71,78,87,94],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":18},"01M7AQNJDXVNVMN08N5BHBGZBF","zustand-state-management","Production-tested setup for Zustand state management in React applications with TypeScript.\nThis skill provides comprehensive patterns for building scalable, type-safe global state.\n\nUse when: setting up global state in React, migrating from Redux or Context API, implementing\nstate persistence with localStorage, configuring TypeScript with Zustand, using slices pattern\nfor modular stores, adding devtools middleware for debugging, handling Next.js SSR hydration,\nor encountering hydration errors, TypeScript inference issues, or persist middleware problems.\n\nPrevents 5 documented issues: Next.js hydration mismatches, TypeScript double parentheses\nsyntax errors, persist middleware export errors, infinite render loops, and slices pattern\ntype inference failures.\n\nKeywords: zustand, state management, React state, TypeScript state, persist middleware,\ndevtools, slices pattern, global state, React hooks, create store, useBoundStore,\nStateCreator, hydration error, text content mismatch, infinite render, localStorage,\nsessionStorage, immer middleware, shallow equality, selector pattern, zustand v5","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fzustand-state-management\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":67,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M7AQN2DW9DTPM8BYNZSHQANC","zetic-mlange","Help users integrate the ZETIC Melange (MLange) on-device AI SDK into Android (Kotlin\u002FJava) and iOS (Swift) mobile apps. Use this skill whenever the user mentions Zetic, MLange, Melange, ZeticMLangeModel, ZeticMLangeLLMModel, ZeticMLangeHFModel, on-device NPU inference for mobile, or deploying ML models to Android\u002FiOS with NPU acceleration. Also trigger when users ask about running LLMs on-device with GGUF quantization, mobile NPU model deployment, or converting PyTorch\u002FONNX models for mobile inference. Covers general model inference, LLM inference (streaming token generation), and HuggingFace model loading.","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fzetic-mlange\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fzetic-mlange\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7AQHKQ4VQB04NH6BG4SV9Q7","wordpress-plugin-core","This skill provides comprehensive knowledge for WordPress plugin development, covering core patterns, security best practices, database interactions, hooks\u002Ffilters, Settings API, custom post types, REST API, and AJAX. This skill should be used when creating WordPress plugins, troubleshooting security issues, implementing custom post types\u002Ftaxonomies, building admin interfaces, or working with the WordPress database.\n\nUse when: Creating new WordPress plugins, implementing nonces\u002Fsanitization\u002Fescaping, working with $wpdb and prepared statements, building Settings API pages, registering custom post types or taxonomies, implementing REST API endpoints, handling AJAX requests, debugging plugin activation\u002Fdeactivation issues, preventing SQL injection\u002FXSS\u002FCSRF vulnerabilities.\n\nKeywords: wordpress plugin development, wordpress security, wordpress hooks, wordpress filters, wordpress database, wpdb prepare, sanitize_text_field, esc_html, wp_nonce, custom post type, register_post_type, settings api, rest api, admin-ajax, wordpress sql injection, wordpress xss, wordpress csrf, plugin header, activation hook, deactivation hook, wordpress coding standards, wordpress plugin architecture","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fwordpress-plugin-core\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":82,"licenseFileUrl":83,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M7AQH4JW8F2MJFS1C43TZ2TY","webapp-testing","Test local web applications with Playwright. Use when asked to verify frontend functionality, debug UI behavior, capture browser screenshots, or inspect browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":18},"01M7AQH0PWD6Z1NN66V15DT25M","web-performance-audit","Audit web performance using Chrome DevTools MCP. Use when asked to audit, profile, debug, or optimize page load performance, Lighthouse scores, or site speed.","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fweb-performance-audit\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":18},"01M7AQGTM5TCXQ90TCFSFYQJTN","web-frameworks","Build modern full-stack web applications with Next.js (App Router, Server Components, RSC, PPR, SSR, SSG, ISR), Turborepo (monorepo management, task pipelines, remote caching, parallel execution), and RemixIcon (3100+ SVG icons in outlined\u002Ffilled styles). Use when creating React applications, implementing server-side rendering, setting up monorepos with multiple packages, optimizing build performance and caching strategies, adding icon libraries, managing shared dependencies, or working with TypeScript full-stack projects.","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fweb-frameworks\u002FSKILL.md",[],[]]