技能圖譜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.