youtube-downloader

Downloads YouTube videos with user-defined quality and format via yt-dlp.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/huivrotiki/antigravity-code-workspace-copy --skill youtube-downloader-huivrotiki
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-downloader
Source: https://github.com/huivrotiki/antigravity-code-workspace-copy/tree/main/02-Skills/video-downloader
Command: npx skills add https://github.com/huivrotiki/antigravity-code-workspace-copy --skill youtube-downloader-huivrotiki

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Downloading YouTube videos with customizable quality and formats can be time-consuming and error-prone when done manually.

Core Features & Use Cases

  • Quality and format control: Choose best, 1080p, 720p, 480p, 360p, or audio-only MP3; supports mp4, webm, and mkv.
  • Automatic tool integration: Uses yt-dlp and can install it automatically if missing.
  • Single-video reliability and default behavior: Downloads a single video to /mnt/user-data/outputs by default and skips playlists unless specified.
  • Use case examples: Ideal for offline viewing, archival saves of tutorials, or quick media capture for personal use.

Quick Start

Run the script with a YouTube URL to download the video in your chosen quality to the default outputs directory.

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 resolution like 720p or 1080p?

To download a YouTube video in a specific resolution, you can specify your desired quality such as 720p or 1080p. The tool uses yt-dlp to fetch the video and saves the output directly to your local directory in formats like mp4 or webm.

Can I extract audio only from a YouTube video as an MP3 file?

Yes, you can extract audio only from a YouTube video as an MP3 file. By selecting the audio-only format option, the automation script processes the video with yt-dlp and outputs the extracted audio track to your default outputs folder.

Do I need to install yt-dlp manually before downloading YouTube videos?

You do not need to install yt-dlp manually to download YouTube videos. The script automatically detects if the dependency is missing and installs it for you, ensuring the video downloading process runs without manual setup errors.

Will downloading a single YouTube video accidentally download an entire playlist?

Downloading a single YouTube video will not accidentally download an entire playlist. The script is designed to skip playlists entirely unless you explicitly specify otherwise, preventing unintended bulk downloads and saving storage space.

What is the best way to automate saving YouTube videos for offline viewing?

The best way to automate saving YouTube videos for offline viewing is running a script that handles quality selection and format conversion automatically. This approach uses yt-dlp to reliably archive content to a designated outputs path without manual intervention.

What video formats are supported when saving downloaded YouTube videos?

Supported video formats when saving downloaded YouTube videos include mp4, webm, and mkv. You can choose your preferred format alongside a specific quality setting, and the tool will process the output accordingly for your offline viewing needs.