Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

youtube-media-downloaderYouTube 媒体下载器

Agent Skill

youtube-media-downloader 用于辅助视频、动画、脚本化剪辑和多媒体生成流程,适合在 OpenClaw 中需要整理视频素材、生成脚本或维护合成项目时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

30,552

周安装

1,299

GitHub Stars

2

下载量

10,704
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:youtube-media-downloader(YouTube 媒体下载器)
来源仓库:https://github.com/xanderrey/youtube-media-downloader
安装命令:
openclaw skills install youtube-media-downloader
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install youtube-media-downloader

简介

下载 YouTube 视频为 MP3 音频或 MP4 视频文件。

  • 适用于离线保存音乐、教学片段或素材备份。
  • 自动选择最佳音质与分辨率,支持批量下载。
  • 受版权保护内容请勿用于商业分发,仅限个人使用。
  • 需确保本地存储路径有足够空间。youtube-media-downloader 属于效率类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
youtube-downloader
description
Download audio (MP3) and video (MP4) files from YouTube URLs. Use when users want to convert YouTube videos to files, extract music/songs, download videos for offline viewing, save educational content, or process playlists. Handles single videos, playlists, and batch downloads with quality options.

YouTube Media Downloader

Download high-quality audio and video files from YouTube for offline use, music conversion, and content archiving.

Overview

This skill provides comprehensive YouTube downloading capabilities with quality control, batch processing, and format options. Perfect for music extraction, video archiving, educational content, and playlist processing.

Quick Start

Single Video/Audio

# Download as MP3 (default)
scripts/download_media.sh "https://www.youtube.com/watch?v=VIDEO_ID"

# Download as MP4 video
scripts/download_media.sh -v "https://www.youtube.com/watch?v=VIDEO_ID"

# Custom filename and directory
scripts/download_media.sh -o ~/Downloads "https://www.youtube.com/watch?v=VIDEO_ID" "my_song"

Playlist/Batch Download

# Entire playlist as MP3
scripts/batch_download.sh "https://www.youtube.com/playlist?list=PLAYLIST_ID"

# Playlist items 5-10 as 720p video
scripts/batch_download.sh -v -q 720p -s 5 -e 10 "PLAYLIST_URL"

# From file list of URLs
scripts/batch_download.sh -f urls.txt

Core Capabilities

Audio Extraction

  • Format: High-quality MP3
  • Quality: Best available audio automatically selected
  • Use cases: Music, podcasts, lectures, interviews
  • Command: Default behavior (no flags needed)

Video Download

  • Format: MP4 (maximum compatibility)
  • Quality options: best, 720p, 480p, 360p, worst
  • Use cases: Offline viewing, archiving, educational content
  • Command: Use -v/--video flag

Batch Processing

  • Playlists: Full playlist support with range selection
  • URL files: Process text files with multiple URLs
  • Organization: Auto-numbered for playlists
  • Control: Start/end positions, max downloads

Quality Selection Guide

Audio (MP3)

  • Best quality: Automatic selection from source
  • File size: ~3-10MB per song
  • Compatibility: Universal MP3 support

Video Quality Options

  • best: Highest available (1080p+, large files)
  • 720p: HD quality, balanced size (~50-200MB)
  • 480p: SD quality, mobile-friendly (~20-80MB)
  • 360p: Low quality, minimal size (~10-30MB)

Advanced Usage

Organization Options

# Specific output directory
-o ~/Downloads/Music

# Date-based folders
-o ~/Downloads/$(date +%Y-%m-%d)

Playlist Range Control

# Specific range (items 10-20)
-s 10 -e 20

# From specific item to end
-s 25

# Limit total downloads
-m 50

File Input Processing

Create urls.txt with one URL per line:

https://www.youtube.com/watch?v=video1
https://www.youtube.com/watch?v=video2

Then: batch_download.sh -f urls.txt

Script Reference

download_media.sh

Purpose: Single video/audio downloads Key flags:

  • -a/--audio: MP3 extraction (default)
  • -v/--video: MP4 video download
  • -q/--quality: Quality selection
  • -o/--output: Output directory

batch_download.sh

Purpose: Playlist and bulk downloads Key flags:

  • -s/--start, -e/--end: Range selection
  • -m/--max-downloads: Limit downloads
  • -f/--file: Process URL file
  • All single download flags supported

Best Practices & Patterns

For detailed usage patterns, quality guidelines, and troubleshooting, see download-patterns.md.

Technical Notes

  • Auto-installation: Scripts install yt-dlp and ffmpeg automatically if needed
  • Portable setup: Downloads portable binaries, no system admin required
  • Resume support: Interrupted downloads can be resumed
  • Error handling: Batch processing continues despite individual failures
  • Format preference: Always attempts MP4 for video, MP3 for audio
  • Naming: Auto-generated from video titles unless specified

Legal & Ethical Use

  • Personal use: Download content for your own offline viewing
  • Respect copyrights: Don't redistribute copyrighted material
  • Terms compliance: Follow YouTube's terms of service
  • Fair use: Consider fair use guidelines for educational content

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

90.38%
按下载量换算9,674

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills