Video downloader skill

From Leoyishou/personal-ai-company · View interactive version

Video downloader skill is an AI agent skill from the GitHub repository Leoyishou/personal-ai-company. Downloads videos and audio from YouTube, Bilibili, Twitter, and other platforms using yt-dlp. Supports quality selection, format conversion, and audio extraction.

How to use this skill

Skill file

Video Downloader Skill

This skill downloads content from major video platforms by invoking the /Users/liuyishou/.claude/skills/video-downloader-skill/scripts/video_download.py script.

When to Use

Use this skill when the user's intent is to download, save, or grab online video or audio. Common trigger commands include:

Command Structure

python3 /Users/liuyishou/.claude/skills/video-downloader-skill/scripts/video_download.py "<URL>" [OPTIONS]

Core Parameters

| Parameter | Short | Description | Default |

|---|---|---|---|

| --output | -o | Specify output directory | Current directory |

| --quality | -q | Set video quality (best, 1080p, 720p...) | best |

| --format | -f | Set video format (mp4, webm, mkv) | mp4 |

| --audio-only | -a | Download audio only and convert to MP3 | Off |

| --cookies | -c | Specify Cookies file for authentication | None |

Usage Examples

  1. Basic Download (Best Quality, MP4)

```bash

python3 /Users/liuyishou/.claude/skills/video-downloader-skill/scripts/video_download.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ"

```

  1. Download Bilibili Video with Specific Quality

```bash

python3 /Users/liuyishou/.claude/skills/video-downloader-skill/scripts/video_download.py "https://www.bilibili.com/video/BV1xx411c7mD" -q 1080p

```

  1. Extract Audio Only

```bash

python3 /Users/liuyishou/.claude/skills/video-downloader-skill/scripts/video_download.py "https://www.youtube.com/watch?v=..." -a

```

  1. Download using Cookies

```bash

python3 /Users/liuyishou/.claude/skills/video-downloader-skill/scripts/video_download.py "<URL>" -c /path/to/cookies.txt

```

Supported Platforms

This skill uses yt-dlp under the hood and theoretically supports numerous sites supported by it, including but not limited to:

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.