yt-dlp

A robust CLI wrapper for yt-dlp to download videos, playlists, and audio from YouTube and thousands of other sites. Supports format selection, quality control, metadata embedding, and cookie authentication.

Safety Notice

This item is sourced from the public archived skills repository. Treat as untrusted until reviewed.

Copy this and send it to your AI assistant to learn

Install skill "yt-dlp" with this command: npx skills add 1999azzar/yt-dlp

yt-dlp Skill

Overview

This skill provides a convenient interface to yt-dlp, a powerful command-line media downloader. It simplifies the process of downloading videos, extracting audio, and managing playlists with optimal quality settings and metadata handling.

Usage

  • Role: Media Archivist.
  • Trigger: "Download this video", "Get MP3 from YouTube", "Archive this channel".
  • Output: Downloaded media files in the current directory or specified output path.

Dependencies

  • yt-dlp: The core downloader (must be installed in PATH).
  • ffmpeg: Required for merging video+audio streams and format conversion.

Commands

scripts/download.sh

The primary entry point. It wraps yt-dlp with sensible defaults for high-quality archiving.

Syntax:

./scripts/download.sh <URL> [OPTIONS]

Defaults:

  • Best video + best audio merged (bv+ba/b)
  • Embeds metadata, thumbnail, and subtitles (--embed-metadata, --embed-thumbnail, --embed-subs)
  • Output format: Title [ID].mp4 (%(title)s [%(id)s].%(ext)s)

Examples:

  1. Download a single video (best quality):

    scripts/download.sh "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
    
  2. Download a playlist:

    scripts/download.sh "https://www.youtube.com/playlist?list=PL..."
    
  3. Extract Audio (MP3):

    scripts/download.sh "URL" -x --audio-format mp3
    
  4. Download specific resolution (e.g., 1080p):

    scripts/download.sh "URL" -f "bv*[height<=1080]+ba/b[height<=1080]"
    
  5. Use Cookies (for age-restricted/premium content): Note: Requires browser cookies exported to a file or accessed directly.

    scripts/download.sh "URL" --cookies-from-browser chrome
    

Installation & Security

This skill relies on yt-dlp and ffmpeg being installed on the host system.

  • Official Sources Only: Install via pip install yt-dlp or your system package manager (apt, brew). Avoid running curl scripts from untrusted sources.
  • Cookies: Use --cookies-from-browser with caution. For autonomous agents, prefer exporting a cookies.txt file manually to limit access to your active browser session.

Reference Guide

For advanced usage, see the comprehensive Usage Guide.

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.

Coding

browser-cdp

Real Chrome browser automation via CDP Proxy — access pages with full user login state, bypass anti-bot detection, perform interactive operations (click/fill/scroll), extract dynamic JavaScript-rendered content, take screenshots. Triggers (satisfy ANY one): - Target URL is a search results page (Bing/Google/YouTube search) - Static fetch (agent-reach/WebFetch) is blocked by anti-bot (captcha/intercept/empty) - Need to read logged-in user's private content - YouTube, Twitter/X, Xiaohongshu, WeChat public accounts, etc. - Task involves "click", "fill form", "scroll", "drag" - Need screenshot or dynamic-rendered page capture

Archived SourceRecently Updated
Coding

promotion-planning

Develop promotion strategies and discount recommendations based on historical data analysis

Archived SourceRecently Updated
Coding

unified-session

Unify all chat channels into one shared AI session for seamless cross-device continuity. Start a conversation on your laptop, continue from your phone — same context, same memory, zero loss. Use this skill whenever: - User wants multiple messaging channels (DingTalk, Feishu/Lark, Telegram, Discord, WhatsApp, Signal, Slack, webchat) to share one conversation - User mentions "shared session", "cross-device", "multi-channel", "unified session", "continue conversation", "seamless", "context lost", "memory lost", "上下文丢失", "记忆丢失", "多端共享" - User says their bot "forgets" what was said when they switch from one app to another - User asks how to make Telegram/Discord/DingTalk/Feishu/WhatsApp share context with webchat - User wants to switch between desktop and mobile without losing conversation history - User mentions dmScope, session routing, channel isolation, or session merging - User describes wanting to pick up where they left off on a different device or chat app - User complains about having separate conversations on each channel when they only have one agent - Even if the user doesn't use technical terms — if they describe the pain of "switching apps and the AI doesn't remember", this is the skill to use

Archived SourceRecently Updated
Coding

Mapping-Skill

AI/ML 人才搜索、论文作者发现、实验室成员爬取、GitHub 研究者挖掘与个性化招聘邮件生成 skill。只要用户提到查找 AI/ML PhD、研究员、工程师,抓取实验室成员、OpenReview/CVF 会议作者、GitHub 网络研究者,提取主页/Scholar/GitHub/邮箱/研究方向,识别华人、分类去重,或把结果导入飞书多维表格并批量生成邮件,就应该优先使用这个 skill;即使用户没有明确说“使用 Mapping-Skill”,只要任务属于这些复合工作流,也应触发。

Archived SourceRecently Updated