技能图谱SKILLSGROVE
技能图谱/短视频与自媒体/rameerez/claude-code-startup-skills/download-video

download-video

安装

$npx skills add https://github.com/rameerez/claude-code-startup-skills --skill download-video
$git clone --depth 1 https://github.com/rameerez/claude-code-startup-skills.git /tmp/claude-code-startup-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-startup-skills/skills/download-video ~/.claude/skills/download-video
请帮我安装这个 Agent Skill:https://github.com/rameerez/claude-code-startup-skills/tree/410f81f83e4ac309032eab3d3265353f97ea665f/skills/download-video ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITDownload 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.
以下 SKILL.md 内容转载自 rameerez/claude-code-startup-skills(提交 410f81f),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2026 Javi 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

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

  1. Verify yt-dlp is installed - check with which yt-dlp, suggest brew install yt-dlp if missing
  2. Download the video in the best available quality
  3. 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

  1. Verify the file: ls -lh *.mp4 (or whatever extension was downloaded)
  2. Report the filename, format, resolution, and file size to the user
  3. If the user wants subtitles or a transcript, suggest using /transcribe-video
查看许可证全文(MIT)
MIT License

Copyright (c) 2026 Javi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.