home / skills / feiwanghub / playground / video-downloader-skill
/skills/.trae/skills/video-downloader-skill
This skill lets you download videos from YouTube and many platforms using yt-dlp, with format selection and custom output directories.
npx playbooks add skill feiwanghub/playground --skill video-downloader-skillReview the files below or copy the command above to add this skill to your agents.
---
name: video-downloader-skill
description: "Download videos from YouTube and other platforms using yt-dlp."
---
# Video Downloader Skill
This skill allows you to download videos from various online platforms using the powerful `yt-dlp` library.
## Capabilities
- Download videos from YouTube, Vimeo, Twitter, and hundreds of other sites.
- Support for format selection (best, audio-only, etc.).
- Custom output directory support.
## Usage
Download a video:
```bash
python3 .shared/video-downloader-skill/scripts/download.py "https://www.youtube.com/watch?v=VIDEO_ID"
```
Download to specific folder:
```bash
python3 .shared/video-downloader-skill/scripts/download.py "URL" --output "./downloads"
```
This skill provides a command-line interface to download videos from YouTube and hundreds of other sites using the yt-dlp engine. It focuses on reliable downloads, flexible format selection, and simple configuration of output directories. The implementation is lightweight and designed for integration into larger automation workflows.
The skill wraps yt-dlp to fetch and save media from supported platforms. It exposes options to choose quality or audio-only formats and accepts a destination directory for output files. The script handles URL parsing, invokes yt-dlp with the requested options, and reports download progress and status.
Which sites are supported?
The skill leverages yt-dlp, which supports hundreds of sites including YouTube, Vimeo, Twitter, and many more. Keep yt-dlp up to date to maximize compatibility.
Is it legal to download videos with this skill?
Legality depends on the content and your jurisdiction. Use the tool only for content you have rights to download or for which platform terms allow downloading.