skills/yizhiyanhua-ai/media-downloader/SKILL.md
智能媒体下载器。根据用户描述自动搜索和下载图片、视频片段,支持视频自动剪辑。 Smart media downloader. Automatically search and download images/video clips based on user description, with auto-trimming support. 触发方式 Triggers: "下载图片", "找视频", "download media", "download images", "find video", "/media"
npx skillsauth add aiskillstore/marketplace media-downloaderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
只需告诉我你想要什么,我就会帮你找到并下载相关的图片和视频!
Just tell me what you want, and I'll find and download relevant images and videos for you!
| 你说... / You say... | 我会... / I will... | |---------------------|---------------------| | "下载一些可爱的猫咪图片" | 搜索并下载 5 张猫咪图片 | | "Download sunset photos" | Search and download sunset images | | "找一段海浪的视频,15秒左右" | 下载一段 15 秒的海浪视频 | | "Get me a 30-second cooking video" | Download a trimmed cooking clip | | "下载这个 YouTube 视频的 1:30-2:00" | 下载并自动剪辑指定片段 |
在终端运行以下命令检查状态:
python ~/.claude/skills/media-downloader/media_cli.py status
如果显示 yt-dlp 或 ffmpeg 未安装,请运行:
# 安装 Python 依赖
pip install requests yt-dlp
# 安装视频处理工具 (macOS)
brew install ffmpeg
💡 为什么需要 API 密钥?
图片和视频素材来自 Pexels、Pixabay 等专业图库网站。这些网站提供免费的高质量素材,但需要注册账号获取一个"通行证"(API Key)才能使用他们的搜索服务。
好消息是:注册完全免费,而且这些素材可以免费商用!
将获取到的密钥添加到你的终端配置文件中。
macOS / Linux 用户,编辑 ~/.zshrc 或 ~/.bashrc:
# Media Downloader API Keys
export PEXELS_API_KEY="你的Pexels密钥"
export PIXABAY_API_KEY="你的Pixabay密钥"
export UNSPLASH_ACCESS_KEY="你的Unsplash密钥" # 可选
保存后运行 source ~/.zshrc 使配置生效。
python ~/.claude/skills/media-downloader/media_cli.py status
看到绿色 ✅ 就说明配置成功了!
"帮我下载 5 张星空的图片"
"Download 10 coffee shop photos"
"找一些适合做壁纸的风景图"
"下载一段城市夜景的视频,30秒以内"
"Find me a 15-second ocean wave video"
"找一些适合做背景的自然风光视频"
"下载这个视频:https://youtube.com/watch?v=xxx"
"下载这个 YouTube 视频的第 2 分钟到第 3 分钟"
"只下载这个视频的音频"
所有文件默认保存在:
~/.claude/skills/media-downloader/downloads/
A: 请确认已配置 API Key。运行 status 命令检查配置状态。
A: YouTube 下载不需要 API Key,但需要安装 yt-dlp。运行 pip install yt-dlp 安装。
A: 需要安装 ffmpeg。macOS 用户运行 brew install ffmpeg。
A: Pexels、Pixabay、Unsplash 的素材都可以免费商用,无需署名(但署名是一种礼貌)。
供高级用户直接使用命令行:
# 检查配置状态
media_cli.py status
# 下载图片
media_cli.py image "关键词" -n 数量 -o 输出目录
# 下载视频素材
media_cli.py video "关键词" -d 最大时长 -n 数量
# 下载 YouTube 视频
media_cli.py youtube "URL" --start 开始秒数 --end 结束秒数
# 搜索媒体(不下载)
media_cli.py search "关键词" --type image/video/all
# 剪辑本地视频
media_cli.py trim 输入文件 --start 开始 --end 结束
| 来源 Source | 类型 Type | 特点 Features | |-------------|-----------|---------------| | Pexels | 图片 + 视频 | 高质量,更新快 | | Pixabay | 图片 + 视频 | 数量多,种类全 | | Unsplash | 图片 | 艺术感强,适合壁纸 | | YouTube | 视频 | 内容丰富,支持剪辑 |
🎬 开始使用吧!直接告诉我你想要什么图片或视频!
🎬 Start using! Just tell me what images or videos you want!
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.