Skills

Audio Extractor

Extract audio from videos and download audio-only content from 1500+ websites using...

Install

npx skills add dp-archive/archive --skill audio-extractor -g -a claude-code -y
Repository
dp-archive/archive1.1k
Category
Media
Updated
8mo ago
License
Apache-2.0
Context cost
Mediumabout 1,898 tokens
Runs scripts
Yes, review before use

What it does

Extract audio from videos and download audio-only content from 1500+ websites using yt-dlp. Converts to MP3, M4A, FLAC, WAV, or OPUS with embedded metadata and cover art. Use when the user wants to extract audio from videos, download podcasts, download music from YouTube/SoundCloud/Bandcamp, convert video to audio, or batch download playlist audio. Triggers on requests like 'extract audio', 'download as MP3', 'get the audio from this video', 'download this podcast', 'download music', 'convert to FLAC'.

Audio Extractor

Extract pure audio from videos and download audio content. Supports format conversion, metadata embedding, and batch playlist processing.

Prerequisites

  • Executor: Must use the remotion executor (provides yt-dlp, ffmpeg, deno)
  • JS Runtime: deno is required for YouTube extraction (yt-dlp 2025+ default). The remotion executor includes deno.
  • ffmpeg: Required for audio format conversion and metadata embedding. Included in remotion executor.

Limitations

IssueDetail
YouTube rate limitingServer IPs are frequently rate-limited by YouTube. If you get "This content isn't available, try again later", wait ~1 hour or ask the user to upload the audio file directly.
YouTube JS runtimeyt-dlp requires deno for YouTube. Without it: No supported JavaScript runtime could be found.
Geo-restrictionsSome content may be region-locked. Use --geo-bypass flag.
AuthenticationSome platforms require cookies. Use --cookies-from-browser or --cookies cookies.txt.

Fallback strategy: If YouTube download fails, suggest the user upload the audio file directly or provide a direct audio URL.

Quick Start

# Extract audio (best quality, original format)
yt-dlp -x "URL"

# Extract as MP3
yt-dlp -x --audio-format mp3 "URL"

# MP3 with metadata and cover art
yt-dlp -x --audio-format mp3 --embed-metadata --embed-thumbnail "URL"

Audio Formats

Format Selection

FormatCommandUse Case
MP3--audio-format mp3Universal compatibility
M4A/AAC--audio-format m4aApple devices, good quality/size
FLAC--audio-format flacLossless, archival
WAV--audio-format wavUncompressed, editing
OPUS--audio-format opusBest quality/size ratio
Vorbis--audio-format vorbisOpen source, OGG container
Best--audio-format bestKeep original (no conversion)
Read the whole SKILL.md on GitHub

More in Media