youtube-downloader
关于
This skill enables downloading YouTube videos, extracting audio, and obtaining transcripts using yt-dlp. It's useful for competitor analysis, content repurposing, webinar archiving, and research curation. Developers can integrate it for automated media processing and offline content access.
快速安装
Claude Code
推荐npx skills add guia-matthieu/clawfu-skills -a claude-code/plugin add https://github.com/guia-matthieu/clawfu-skillsgit clone https://github.com/guia-matthieu/clawfu-skills.git ~/.claude/skills/youtube-downloader在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
YouTube Downloader
Download YouTube videos, extract audio, and get transcripts using yt-dlp - the most reliable YouTube extraction tool.
When to Use This Skill
- Competitor research - Download and analyze competitor videos
- Content repurposing - Extract audio for podcasts or transcripts for blogs
- Training material - Archive webinars and tutorials
- Quote extraction - Get transcripts for pulling quotable moments
- Offline access - Save videos for travel or presentations
What Claude Does vs What You Decide
| Claude Does | You Decide |
|---|---|
| Structures production workflow | Final creative direction |
| Suggests technical approaches | Equipment and tool choices |
| Creates templates and checklists | Quality standards |
| Identifies best practices | Brand/voice decisions |
| Generates script outlines | Final script approval |
Dependencies
pip install yt-dlp click
# Optional for transcription:
pip install openai-whisper
Commands
Download Video
python scripts/main.py download "https://youtube.com/watch?v=..." --format mp4
python scripts/main.py download "https://youtube.com/watch?v=..." --quality 1080p
Extract Audio
python scripts/main.py audio "https://youtube.com/watch?v=..." --format mp3
python scripts/main.py audio "https://youtube.com/watch?v=..." --format wav
Get Transcript
python scripts/main.py transcript "https://youtube.com/watch?v=..."
python scripts/main.py transcript "https://youtube.com/watch?v=..." --translate en
Download Playlist
python scripts/main.py playlist "https://youtube.com/playlist?list=..." --limit 10
python scripts/main.py playlist "https://youtube.com/playlist?list=..." --audio-only
Get Metadata
python scripts/main.py info "https://youtube.com/watch?v=..."
python scripts/main.py info "https://youtube.com/watch?v=..." --format json
Examples
Example 1: Research Competitor Content
# Get video metadata
python scripts/main.py info "https://youtube.com/watch?v=ABC123"
# Output:
# Title: How We Grew to $1M ARR
# Channel: SaaS Founder
# Duration: 15:32
# Views: 45,230
# Published: 2024-01-15
# Tags: saas, growth, startup
# Download transcript for analysis
python scripts/main.py transcript "https://youtube.com/watch?v=ABC123"
# Output: how-we-grew-to-1m-arr.txt
Example 2: Create Podcast from Webinar
# Download audio only
python scripts/main.py audio "https://youtube.com/watch?v=WEBINAR" --format mp3 --quality best
# Output: webinar-title.mp3 (ready for podcast editing)
# Get transcript for show notes
python scripts/main.py transcript "https://youtube.com/watch?v=WEBINAR"
# Output: webinar-title.txt
Example 3: Archive Training Playlist
# Download entire playlist
python scripts/main.py playlist "https://youtube.com/playlist?list=TRAINING" \
--output ./training-videos/ \
--limit 20
# Output:
# ./training-videos/
# ├── 01-introduction.mp4
# ├── 02-getting-started.mp4
# └── ...
Quality Options
| Option | Resolution | File Size | Use Case |
|---|---|---|---|
best | Highest available | Largest | Archival |
1080p | 1920x1080 | ~1GB/hour | Standard |
720p | 1280x720 | ~500MB/hour | Balance |
480p | 854x480 | ~250MB/hour | Mobile |
audio | N/A | ~100MB/hour | Podcasts |
Audio Formats
| Format | Quality | Size | Compatibility |
|---|---|---|---|
mp3 | Good | Small | Universal |
m4a | Better | Medium | Apple/Modern |
wav | Lossless | Large | Editing |
opus | Best | Smallest | Modern apps |
Legal Considerations
⚠️ Important: Only download content you have rights to use.
Generally OK:
- Your own videos
- Creative Commons content
- Content for personal research/reference
- Content with explicit download permission
Check First:
- Competitor content (fair use analysis)
- Content for derivative works
- Anything for commercial use
Skill Boundaries
What This Skill Does Well
- Structuring audio production workflows
- Providing technical guidance
- Creating quality checklists
- Suggesting creative approaches
What This Skill Cannot Do
- Replace audio engineering expertise
- Make subjective creative decisions
- Access or edit audio files directly
- Guarantee commercial success
Related Skills
- whisper-transcription - Transcribe downloaded audio
- video-processing - Process downloaded videos
- content-repurposer - Repurpose transcripts
Skill Metadata
- Mode: cyborg
category: automation
subcategory: content-extraction
dependencies: [yt-dlp]
difficulty: beginner
time_saved: 4+ hours/week
GitHub 仓库
相关推荐技能
llamaguard
其他LlamaGuard是Meta推出的7-8B参数内容审核模型,专门用于过滤LLM的输入和输出内容。它能检测六大安全风险类别(暴力/仇恨、性内容、武器、违禁品、自残、犯罪计划),准确率达94-95%。开发者可通过HuggingFace、vLLM或Sagemaker快速部署,并能与NeMo Guardrails集成实现自动化安全防护。
cost-optimization
其他这个Claude Skill帮助开发者优化云成本,通过资源调整、标记策略和预留实例来降低AWS、Azure和GCP的开支。它适用于减少云支出、分析基础设施成本或实施成本治理策略的场景。关键功能包括提供成本可视化、资源规模调整指导和定价模型优化建议。
quantizing-models-bitsandbytes
其他这个Skill使用bitsandbytes库量化大语言模型,能在GPU内存有限时通过8位或4位量化减少50-75%内存占用,同时保持精度损失最小。它支持INT8、NF4、FP4等多种量化格式,可与HuggingFace Transformers无缝集成,适用于需要部署更大模型或加速推理的场景。还提供QLoRA训练和8位优化器支持,让开发者能轻松实现高效模型压缩。
dispatching-parallel-agents
其他该Skill用于并行处理3个以上无依赖关系的独立故障,可为每个问题域分派专属Claude代理同时执行调查修复。它通过并发处理多个独立问题显著提升故障排查效率,特别适用于测试文件、子系统等无共享状态的场景。
