youtube-downloader

Download YouTube videos and audio with configurable quality and format options.

Updated Aug 12, 2026
One-click install
npx skills add https://github.com/Barbaros911/As-mine --skill youtube-downloader-barbaros911
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: youtube-downloader
Source: https://github.com/Barbaros911/As-mine/tree/main/.claude/skills/video-downloader
Command: npx skills add https://github.com/Barbaros911/As-mine --skill youtube-downloader-barbaros911

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yt-dlp, and includes scripts (resource) components.

What problem does it solve? Manually saving YouTube videos or extracting audio requires juggling browser extensions or ad-heavy websites. This Skill downloads YouTube videos directly via yt-dlp with full control over resolution, container format, and audio-only extraction. ## Core Features & Use Cases - Quality Control: Choose from best, 1080p, 720p, 480p, 360p, or worst quality settings to balance fidelity and file size. - Format Selection: Output video as MP4, WebM, or MKV, or extract audio-only as MP3. - Automatic Setup: The script installs yt-dlp automatically if it is missing and fetches video metadata (title, duration, uploader) before downloading. - Use Case: Save a conference talk from YouTube in 720p MP4 to watch offline during a flight, or grab just the audio of a podcast episode as an MP3. ## Quick Start Ask the AI to download a specific YouTube video URL in your preferred quality, for example 720p MP4, or as audio-only MP3.

Frequently Asked Questions about youtube-downloader

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I download a YouTube video in a specific quality?▼

Run the download script with the -q flag followed by a quality value such as 1080p, 720p, 480p, or 360p. The script builds a yt-dlp format selector that caps the video height at your chosen resolution while keeping the best audio.

How to extract audio from a YouTube video as MP3?▼

Use the -a or --audio-only flag when running the script. It invokes yt-dlp with audio extraction enabled, converting the stream to MP3 at the best available audio quality.

Does yt-dlp need to be installed before downloading videos?▼

No manual installation is required. The script checks for yt-dlp at runtime and automatically installs it via pip if the binary is not found on the system.

Can I download an entire YouTube playlist with this script?▼

No, playlists are skipped by default. The script passes the --no-playlist flag to yt-dlp, so only the single video referenced by the URL is downloaded.

Where are downloaded YouTube videos saved?▼

Downloads are saved to /mnt/user-data/outputs/ by default, with filenames generated from the video title. You can override the destination using the -o or --output flag with a custom directory path.