youtube

majiayu000 的头像作者 majiayu000

使用视频和音频链接。当用户共享 YouTube 链接、视频 URL 或任何媒体链接时激活 - 无论任务如何(下载、信息、转换、提取、列出或探索)。使用 yt-dlp 进行所有操作。

📖 中文导读:使用视频和音频链接。当用户共享 YouTube 链接、视频 URL 或任何媒体链接时激活 - 无论任务如何(下载、信息、转换、提取、列出或探索)。使用 yt-dlp 进行所有操作。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

yt-dlp Video Downloader Skill

Expert at using yt-dlp CLI for downloading and processing videos from YouTube and other platforms.

Availability

Before any operation, verify yt-dlp is installed: yt-dlp --version

If not installed, just quit, user will handle the installation manually.

Documentation Access

The full yt-dlp documentation is extensive. When you need to look up specific options or features:

  1. Fetch the docs:

    curl -s https://raw.githubusercontent.com/yt-dlp/yt-dlp/refs/heads/master/README.md -o /tmp/yt-dlp-docs.md
    
  2. Use a subagent to search the docs (preserves context window):

    Task tool with subagent_type="general-purpose":
    "Read /tmp/yt-dlp-docs.md and find information about [SPECIFIC TOPIC].
    Return only the relevant options and examples."
    

Workflow

  1. Simple requests → Execute directly with known options
  2. Complex/unfamiliar requests → Fetch docs → Subagent search → Execute

Guidelines

  1. Check installation first - verify yt-dlp is available
  2. Delegate doc searches - use subagent for extensive docs
  3. Show the command - always display the command being run
  4. Handle errors - explain common issues (geo-restrictions, age-gates, etc.)