youtube-downloader

Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.

Category

Other Tools

Install

Hot:237

Download and extract to your skills directory

Copy command and send to AI Agent for auto-install:

Download and install this skill https://openskills.cc/api/download?slug=composiohq-video-downloader&locale=en&source=copy

YouTube Downloader – Smart Video Download Assistant

Overview


YouTube Downloader is a powerful command-line tool that helps you download YouTube videos. It supports customizable quality settings (from 360p to 1080p and higher), multiple format options (MP4, WebM, and MKV), and audio-only mode (MP3), making offline viewing and content archiving simple and efficient.

Use Cases

  • Offline Viewing and Archiving

  • When you need to watch videos without an internet connection or want to permanently save important educational content, speeches, or music videos, you can download them directly to local storage for convenient access anytime.

  • Audio Extraction and Music Collection

  • For music videos, podcasts, audiobooks, and similar content, you can download only the audio track and save it as an MP3 file. This saves storage space while preserving high-quality audio, making it ideal for music enthusiasts and podcast listeners.

  • Content Creation and Lesson Preparation

  • Teachers can download educational videos for classroom use, content creators can collect material for derivative works, and researchers can archive reference materials for in-depth analysis.

    Core Features

  • Flexible Quality Control

  • Supports quality selection from 360p to 1080p and higher resolutions, including presets such as best (best available) and worst (lowest quality). You can freely choose based on available storage and network conditions, balancing image quality and file size.

  • Multiple Formats and Audio Extraction

  • In addition to the mainstream MP4 format, the tool supports WebM and MKV containers. It also offers an audio-only mode that directly converts videos into MP3 files, meeting format requirements for different use cases.

  • Automated Installation and Convenient Operation

  • Includes an automatic yt-dlp installation mechanism, so no manual dependency configuration is required on first use. Its concise command-line interface lets you perform complex operations using intuitive parameters (-q for quality, -f for format, -a for audio-only mode, and -o for output path).

    Frequently Asked Questions

    How do I download YouTube videos in high definition?


    Use the -q parameter to specify the quality. For example, python scripts/download_video.py "Video URL" -q 1080p downloads a Full HD video. If you are unsure which qualities are available, use the best option to automatically select the highest available quality.

    Can YouTube videos be converted to MP3?


    Yes. Use the -a or --audio-only parameter, for example: python scripts/download_video.py "Video URL" -a. The tool will automatically extract the audio track and save it in MP3 format without requiring manual conversion.

    Does it support downloading in 4K and 1080p?


    Yes. It supports 1080p and higher resolutions, including 4K when provided by the video source. The best quality option automatically selects the highest available quality. You can also explicitly specify 1080p or another resolution, such as 720p, 480p, or 360p.

    What software is required to download YouTube videos?


    The tool automatically installs yt-dlp and handles dependencies the first time it runs. You only need a Python environment; no complicated download software or browser plugins need to be installed manually.

    Can YouTube playlists be downloaded?


    The current version focuses on downloading individual videos. For batch playlist processing, it is recommended to use yt-dlp’s playlist functionality or follow future updates.

    How do I choose the video quality?


    Use the -q parameter followed by a quality value, such as -q best (best available), -q 720p, or -q 480p. Quality options are adjusted based on the streams actually available from the video source. If the specified quality is unavailable, the closest option will be selected.

    Where are downloaded videos saved?


    By default, files are saved to the /mnt/user-data/outputs/ directory, with filenames automatically generated based on the video title. You can use the -o or --output parameter to specify a custom path, such as -o /path/to/directory.

    Which video formats are supported?


    The tool supports MP4 (the default and most compatible), WebM (a modern format suitable for web applications), and MKV (the Matroska container). Use the -f parameter to specify a format, such as -f webm. Audio downloads are always saved in MP3 format.