A Cursor Agent Skill for downloading videos from YouTube, Bilibili, Twitter, and thousands of other sites using yt-dlp.
- Download videos from 1000+ websites
- Extract audio (MP3)
- Download subtitles
- Select video quality (720p/1080p/best)
- Auto-handle YouTube 403 errors with browser cookies
- Resume interrupted downloads
Before using this skill, make sure you have the following installed:
# Install yt-dlp
pip install yt-dlp
# Install ffmpeg (required for audio extraction)
brew install ffmpeg # macOS
# or: sudo apt install ffmpeg # Linuxgit clone https://github.com/MapleShaw/yt-dlp-downloader-skill.git ~/.cursor/skills/yt-dlp-downloader-
Create the skill directory:
mkdir -p ~/.cursor/skills/yt-dlp-downloader/scripts -
Download
SKILL.mdandscripts/download.shfrom this repository -
Place them in the created directory
Simply tell Cursor what you want to download:
| Command | Example |
|---|---|
| Download video | "Download this video https://youtube.com/watch?v=xxx" |
| Extract audio | "Extract audio from https://youtube.com/watch?v=xxx" |
| Download with subtitles | "Download with subtitles https://youtube.com/watch?v=xxx" |
| Specific quality | "Download in 720p https://youtube.com/watch?v=xxx" |
You: Download this video https://www.youtube.com/watch?v=xxx
Cursor:
yt-dlp -P "~/Downloads/yt-dlp" --cookies-from-browser chrome "https://www.youtube.com/watch?v=xxx"yt-dlp supports thousands of sites including:
- YouTube / YouTube Music
- Bilibili (B站)
- Twitter / X
- TikTok / Douyin (抖音)
- Vimeo
- Twitch
- And many more...
| Error | Solution |
|---|---|
| HTTP 403 Forbidden (YouTube) | Use --cookies-from-browser chrome |
| yt-dlp not found | Run pip install yt-dlp |
| ffmpeg not found | Run brew install ffmpeg |
| Download fails | Run pip install -U yt-dlp to update |
yt-dlp-downloader/
├── SKILL.md # Main skill instructions
└── scripts/
└── download.sh # Helper script
MIT