Communitygithub.com

ibada0410/CLAUDE-SKILLS

下载 YouTube 视频,支持自定义画质和格式。当用户要求下载、保存或抓取 YouTube 视频时使用此技能。支持多种画质设置(最佳、1080p、720p、480p、360p)、多种格式(mp4、webm、mkv)以及仅下载音频为 MP3。

CLAUDE-SKILLS 是什么?

这是一个用于下载 YouTube 视频的 AI 技能,提供对画质和格式的全面控制。用户可以通过简单的命令行指令,使用 `python scripts/download_video.py` 脚本下载单个视频。支持多种画质选项,包括 best(默认最高画质)、1080p、720p、480p、360p 和 worst(最低画质)。格式方面支持 mp4(默认)、webm 和 mkv 容器格式。此外,还支持使用 `-a` 标志仅下载音频为 MP3 格式。输出目录可自定义,默认保存到 `/mnt/user-data/outputs/`。该技能适用于 Claude Code、Cursor 或 Codex 等 AI 代理平台,底层依赖 `yt-dlp` 工具,能够自动处理安装和流合并,跳过播放列表,适合需要快速获取 YouTube 媒体内容的开发者。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ibada0410/CLAUDE-SKILLS/tree/HEAD/Research-and-Productivity/video-downloader

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

YouTube 视频下载器

下载 YouTube 视频,完全控制画质和格式设置。

快速开始

最简单的下载方式:

python scripts/download_video.py "https://www.youtube.com/watch?v=VIDEO_ID"

这将使用最佳可用画质将视频下载为 MP4 格式,并保存到 /mnt/user-data/outputs/。

选项

画质设置

使用 -q 或 --quality 指定视频画质:

  • best(默认):最高可用画质
  • 1080p:全高清
  • 720p:高清
  • 480p:标清
  • 360p:较低画质
  • worst:最低可用画质

示例:

python scripts/download_video.py "URL" -q 720p

格式选项

使用 -f 或 --format 指定输出格式(仅限视频下载):

  • mp4(默认):最兼容
  • webm:现代格式
  • mkv:Matroska 容器

示例:

python scripts/download_video.py "URL" -f webm

仅音频

使用 -a 或 --audio-only 仅下载音频为 MP3:

python scripts/download_video.py "URL" -a

自定义输出目录

使用 -o 或 --output 指定不同的输出目录:

python scripts/download_video.py "URL" -o /path/to/directory

完整示例

  1. 下载 1080p MP4 视频:
python scripts/download_video.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ" -q 1080p
  1. 仅下载音频为 MP3:
python scripts/download_video.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ" -a
  1. 下载 720p WebM 视频到自定义目录:
python scripts/download_video.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ" -q 720p -f webm -o /custom/path

工作原理

该技能使用 yt-dlp,一个强大的 YouTube 下载工具,它能够:

  • 如果未安装则自动安装自身
  • 下载前获取视频信息
  • 选择符合条件的最佳可用流
  • 在需要时合并视频和音频流
  • 支持多种 YouTube 视频格式

重要说明

  • 下载的文件默认保存到 /mnt/user-data/outputs/
  • 视频文件名会根据视频标题自动生成
  • 脚本会自动处理 yt-dlp 的安装
  • 仅下载单个视频(默认跳过播放列表)
  • 更高画质的视频可能需要更长的下载时间,并占用更多磁盘空间

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

ibada0410/CLAUDE-SKILLS

Automate Klipfolio tasks via Rube MCP (Composio). Always search tools first for current schemas.

ibada0410/CLAUDE-SKILLS

When the user wants to optimize, improve, or increase conversions on any marketing page — including homepage, landing pages, pricing pages, feature pages, or blog posts. Also use when the user says "CRO," "conversion rate optimization," "this page isn't converting," "improve conversions," or "why isn't this page working." For signup/registration flows, see signup-flow-cro. For post-signup activation, see onboarding-cro. For forms outside of signup, see form-cro. For popups/modals, see popup-cro.

ibada0410/CLAUDE-SKILLS

Build and maintain one coherent company story across all audiences — employees, investors, customers, candidates, and partners. Detects narrative contradictions and ensures the same truth is framed for each audience's needs. Use when preparing investor updates, all-hands presentations, board communications, recruiting narratives, crisis communications, or when user mentions company narrative, messaging consistency, storytelling, all-hands, investor update, or crisis communication.

ibada0410/CLAUDE-SKILLS

Generates high-converting landing pages as complete Next.js/React (TSX) components with Tailwind CSS. Creates hero sections, feature grids, pricing tables, FAQ accordions, testimonial blocks, and CTA sections using proven copy frameworks (PAS, AIDA, BAB). Outputs SEO meta tags, structured data, and performance-optimised code targeting Core Web Vitals (LCP < 1s, CLS < 0.1). Use when the user asks to create a landing page, marketing page, homepage, single-page site, lead capture page, campaign page, promo page, or conversion-optimised web page — or when they want to A/B test landing page variants or replace a static page with one designed to convert.

ibada0410/CLAUDE-SKILLS

Use when planning video content strategy, writing video scripts, optimizing YouTube channels, building short-form video pipelines (Reels, TikTok, Shorts), or repurposing long-form content into video. Triggers: 'start a YouTube channel', 'video content strategy', 'write a video script', 'repurpose into video', 'YouTube SEO', 'short-form video'. NOT for written blog content (use content-production). NOT for social captions without video (use social-media-manager).

相关技能