youtube-dl

Download video or extract audio from YouTube and other video sites. Use this skill when the user asks to download a YouTube video, extract audio from a video URL, save a video from the internet, convert a YouTube video to MP3, or download media from supported sites.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "youtube-dl" with this command: npx skills add dalehurley/phpbot/dalehurley-phpbot-youtube-dl

Skill: youtube-dl

When to Use

Use this skill when the user asks to:

  • Download a YouTube video
  • Extract audio from a YouTube video
  • Save a video from the internet
  • Convert a YouTube video to MP3/audio
  • Download video or audio from any supported site
  • Get the audio track from a video URL

Supported Sites

yt-dlp supports 1000+ sites including:

  • YouTube, YouTube Music
  • Vimeo, Dailymotion
  • Twitter/X, Reddit, TikTok
  • SoundCloud, Bandcamp
  • And many more (run yt-dlp --list-extractors for full list)

Input Parameters

ParameterRequiredDescriptionExample
urlYesVideo/audio URLhttps://youtube.com/watch?v=xxx
formatNovideo (default) or audioaudio
qualityNobest (default), 720, 480, 360best
outputNoOutput directory or file path~/Downloads/

Procedure

  1. Get the URL from the user's request

  2. Determine if they want video or audio

  3. Run the bundled script:

    # Download video (best quality)
    python3 skills/youtube-dl/scripts/download.py "https://youtube.com/watch?v=xxx"
    
    # Extract audio only (MP3)
    python3 skills/youtube-dl/scripts/download.py "https://youtube.com/watch?v=xxx" --format audio
    
    # Specific quality
    python3 skills/youtube-dl/scripts/download.py "https://youtube.com/watch?v=xxx" --quality 720
    
    # Custom output directory
    python3 skills/youtube-dl/scripts/download.py "https://youtube.com/watch?v=xxx" --output ~/Downloads/
    
  4. The script auto-installs yt-dlp if needed

  5. Report the downloaded file path and details to the user

Bundled Scripts

ScriptTypeDescription
scripts/download.pyPythonDownload video/audio using yt-dlp

Script Usage

# Download best quality video
python3 scripts/download.py "https://youtube.com/watch?v=dQw4w9WgXcQ"

# Audio only (extracts to best available audio format)
python3 scripts/download.py "https://youtube.com/watch?v=dQw4w9WgXcQ" --format audio

# Specific video quality
python3 scripts/download.py "https://youtube.com/watch?v=dQw4w9WgXcQ" --quality 720

# Custom output location
python3 scripts/download.py "https://youtube.com/watch?v=dQw4w9WgXcQ" --output ~/Music/

# Show video info without downloading
python3 scripts/download.py "https://youtube.com/watch?v=dQw4w9WgXcQ" --info

Example

download this youtube video: https://youtube.com/watch?v=xxx
extract the audio from this video
save this video as mp3
download the video in 720p
get the audio from this youtube link

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

desktop-control

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

summarize-unread-emails

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

csv-tools

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

get-weather-forecast

No summary provided by upstream source.

Repository SourceNeeds Review