ideabrowser.com — find trending startup ideas with real demand
Try itnpx skills add https://github.com/lwmxiaobei/yt-dlp-skill --skill yt-dlpThis skill provides tools for downloading videos and extracting audio from various platforms using yt-dlp.
When user explicitly asks to download a video:
User: Download this video https://youtube.com/watch?v=...
Action: Extract URL and call download script
When conversation contains video URLs:
User: Check out this video https://twitter.com/... and let me know what you think
Action: Detect video URL, ask user if they want to download it
When user wants to extract audio only:
User: Extract the audio from https://youtu.be/...
Action: Use audio extraction script
Note: Scripts are located in the scripts/ directory
Main video downloader with quality and format options.
Usage:
# Download video
scripts/download_video.py <url> -o <output_dir>
# Download with specific quality
scripts/download_video.py <url> --quality 720p
scripts/download_video.py <url> --quality audio # For audio only
# Custom format selector
scripts/download_video.py <url> --format "bestvideo[height<=1080]+bestaudio/best"
# Extract info only
scripts/download_video.py <url> --info-only
Quality options: best, 1080p, 720p, 480p, audio
Extract audio from videos in various formats.
Usage:
# Extract as MP3 (default)
/scripts/extract_audio.py <url> -o <output_dir>
# Extract as M4A
/scripts/extract_audio.py <url> --format m4a
# Custom quality
/scripts/extract_audio.py <url> --quality 320
Formats: mp3, m4a, opus, flac, wav
Extract video URLs from text or files.
Usage:
# Extract from text argument
/scripts/extract_urls.py "Check https://youtube.com/watch?v=..."
# Extract from file
/scripts/extract_urls.py <file_path>
# Read from stdin
cat file.txt | /scripts/extract_urls.py
The skill recognizes URLs from:
extract_urls.pyextract_urls.py (can process stdin)When user doesn't specify preferences:
When options needed:
# Ask user for quality preference if not specified
# Options: best (default), 1080p, 720p, 480p, audio
# Ask for format if extracting audio
# Options: mp3 (default), m4a, opus, flac, wav
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.