yt-dlp-downloader-skillDownload videos from YouTube, Bilibili, Twitter, and thousands of other sites using yt-dlp. Use when the user provides a video URL and wants to download it, extract audio (MP3), download subtitles, or select video quality. Triggers on phrases like "下载视频", "download video", "yt-dlp", "YouTube", "B站", "抖音", "提取音频", "extract audio".
Install via ClawdBot CLI:
clawdbot install apollo1234/yt-dlp-downloader-skillDownload videos from thousands of websites using yt-dlp.
Before downloading, verify dependencies are installed:
# Check yt-dlp
which yt-dlp || echo "yt-dlp not installed. Install with: pip install yt-dlp"
# Check ffmpeg (required for audio extraction and format merging)
which ffmpeg || echo "ffmpeg not installed. Install with: brew install ffmpeg"
If not installed, install them first:
pip install yt-dlp
brew install ffmpeg # macOS
yt-dlp -P "~/Downloads/yt-dlp" "VIDEO_URL"
YouTube often blocks direct downloads with 403 errors. Always use browser cookies for YouTube:
yt-dlp -P "~/Downloads/yt-dlp" --cookies-from-browser chrome "YOUTUBE_URL"
Supported browsers: chrome, firefox, safari, edge, brave, opera
yt-dlp -P "/path/to/save" -o "%(title)s.%(ext)s" "VIDEO_URL"
yt-dlp -P "~/Downloads/yt-dlp" "VIDEO_URL"
yt-dlp -P "~/Downloads/yt-dlp" -x --audio-format mp3 "VIDEO_URL"
yt-dlp -P "~/Downloads/yt-dlp" --write-subs --sub-langs all "VIDEO_URL"
720p:
yt-dlp -P "~/Downloads/yt-dlp" -f "bestvideo[height<=720]+bestaudio/best[height<=720]" "VIDEO_URL"
1080p:
yt-dlp -P "~/Downloads/yt-dlp" -f "bestvideo[height<=1080]+bestaudio/best[height<=1080]" "VIDEO_URL"
Best available:
yt-dlp -P "~/Downloads/yt-dlp" -f "bestvideo+bestaudio/best" "VIDEO_URL"
yt-dlp -F "VIDEO_URL"
Then download specific format by ID:
yt-dlp -P "~/Downloads/yt-dlp" -f FORMAT_ID "VIDEO_URL"
# Download entire playlist
yt-dlp -P "~/Downloads/yt-dlp" -o "%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s" "PLAYLIST_URL"
# Download specific range (e.g., items 1-5)
yt-dlp -P "~/Downloads/yt-dlp" -I 1:5 "PLAYLIST_URL"
yt-dlp -P "~/Downloads/yt-dlp" --write-thumbnail "VIDEO_URL"
When user provides a video URL:
--cookies-from-browser chromerequired_permissions: ["all", "network"]--cookies-from-browser-F to list formats, then selectUser: "帮我下载这个视频 https://www.youtube.com/watch?v=xxx"
Response:
# YouTube - use cookies to avoid 403 errors
yt-dlp -P "~/Downloads/yt-dlp" --cookies-from-browser chrome "https://www.youtube.com/watch?v=xxx"
User: "下载这个视频的音频 https://www.bilibili.com/video/xxx"
Response:
# Bilibili - extracting audio as MP3
yt-dlp -P "~/Downloads/yt-dlp" -x --audio-format mp3 "https://www.bilibili.com/video/xxx"
User: "下载这个 Twitter 视频 https://twitter.com/xxx/status/123"
Response:
# Twitter/X - direct download usually works
yt-dlp -P "~/Downloads/yt-dlp" "https://twitter.com/xxx/status/123"
yt-dlp supports thousands of sites including:
Full list: https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md
| Error | Cause | Solution |
|-------|-------|----------|
| HTTP 403 Forbidden | YouTube blocks unauthenticated requests | Use --cookies-from-browser chrome |
| Video unavailable | Geo-restricted or private | Use cookies or VPN |
| Download interrupted | Network issues | Retry - yt-dlp auto-resumes |
| Format not available | Requested format doesn't exist | Use -F to list formats |
pip install yt-dlp
brew install ffmpeg # macOS
This is the most common YouTube error. Always use cookies for YouTube:
# Recommended approach for YouTube
yt-dlp -P "~/Downloads/yt-dlp" --cookies-from-browser chrome "YOUTUBE_URL"
Supported browsers: chrome, firefox, safari, edge, brave, opera
# Try with cookies from browser
yt-dlp --cookies-from-browser chrome "VIDEO_URL"
# Or use a specific format
yt-dlp -F "VIDEO_URL" # List formats first
yt-dlp -f FORMAT_ID "VIDEO_URL"
# Update yt-dlp to latest version
pip install -U yt-dlp
# Force IPv4 (sometimes helps with connection issues)
yt-dlp -4 "VIDEO_URL"
--cookies-from-browser chromepip install -U yt-dlp-F before downloading if unsureGenerated Mar 1, 2026
This skill enables creators to download reference videos from platforms like YouTube and Bilibili for editing, research, or offline use. It supports extracting audio for podcasts or background music, and downloading subtitles for accessibility or translation purposes, streamlining content production workflows.
Agencies can use this skill to download competitor ads, promotional videos, or social media content from Twitter and TikTok for analysis and benchmarking. It allows for quick retrieval of specific video qualities or audio tracks to inform campaign strategies and creative development.
Researchers can download educational videos, lectures, or documentary content from supported sites for offline study or data analysis. The ability to extract audio facilitates transcription or linguistic studies, while playlist downloads help in collecting series of related materials efficiently.
Support teams can utilize this skill to download tutorial videos, software demos, or troubleshooting guides from platforms like YouTube for internal training or client assistance. It helps in creating localized resources by handling subtitles and ensuring reliable downloads with error recovery features.
Integrate this skill into a freemium digital tool or platform, offering basic video downloads for free while charging for advanced features like batch processing, cloud storage integration, or priority support. Revenue is generated through subscription tiers or one-time purchases for premium capabilities.
Package this skill as part of a SaaS solution tailored for media and marketing agencies, providing automated video downloading, format conversion, and analytics. Revenue comes from monthly or annual licensing fees based on usage volume, with added value through API access and custom integrations.
Incorporate this skill into online learning platforms or educational apps to allow users to download course videos for offline viewing. Monetize through platform subscriptions, course fees, or in-app purchases for enhanced download features like ad-free extraction or higher quality options.
💬 Integration Tip
Ensure the AI agent has network access and shell permissions to execute yt-dlp commands, and pre-install dependencies like yt-dlp and ffmpeg on the host system for seamless operation.
Terminal Spotify playback/search via spogo (preferred) or spotify_player.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.
Search and add movies to Radarr. Supports collections, search-on-add option.
Control Spotify playback on macOS. Play/pause, skip tracks, control volume, play artists/albums/playlists. Use when a user asks to play music, control Spotify, change songs, or adjust Spotify volume.
Search and add TV shows to Sonarr. Supports monitor options, search-on-add.
A robust CLI wrapper for yt-dlp to download videos, playlists, and audio from YouTube and thousands of other sites. Supports format selection, quality control, metadata embedding, and cookie authentication.