Cursor Agent Skill for downloading videos from YouTube, Bilibili, Twitter, and thousands of other sites using yt-dlp. Automates video and audio extraction for content creators and operations teams.
git clone https://github.com/MapleShaw/yt-dlp-downloader-skill.gitCursor Agent Skill for downloading videos from YouTube, Bilibili, Twitter, and thousands of other sites using yt-dlp. Automates video and audio extraction for content creators and operations teams.
[{"step":"Install yt-dlp if not already installed. Run 'pip install yt-dlp' in your terminal or use the package manager for your system (e.g., 'brew install yt-dlp' on macOS).","tip":"Ensure ffmpeg is installed for audio/video merging and format conversion. Install via 'brew install ffmpeg' or your system's package manager."},{"step":"Copy the video URL from YouTube, Bilibili, Twitter, or any supported site. For private videos, include authentication flags like --cookies-from-browser chrome.","tip":"Use --list-formats to preview available resolutions before downloading. Add 'yt-dlp --list-formats [VIDEO_URL]' to your command."},{"step":"Run the yt-dlp command with your desired output format. Customize the prompt_template above by replacing [PLACEHOLDERS] with your specific paths and filenames.","tip":"For batch downloads, create a text file with URLs (one per line) and use 'yt-dlp -a urls.txt' to process them sequentially."},{"step":"Verify the downloaded files in your specified output folder. Use tools like VLC or FFprobe to check video/audio quality.","tip":"Add --embed-metadata to include video title, uploader, and upload date in the MP3 file for better organization."}]
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/MapleShaw/yt-dlp-downloader-skillCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Download the highest quality video and audio available from [VIDEO_URL] using yt-dlp. Extract the audio only as an MP3 file named '[FILE_NAME].mp3' and save it to the '[OUTPUT_FOLDER]' directory. Include subtitles if available, formatted as '[FILE_NAME].srt'. Use the following yt-dlp command structure as a reference: yt-dlp --format 'bv+ba' --merge-output-format mp4 --write-subs --sub-lang en --output '[OUTPUT_FOLDER]/[FILE_NAME].%(ext)s' [VIDEO_URL]
``` ✅ Download completed successfully! 📁 Saved to: /Users/creative/Downloads/How_to_Edit_Videos_2024 📊 File Details: - Video: How_to_Edit_Videos_2024.mp4 (1080p, 2.4GB) - Audio: How_to_Edit_Videos_2024.mp3 (320kbps, 2h 15m) - Subtitles: How_to_Edit_Videos_2024.en.srt (English) 🔧 Command Used: yt-dlp --format 'bv+ba' --merge-output-format mp4 --write-subs --sub-lang en --output '/Users/creative/Downloads/How_to_Edit_Videos_2024/How_to_Edit_Videos_2024.%(ext)s' https://www.youtube.com/watch?v=dQw4w9WgXcQ 💡 Pro Tip: Use --embed-thumbnail to add the video thumbnail to the MP3 file for better metadata. ```
The AI Code Editor for productive developers
IronCalc is a spreadsheet engine and ecosystem
ITIL-aligned IT service management platform
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan