skills/youtube-downloader/SKILL.md
Download videos from YouTube URLs. Use when user wants to download a YouTube video for processing, editing, or transcription. Supports different quality options, audio-only extraction, and playlist downloads.
npx skillsauth add akrindev/trimer-clip youtube-downloaderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill enables AI agents to download videos from YouTube URLs for further processing, editing, or transcription.
Ensure yt-dlp is installed:
pip install yt-dlp
scripts/download.pyDownload a video from YouTube URL.
Usage:
python skills/youtube-downloader/scripts/download.py <url> [options]
Options:
--output, -o: Output path (default: ./downloads/%(title)s.%(ext)s)--format, -f: Video format (default: best[ext=mp4])--audio-only: Extract audio only--audio-format: Audio format when using --audio-only (default: mp3)--quality: Quality preset (best, 1080, 720, 480, 360)--playlist: Download entire playlist--subtitle: Download subtitles--write-description: Write video description--write-info-json: Write video metadata as JSONExamples:
Download video in best quality:
python skills/youtube-downloader/scripts/download.py "https://www.youtube.com/watch?v=VIDEO_ID"
Download with custom output path:
python skills/youtube-downloader/scripts/download.py "https://www.youtube.com/watch?v=VIDEO_ID" --output "./my_video.mp4"
Extract audio only:
python skills/youtube-downloader/scripts/download.py "https://www.youtube.com/watch?v=VIDEO_ID" --audio-only --audio-format wav
Download 720p video:
python skills/youtube-downloader/scripts/download.py "https://www.youtube.com/watch?v=VIDEO_ID" --quality 720
Download with subtitles:
python skills/youtube-downloader/scripts/download.py "https://www.youtube.com/watch?v=VIDEO_ID" --subtitle --write-info-json
scripts/download_playlist.pyDownload entire YouTube playlist.
Usage:
python skills/youtube-downloader/scripts/download_playlist.py <playlist_url> [options]
Options:
--output, -o: Output directory (default: ./downloads/%(playlist_title)s/%(title)s.%(ext)s)--start: Start downloading from this video number--end: End downloading at this video number--format: Video formatdownload.pyExample:
python skills/youtube-downloader/scripts/download_playlist.py "https://www.youtube.com/playlist?list=PLAYLIST_ID"
Returns a JSON with download information:
{
"success": true,
"video_path": "/path/to/video.mp4",
"title": "Video Title",
"duration": 1234.5,
"uploader": "Channel Name",
"upload_date": "20240101",
"view_count": 1000000,
"thumbnail": "/path/to/thumbnail.jpg"
}
Returns:
{
"success": true,
"audio_path": "/path/to/audio.mp3",
"title": "Video Title",
"duration": 1234.5
}
| Preset | Resolution | Description |
|---------|-------------|-------------|
| best | Best available | Highest quality |
| 1080 | 1920x1080 | Full HD |
| 720 | 1280x720 | HD |
| 480 | 854x480 | SD |
| 360 | 640x360 | Low quality |
After downloading, you can use these skills:
video-transcriber: Transcribe the downloaded videoscene-detector: Detect scene changesportrait-resizer: Convert to 9:16 portrait formatautocut-shorts: Full workflow for creating short clipsvideo-transcriberautocut-shorts--audio-only when you only need the transcript (saves bandwidth)--write-info-json to get video metadata for analysis--subtitle if available video has captionstools
Trim and cut videos by timestamp with precision. Supports both stream copy (fast) and re-encoding (quality) modes. Use when you need to extract specific segments from videos, create clips from highlights, or cut unwanted portions.
development
Transcribe audio from videos using Whisper (local), OpenAI Whisper API, Google Speech-to-Text, or Gemini API (gemini-flash-lite-latest). Use when you need to convert video/audio to text for further processing, subtitle generation, or content analysis. Supports multiple languages, speaker diarization, and timestamp-accurate transcription. Gemini provides additional features like emotion detection and viral segment analysis.
tools
Add burned-in subtitles/captions to video clips. Supports SRT/VTT/ASS subtitle files, customizable styling (font, size, color, position), and platform-specific presets for TikTok, YouTube Shorts, and Instagram Reels.
tools
Advanced speaker diarization using pyannote-audio. Identify who speaks when, detect multiple speakers, handle overlapping speech, and create speaker-specific segments. Use when you need accurate speaker identification, multi-speaker content analysis, or speaker-specific clip extraction. More accurate than Gemini's built-in diarization for complex scenarios.