mcpField
Y
youtube-downloader

youtube-downloader

github.com/aviz85Creative & media5086 installsUpdated 16w ago
Repository

About youtube-downloader

youtube-downloader is a Python skill for downloading YouTube videos with presets ranging from WhatsApp-sized clips to the best available quality. It also supports format listing and MP3-only extraction.

Key features

  1. 01Quality presets from 144p to best available
  2. 02List formats before downloading
  3. 03Extract audio as MP3
  4. 04Choose an output directory

Use cases

  1. 01Prepare smaller videos for WhatsApp sharing
  2. 02Download videos at standard or high quality
  3. 03Extract audio from podcasts or music

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/aviz85/claude-skills-library --skill youtube-downloader

After installing, type/youtube-downloaderin Claude Code to confirm it loaded.

Bundled filesscripts/download.pySETUP.md

Details

From the project README

YouTube Video Downloader

First time? If setup_complete: false above, run ./SETUP.md first, then set setup_complete: true.

Download YouTube videos with quality control, optimized for sharing on WhatsApp and other platforms.

Requirements

This skill requires Python to be installed on your system.

  • Python 3.9+ (required)
  • yt-dlp (pip install yt-dlp)
  • ffmpeg (for audio extraction)

First time setup? Read SETUP.md for detailed installation instructions for Windows, macOS, and Linux.

Quick Start

cd ~/.claude/skills/youtube-downloader/scripts

# Download for WhatsApp (144p, small file)
python download.py "https://www.youtube.com/watch?v=VIDEO_ID" --quality whatsapp

# Download standard quality (480p)
python download.py "https://www.youtube.com/watch?v=VIDEO_ID" --quality standard

# Download high quality (720p)
python download.py "https://www.youtube.com/watch?v=VIDEO_ID" --quality high

# Download best quality available
python download.py "https://www.youtube.com/watch?v=VIDEO_ID" --quality best

# List available formats
python download.py "https://www.youtube.com/watch?v=VIDEO_ID" --list

Quality Presets

PresetResolutionMax SizeUse Case
whatsapp144p~10MBWhatsApp sharing (default)
standard480p~50MBGeneral use
high720p~100MBGood quality
bestBest availableVariesMaximum quality

Options

OptionDescription
--quality / -qQuality preset (whatsapp/standard/high/best)
--output / -oOutput directory (default: current dir)
--list / -lList available formats without downloading
--audio-only / -aExtract audio only (MP3)

Examples

# Download and send to WhatsApp
python download.py "https://youtube.com/watch?v=xxx" -q whatsapp
# Then use WhatsApp skill to send

# Download to specific folder
python download.py "https://youtube.com/watch?v=xxx" -o ~/Downloads

# Audio only (for podcasts/music)
python download.py "https://youtube.com/watch?v=xxx" --audio-only

WhatsApp Size Limits

  • 16MB: Direct video sharing limit
  • 2GB: Document sharing limit (preserves quality)

For videos over 16MB, either:

  1. Use lower quality preset
  2. Send as document (not video)

Comments

Markdown supported