Yt dlp

From dvcrn/openclaw-skills-marketplace · View interactive version

Yt dlp is an AI agent skill from the GitHub repository dvcrn/openclaw-skills-marketplace. 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.

How to use this skill

Skill file

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

Dependencies

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:

Examples:

  1. Download a single video (best quality):

```bash

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

```

  1. Download a playlist:

```bash

scripts/download.sh "https://www.youtube.com/playlist?list=PL..."

```

  1. Extract Audio (MP3):

```bash

scripts/download.sh "URL" -x --audio-format mp3

```

  1. Download specific resolution (e.g., 1080p):

```bash

scripts/download.sh "URL" -f "bv*[height<=1080]+ba/b[height<=1080]"

```

  1. Use Cookies (for age-restricted/premium content):

Note: Requires browser cookies exported to a file or accessed directly.

```bash

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

```

Installation & Security

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

Reference Guide

For advanced usage, see the comprehensive Usage Guide.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.