About download-video
download-video is a skill that uses yt-dlp to save videos from social media URLs in the current directory. It checks for the utility, downloads the best available quality, and reports file details.
Key features
- 01Check whether yt-dlp is installed
- 02Download available best quality
- 03List available formats
- 04Select a specific format
- 05Report filename and file details
Use cases
- 01Saving a video from a social media URL
- 02Choosing a resolution before downloading
- 03Checking the result file's format and size
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ rameerez/ claude-code-startup-skills --skill download-videoAfter installing, type/download-videoin Claude Code to confirm it loaded.
Details
From the project READMEVideo Download Skill
Download a video from $ARGUMENTS (a social media URL) to the current directory using yt-dlp.
Supports X/Twitter, YouTube, Instagram, TikTok, Reddit, and 1400+ other sites.
Process
- Verify yt-dlp is installed - check with
which yt-dlp, suggestbrew install yt-dlpif missing - Download the video in the best available quality
- Report results with filename, format, and file size
Download Command
yt-dlp -o "%(title)s.%(ext)s" "URL"
Options Reference
# Best video+audio (default)
yt-dlp -o "%(title)s.%(ext)s" "URL"
# List available formats first
yt-dlp -F "URL"
# Pick a specific format
yt-dlp -f "FORMAT_ID" -o "%(title)s.%(ext)s" "URL"
# Audio only (e.g. for podcasts)
yt-dlp -x --audio-format mp3 -o "%(title)s.%(ext)s" "URL"
# Custom output directory
yt-dlp -o "/path/to/dir/%(title)s.%(ext)s" "URL"
Platform-Specific Notes
| Platform | Notes |
|---|---|
| X/Twitter | Works with tweet URLs containing video. May need --cookies-from-browser for age-restricted content |
| YouTube | Supports playlists, channels, shorts. Use -F to pick resolution |
| Reels and stories supported. May require authentication for private accounts | |
| TikTok | Direct video URLs work. Watermark-free when available |
| Handles v.redd.it links with audio merging automatically |
After Download
- Verify the file:
ls -lh *.mp4(or whatever extension was downloaded) - Report the filename, format, resolution, and file size to the user
- If the user wants subtitles or a transcript, suggest using
/transcribe-video
Comments
Markdown supported