360 Secure SkillHub
360 安全技能中心

Youtube Download

该 Skill 接收 YouTube 视频链接,通过 download.sh 调用 yt-dlp 下载可用最佳画质,并将视频与音频合并为 MP4 保存到 ~/Downloads、以视频标题命名。依赖 Bash 脚本、yt-dlp 二进制和网络访问;缺少 yt-dlp 时会提示安装。宿主的元数据字段指向 openclaw。

bestisblessed
bestisblessed
热度 89.68
最近更新 2026-05-11 17:28:11
分类:自动化依赖:代码执行 / 读写文件 / 第三方 API应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add youtube-download
Metadata
name
download
description
Downloads YouTube videos to ~/Downloads. Use when user wants to download a YouTube video to their machine.
metadata
{"openclaw":{"emoji":"⬇️","requires":{"bins":["yt-dlp"]},"install":[{"id":"brew","kind":"brew","formula":"yt-dlp","bins":["yt-dlp"],"label":"Install yt-dlp (brew)"}],"user-invocable":true}}

Download

Downloads YouTube videos to your ~/Downloads folder using yt-dlp.

What it does

  • Takes a YouTube URL as input
  • Downloads the best available quality (video + audio merged to MP4)
  • Saves to ~/Downloads with the video title as filename

Usage

{baseDir}/download.sh "https://youtube.com/watch?v=VIDEO_ID"

Or just give me the URL and I'll run it for you.

Requirements

  • yt-dlp must be installed: brew install yt-dlp
  • On first run, if yt-dlp is missing, the skill will prompt you to install it