BeClaude

video-downloader-skill

New
1GitHub TrendingGeneralby smarks26

Downloads videos and audio from YouTube, Bilibili, Twitter, and other platforms using yt-dlp. Supports quality selection, format conversion, and audio extraction.

Summary

This skill enables downloading videos and audio from YouTube, Bilibili, Twitter, and other platforms using yt-dlp.

  • It supports quality selection, format conversion, and audio extraction, making it useful for developers who need to save media for offline analysis, content creation, or archival purposes.

Overview

Video Downloader Skill

This skill downloads content from major video platforms by invoking the 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:

  • "Download this Bilibili video..."
  • "Extract audio from this YouTube video and convert it to MP3."
  • "Save this Twitter video in 1080p."
  • "Can I download the video from this link?"

Command Structure

bash
python3 scripts/video_download.py "<URL>" [OPTIONS]

Core Parameters

ParameterShortDescriptionDefault
--output-oSpecify output directoryCurrent directory
--quality-qSet video quality (best, 1080p, 720p...)best
--format-fSet video format (mp4, webm, mkv)mp4
--audio-only-aDownload audio only and convert to MP3Off
--cookies-cSpecify Cookies file for authenticationNone

Usage Examples

  1. Basic Download (Best Quality, MP4)

``bash python3 scripts/video_download.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ" ``

  1. Download Bilibili Video with Specific Quality

``bash python3 scripts/video_download.py "https://www.bilibili.com/video/BV1xx411c7mD" -q 1080p ``

  1. Extract Audio Only

``bash python3 scripts/video_download.py "https://www.youtube.com/watch?v=..." -a ``

  1. Download using Cookies

``bash python3 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:

  • YouTube
  • Bilibili
  • Twitter / X
  • Vimeo
  • Facebook
  • TikTok

Notes

  • Dependencies: The script automatically handles the installation of yt-dlp, no manual intervention required.
  • Filenames: Downloaded filenames are automatically generated based on the video title.
  • Playlists: By default, only single videos are downloaded; playlists are not processed.

Install & Usage

1
Create the skills directory
mkdir -p .claude/skills
2
Download the skill file
mkdir -p .claude/skills && curl -o .claude/skills/video-downloader-skill.md https://raw.githubusercontent.com/smarks26/video-downloader-skill/main/SKILL.md
3
Invoke in Claude Code
/video-downloader-skill

Use Cases

Download a YouTube tutorial video in 1080p MP4 for offline reference.
Extract audio from a Bilibili video and convert it to MP3 for podcast editing.
Save a Twitter video in best available quality for content repurposing.
Download a playlist of videos from YouTube in a specific format like MKV.
Grab a video with authentication using a cookies file for private content.
Batch download multiple videos from different platforms by specifying URLs.

Usage Examples

1

/video-downloader-skill https://www.youtube.com/watch?v=dQw4w9WgXcQ

2

/video-downloader-skill https://www.bilibili.com/video/BV1xx411c7mD -q 1080p

3

/video-downloader-skill https://twitter.com/user/status/123456789 -a

View source on GitHub

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is video-downloader-skill?

This skill enables downloading videos and audio from YouTube, Bilibili, Twitter, and other platforms using yt-dlp. It supports quality selection, format conversion, and audio extraction, making it useful for developers who need to save media for offline analysis, content creation, or archival purposes.

How to install video-downloader-skill?

To install video-downloader-skill: create the skills directory (mkdir -p .claude/skills), then run: mkdir -p .claude/skills && curl -o .claude/skills/video-downloader-skill.md https://raw.githubusercontent.com/smarks26/video-downloader-skill/main/SKILL.md. Finally, /video-downloader-skill in Claude Code.

What is video-downloader-skill best for?

video-downloader-skill is a skill categorized under General. Created by smarks26.

What can I use video-downloader-skill for?

video-downloader-skill is useful for: Download a YouTube tutorial video in 1080p MP4 for offline reference.; Extract audio from a Bilibili video and convert it to MP3 for podcast editing.; Save a Twitter video in best available quality for content repurposing.; Download a playlist of videos from YouTube in a specific format like MKV.; Grab a video with authentication using a cookies file for private content.; Batch download multiple videos from different platforms by specifying URLs..