视频下载
videodown
by chenlong1314
Download videos from YouTube and Bilibili with search. Use when users ask to find or download videos. Supports natural language like "find a 3 minute lol video". No API key needed.
安装
claude skill add --url github.com/openclaw/skills/tree/main/skills/chenlong1314/videodown文档
🎬 videodown
Download videos from YouTube and Bilibili with built-in search.
When to Use
✅ USE this skill when:
Download & Search
- "Download this video" + URL
- "Find a [topic] video"
- "Search for [keyword] on YouTube/Bilibili"
- "Get a 3 minute video about [topic]"
- "Download audio from [URL]"
Video Editing & Assets
- "Get video assets for editing"
- "Download video clips for my project"
- "Find background video footage"
- "Download tutorial video for reference"
- "Get video素材 (video assets)"
- "下载剪辑素材"
- "找视频素材"
Content Creation
- "Download video for content creation"
- "Get video for my YouTube channel"
- "Download reference video"
- "找创作素材"
- "下载参考视频"
Audio Extraction
- "Extract audio from video"
- "Convert video to MP3"
- "Get background music from video"
- "提取音频"
- "转 MP3"
Chinese Natural Language
- "下载 lol 视频"
- "找个 3 分钟的视频"
- "提取这个视频的音频"
- "搜索 B 站的教程视频"
- "下载剪辑素材"
- "找视频创作素材"
When NOT to Use
❌ DON'T use this skill when:
- Live streaming → use streaming tools
- Private/restricted videos → may require authentication
- Bulk downloading playlists → use specialized tools
- Commercial use → respect copyright
Quick Start
Install
# From GitHub
git clone https://github.com/chenlong1314/videodown.git
cd videodown && npm install && npm link
# Install dependencies
brew install yt-dlp ffmpeg jq
Basic Usage
# Download video from URL
videodown https://youtube.com/watch?v=xxx
# Search and download
videodown search "lol highlights"
# Search with filters
videodown search "tutorial" --duration medium --platform youtube
Natural Language Examples
Users can say:
- "找个 lol 视频" →
search "lol" - "找个 3 分钟的 lol 视频下载" →
search "lol" --duration short --select 1 - "下载这个" + URL →
download <url> - "找 B 站的 lol 视频" →
search "lol" --platform bilibili - "只要音频" + URL →
<url> --audio-only
Command Reference
Download
videodown <url> # Download video
videodown <url> --quality 1080p # Specify quality
videodown <url> --output ~/Videos/ # Custom output
videodown <url> --audio-only # Extract audio (MP3)
videodown <url> --convert # Convert to H.264 (QuickTime compatible)
Search
videodown search "keyword" # Search both platforms
videodown search "keyword" --platform youtube # YouTube only
videodown search "keyword" --platform bilibili # Bilibili only
videodown search "keyword" --duration short # <4 minutes
videodown search "keyword" --select 1 # Download 1st result
History
videodown history # View download history
videodown history --limit 20 # Show last 20 items
Parameters
--quality:360p,720p,1080p,best(default)--platform:youtube,bilibili,all(default)--duration:short(<4m),medium(4-20m),long(>20m)--output: Any path (default:~/Downloads/videodown)
Common Patterns
Download from URL:
videodown https://www.youtube.com/watch?v=dQw4w9WgXcQ
Find and download:
videodown search "lol highlights" --select 1
Find short videos:
videodown search "tutorial" --duration short
Extract audio:
videodown https://youtube.com/watch?v=xxx --audio-only
Notes
- Download Location:
~/Downloads/videodown(customizable with--output) - History: Last 50 downloads saved to
history.json - Copyright: For personal use only
- Rate limits: Search <10 times/minute
- Bilibili HQ: Requires login cookie for 4K/8K
- Dependencies: yt-dlp, ffmpeg, jq (auto-check on install)
Development
git clone https://github.com/chenlong1314/videodown.git
cd videodown
npm install
npm start -- search "test"
Links
Interaction Strategy
Error Handling (Phase 1)
The skill implements 7 error types with user-friendly messages and quick recovery options:
| Error Type | Code | User Message | Quick Actions |
|---|---|---|---|
| Download Failed | ERR_DOWNLOAD | Video temporarily unavailable | Retry, Search Similar |
| No Search Results | ERR_SEARCH | No videos found for keyword | Retry with different keyword |
| Network Error | ERR_NETWORK | Connection interrupted | Retry (supports resume) |
| Copyright Restricted | ERR_COPYRIGHT | Copyright protected content | Search Similar |
| Invalid URL | ERR_INVALID_URL | URL not recognized | Re-enter URL |
| Unsupported Format | ERR_FORMAT | Format not supported | Choose MP4/MP3 |
| Storage Full | ERR_STORAGE | Insufficient storage | Lower quality, Audio only |
Each error provides:
- Clear explanation of the issue
- Possible causes
- Actionable suggestions
- Quick recovery buttons/commands
Confirmation Mechanism (Phase 2)
Automatic confirmation prompts for:
- Large Files (>500MB): Explicit size warning with estimated time
- Batch Downloads (>5 items): List all items with total size
- Audio Extraction: Format confirmation (MP3 320kbps)
Confirmation messages include:
- Video title, platform, duration
- File size estimate
- Format information
- Quick confirm/cancel options
Progress Display (Phase 3)
- Search Results: Formatted table with thumbnail preview
- Download Progress: Progress bar with speed and ETA
- Completion Notice: File info with quick actions (open folder, extract audio, delete)
Quick Commands (Phase 4)
Available commands in interactive mode:
| Command | Description | Example |
|---|---|---|
/search <keyword> | Search videos | /search lol |
/download <URL> | Download video | /download https://... |
/audio <URL> | Extract audio | /audio https://... |
/history | View history | /history |
/cancel | Cancel current task | /cancel |
/help | Show help | /help |
Credits
相关 Skills
内部沟通
by anthropics
按公司常用模板和语气快速起草内部沟通内容,覆盖 3P 更新、状态报告、领导汇报、项目进展、事故复盘、FAQ 与 newsletter,适合需要统一格式的团队沟通场景。
✎ 按公司偏好的模板快速产出状态汇报、领导更新和 FAQ,既省去反复改稿,也让内部沟通更统一、更专业。
主题工厂
by anthropics
给幻灯片、文档、报告和 HTML 落地页快速套用专业配色与字体主题,内置 10 套预设风格并支持现场生成新主题,适合统一品牌或内容视觉。
✎ 主题工厂能帮你把幻灯片、文档到落地页快速统一视觉风格,内置 10 套主题,还能按需即时生成新主题。
文档共著
by anthropics
围绕文档、提案、技术规格、决策记录等写作任务,按上下文收集、结构迭代、读者测试三步协作共创,减少信息遗漏,写出更清晰、经得起他人阅读的内容。
✎ 写文档、方案或技术规格时容易思路散、信息漏,它用结构化共著流程帮你高效传递上下文、反复打磨内容,还能从读者视角做验证。
相关 MCP 服务
by nirholas
免费的加密新闻聚合 MCP,汇集 Bitcoin、Ethereum、DeFi、Solana 与 altcoins 资讯源。
by ProfessionalWiki
让 Large Language Model 客户端无缝连接任意 MediaWiki 站点,可创建、更新、搜索页面,并通过 OAuth 2.0 安全管理内容。
by transloadit
借助 86+ 个云端 media processing robots,处理视频、音频、图像和文档。