yt-dlp
Download videos and extract audio from various platforms using yt-dlp. Use when user provides a video URL, asks to download a video, or when conversation contains video links from YouTube, Twitter/X, Vimeo, TikTok, Instagram, etc.
What this skill does
# yt-dlp Video Downloader Skill This skill provides tools for downloading videos and extracting audio from various platforms using yt-dlp. ## Features - Download videos from multiple platforms (YouTube, Twitter/X, Vimeo, TikTok, Instagram, Facebook, etc.) - Extract audio from videos - Auto-detect video URLs in conversations - Support for different quality settings and formats ## Usage Patterns ### 1. Command-based Download When user explicitly asks to download a video: ``` User: Download this video https://youtube.com/watch?v=... ``` **Action**: Extract URL and call download script ### 2. Auto-detection in Conversations When conversation contains video URLs: ``` User: Check out this video https://twitter.com/... and let me know what you think ``` **Action**: Detect video URL, ask user if they want to download it ### 3. Audio Extraction When user wants to extract audio only: ``` User: Extract the audio from https://youtu.be/... ``` **Action**: Use audio extraction script ## Available Scripts Note: Scripts are located in the `scripts/` directory ### download_video.py Main video downloader with quality and format options. **Usage**: ```bash # Download video scripts/download_video.py <url> -o <output_dir> # Download with specific quality scripts/download_video.py <url> --quality 720p scripts/download_video.py <url> --quality audio # For audio only # Custom format selector scripts/download_video.py <url> --format "bestvideo[height<=1080]+bestaudio/best" # Extract info only scripts/download_video.py <url> --info-only ``` **Quality options**: `best`, `1080p`, `720p`, `480p`, `audio` ### extract_audio.py Extract audio from videos in various formats. **Usage**: ```bash # Extract as MP3 (default) /scripts/extract_audio.py <url> -o <output_dir> # Extract as M4A /scripts/extract_audio.py <url> --format m4a # Custom quality /scripts/extract_audio.py <url> --quality 320 ``` **Formats**: `mp3`, `m4a`, `opus`, `flac`, `wav` ### extract_urls.py Extract video URLs from text or files. **Usage**: ```bash # Extract from text argument /scripts/extract_urls.py "Check https://youtube.com/watch?v=..." # Extract from file /scripts/extract_urls.py <file_path> # Read from stdin cat file.txt | /scripts/extract_urls.py ``` ## Video Platform Support The skill recognizes URLs from: - YouTube (youtube.com, youtu.be) - Twitter/X (twitter.com, x.com) - Vimeo (vimeo.com) - TikTok (tiktok.com) - Instagram (instagram.com) - Facebook (facebook.com, fb.watch) - Twitch (twitch.tv, clips.twitch.tv) - Dailymotion (dailymotion.com) - Reddit (reddit.com) - Streamable (streamable.com) - And many more supported by yt-dlp ## Workflow ### When User Provides Video URL 1. Extract URL from user's input using `extract_urls.py` 2. Confirm with user what action to take: - Download video - Extract audio - Show video info 3. Execute appropriate script based on user's choice 4. Notify user of success/failure and file location ### When Auto-detecting URLs 1. Scan conversation text with `extract_urls.py` (can process stdin) 2. If video URLs found, ask user: "I found video URLs in this conversation. Would you like me to download them?" 3. If yes, proceed with download workflow 4. If no, continue with conversation ### Handling Multiple URLs - For single URL: Direct download - For multiple URLs: Ask user if they want to download all or select specific ones - Provide option to download as playlist if URLs are from the same source ## Quality and Format Selection When user doesn't specify preferences: - Default to best available quality - For audio: Default to MP3 at 192kbps When options needed: ```bash # Ask user for quality preference if not specified # Options: best (default), 1080p, 720p, 480p, audio # Ask for format if extracting audio # Options: mp3 (default), m4a, opus, flac, wav ``` ## Error Handling Common issues and solutions: 1. **yt-dlp not installed**: - Check with `yt-dlp --version` - Install with `pip install yt-dlp` or `brew install yt-dlp` 2. **ffmpeg not installed** (required for format conversion): - Install with `brew install ffmpeg` (macOS) - Or `apt install ffmpeg` (Linux) 3. **Video not available**: - Check if URL is accessible - Some videos may require authentication - Age-restricted content may need cookies 4. **Network errors**: - Retry download - Check internet connection ## Dependencies - `yt-dlp`: Main video downloader - `ffmpeg`: Audio/video processing (required for format conversion) - `python3` with standard library All scripts are self-contained and use only built-in Python modules.
Related in Ads & Marketing
ads
IncludedMulti-platform paid advertising audit and optimization skill. Analyzes Google, Meta, YouTube, LinkedIn, TikTok, Microsoft, and Apple Ads. 250+ checks with scoring, parallel agents, industry templates, and AI creative generation.
banana
IncludedAI image generation Creative Director powered by Google Gemini Nano Banana models. Use this skill for ANY request involving image creation, editing, visual asset production, or creative direction. Triggers on: generate an image, create a photo, edit this picture, design a logo, make a banner, visual for my anything, and all /banana commands. Handles text-to-image, image editing, multi-turn creative sessions, batch workflows, and brand presets.
rpg-migration-analyzer
IncludedAnalyzes legacy RPG (Report Program Generator) programs from AS/400 and IBM i systems for migration to modern Java applications. Extracts business logic from RPG III/IV/ILE source code, identifies data structures (D-specs), file operations (F-specs), program dependencies (CALLB/CALLP), and converts RPG constructs to Java equivalents. Generates migration reports, complexity estimates, and Java implementation strategies with POJO classes, JPA entities, and service methods. Use when modernizing AS/400 or IBM i legacy systems, analyzing RPG source files (.rpg, .rpgle, .RPGLE), converting RPG to Java, mapping data specifications to Java classes, planning legacy system migration, or when user mentions RPG analysis, Report Program Generator, RPG III/IV/ILE, AS/400 modernization, IBM i migration, packed decimal conversion, or mainframe application rewrite.
brand-library-architect
IncludedBuild a complete brand library for a product — visual asset render pipeline, brand documentation set (BRAND, COPY, MANIFESTO, BIOS, FAQ, GLOSSARY, TONE, PRICING), open-source convention files (README, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT), and a self-contained press kit. This skill should be used when the user asks to "build a brand library / brand kit / press kit / brand assets" for a product, "set up a brand library workflow," "create a positioning manifesto plus visual identity," or any combination of brand documentation + visual asset pipeline. Apply phase-by-phase or run end-to-end. Templates are product-agnostic and use {{TOKEN}} placeholders the skill prompts the user to fill.
writing-tech-post
IncludedAuthors engineering blog posts end-to-end: launch deep-dives, incident postmortems, architecture migrations, performance case studies, tutorials, AI/agent system writeups, security disclosures, and research-to-product translations. Picks the correct archetype, plans the abstraction ladder, enforces an evidence cadence (diagrams, benchmarks, profiles, traces, code, ablations), tunes voice against publisher house styles (Datadog, Vercel, GitHub, AWS, Meta, Cloudflare, Jane Street), and runs a pre-publish gate for narrative momentum and disclosure ethics. Use when drafting a new engineering post, restructuring a draft that feels flat, deciding which evidence form belongs where, validating that depth and product context are balanced, or preparing a postmortem, migration, or performance narrative for external publication. Do not use for API reference documentation, README authoring, marketing copy, release notes, generic SEO content, ghost-written executive thought leadership, or non-engineering long-form essays.
blog-google
IncludedGoogle API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity analysis for E-E-A-T, YouTube video search for embedding, and Google Ads Keyword Planner. Progressive feature availability based on credential tier (API key, OAuth/service account, GA4, Ads). Shares config with claude-seo at ~/.config/claude-seo/google-api.json. Use when user says "google data", "page speed", "core web vitals", "search console", "indexation", "GA4", "keyword research", "nlp entities", "blog performance", "youtube search", "google api setup".