download-video
Download videos from social media URLs (X/Twitter, YouTube, Instagram, TikTok, etc.) using yt-dlp. Use when saving a video locally, extracting content for transcription, or archiving video references.
适合你,如果需要保存社交媒体上的视频到本地
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
~/.claude/skills/(项目级 .claude/skills/)~/.codex/skills/npx oh-my-skill add rameerez/claude-code-startup-skills/download-videocurl -fsSL https://oh-my-skill.com/install.sh | bash -s -- rameerez/claude-code-startup-skills/download-videonpx oh-my-skill verify rameerez/claude-code-startup-skills/download-video怎么用
技能原文 SKILL.md
Video 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 | | Instagram | Reels and stories supported. May require authentication for private accounts | | TikTok | Direct video URLs work. Watermark-free when available | | Reddit | 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