npx skills add ...
npx skills add lwmxiaobei/yt-dlp-skill --skill yt-dlp
Download videos and extract audio from various platforms using yt-dlp. Use when user provides a video URL, asks to download a video, or when conversation contains video links from YouTube, Twitter/X, Vimeo, TikTok, Instagram, etc.
npx skills add lwmxiaobei/yt-dlp-skill --skill yt-dlp
This skill provides tools for downloading videos and extracting audio from various platforms using yt-dlp.
When user explicitly asks to download a video:
Action: Extract URL and call download script
When conversation contains video URLs:
Action: Detect video URL, ask user if they want to download it
When user wants to extract audio only:
Action: Use audio extraction script
Note: Scripts are located in the scripts/ directory
Main video downloader with quality and format options.
Usage:
Quality options: best, 1080p, 720p, 480p, audio
Extract audio from videos in various formats.
Usage:
Formats: mp3, m4a, opus, flac, wav
Extract video URLs from text or files.
Usage:
The skill recognizes URLs from:
extract_urls.pyextract_urls.py (can process stdin)When user doesn't specify preferences:
When options needed:
Common issues and solutions:
yt-dlp not installed:
yt-dlp --versionpip install yt-dlp or brew install yt-dlpffmpeg not installed (required for format conversion):
brew install ffmpeg (macOS)apt install ffmpeg (Linux)Video not available:
Network errors:
yt-dlp: Main video downloaderffmpeg: Audio/video processing (required for format conversion)python3 with standard libraryAll scripts are self-contained and use only built-in Python modules.