media-downloader
智能媒体下载器。根据用户描述自动搜索和下载图片、视频片段,支持视频自动剪辑。 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"
Best use case
media-downloader is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. 智能媒体下载器。根据用户描述自动搜索和下载图片、视频片段,支持视频自动剪辑。 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"
智能媒体下载器。根据用户描述自动搜索和下载图片、视频片段,支持视频自动剪辑。 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"
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "media-downloader" skill to help with this workflow task. Context: 智能媒体下载器。根据用户描述自动搜索和下载图片、视频片段,支持视频自动剪辑。 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"
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/media-downloader/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How media-downloader Compares
| Feature / Agent | media-downloader | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
智能媒体下载器。根据用户描述自动搜索和下载图片、视频片段,支持视频自动剪辑。 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"
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 🎬 Media Downloader / 智能媒体下载器 只需告诉我你想要什么,我就会帮你找到并下载相关的图片和视频! Just tell me what you want, and I'll find and download relevant images and videos for you! --- ## 🚀 我能帮你做什么?/ What Can I Do? | 你说... / 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" | 下载并自动剪辑指定片段 | --- ## ✨ 功能特点 / Features - 🖼️ **图片下载** - 从专业图库搜索高清图片 - 🎬 **视频素材** - 获取免费商用视频片段 - 📺 **YouTube 下载** - 支持下载和剪辑 - ✂️ **智能剪辑** - 自动裁剪到你需要的长度 - 🌍 **中英双语** - 支持中文和英文指令 --- ## 📋 首次使用设置 / First-Time Setup ### 第一步:检查基础工具 / Step 1: Check Basic Tools 在终端运行以下命令检查状态: ```bash python ~/.claude/skills/media-downloader/media_cli.py status ``` 如果显示 yt-dlp 或 ffmpeg 未安装,请运行: ```bash # 安装 Python 依赖 pip install requests yt-dlp # 安装视频处理工具 (macOS) brew install ffmpeg ``` ### 第二步:获取免费 API 密钥 / Step 2: Get Free API Keys > 💡 **为什么需要 API 密钥?** > > 图片和视频素材来自 Pexels、Pixabay 等专业图库网站。这些网站提供免费的高质量素材,但需要注册账号获取一个"通行证"(API Key)才能使用他们的搜索服务。 > > **好消息是**:注册完全免费,而且这些素材可以免费商用! #### 🟠 获取 Pexels API Key(推荐,最简单) 1. 打开 https://www.pexels.com 2. 点击右上角 **Join** 注册账号(可用 Google/Apple 账号快速注册) 3. 注册后,访问 https://www.pexels.com/api/ 4. 点击 **Your API Key** 按钮 5. 填写简单信息后,复制显示的 API Key #### 🟢 获取 Pixabay API Key 1. 打开 https://pixabay.com 2. 点击右上角 **Join** 注册账号 3. 注册后,访问 https://pixabay.com/api/docs/ 4. 页面中会显示你的 API Key(绿色框内) #### 🔵 获取 Unsplash API Key(可选) 1. 打开 https://unsplash.com/developers 2. 点击 **Register as a developer** 3. 创建一个 Application 4. 在应用详情页找到 **Access Key** ### 第三步:保存 API 密钥 / Step 3: Save Your Keys 将获取到的密钥添加到你的终端配置文件中。 **macOS / Linux 用户**,编辑 `~/.zshrc` 或 `~/.bashrc`: ```bash # Media Downloader API Keys export PEXELS_API_KEY="你的Pexels密钥" export PIXABAY_API_KEY="你的Pixabay密钥" export UNSPLASH_ACCESS_KEY="你的Unsplash密钥" # 可选 ``` 保存后运行 `source ~/.zshrc` 使配置生效。 ### 第四步:验证设置 / Step 4: Verify Setup ```bash python ~/.claude/skills/media-downloader/media_cli.py status ``` 看到绿色 ✅ 就说明配置成功了! --- ## 💬 使用示例 / Examples ### 下载图片 / Download Images ``` "帮我下载 5 张星空的图片" "Download 10 coffee shop photos" "找一些适合做壁纸的风景图" ``` ### 下载视频素材 / Download Video Clips ``` "下载一段城市夜景的视频,30秒以内" "Find me a 15-second ocean wave video" "找一些适合做背景的自然风光视频" ``` ### YouTube 下载与剪辑 / YouTube Download & Trim ``` "下载这个视频:https://youtube.com/watch?v=xxx" "下载这个 YouTube 视频的第 2 分钟到第 3 分钟" "只下载这个视频的音频" ``` --- ## 📁 下载位置 / Download Location 所有文件默认保存在: ``` ~/.claude/skills/media-downloader/downloads/ ``` --- ## ❓ 常见问题 / FAQ ### Q: 为什么搜索图片没有结果? A: 请确认已配置 API Key。运行 `status` 命令检查配置状态。 ### Q: YouTube 视频下载失败? A: YouTube 下载不需要 API Key,但需要安装 yt-dlp。运行 `pip install yt-dlp` 安装。 ### Q: 视频剪辑功能不工作? A: 需要安装 ffmpeg。macOS 用户运行 `brew install ffmpeg`。 ### Q: 这些图片/视频可以商用吗? A: Pexels、Pixabay、Unsplash 的素材都可以免费商用,无需署名(但署名是一种礼貌)。 --- ## 🛠️ CLI 命令参考 / CLI Reference 供高级用户直接使用命令行: ```bash # 检查配置状态 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 结束 ``` --- ## 📦 支持的素材来源 / Supported Sources | 来源 Source | 类型 Type | 特点 Features | |-------------|-----------|---------------| | Pexels | 图片 + 视频 | 高质量,更新快 | | Pixabay | 图片 + 视频 | 数量多,种类全 | | Unsplash | 图片 | 艺术感强,适合壁纸 | | YouTube | 视频 | 内容丰富,支持剪辑 | --- 🎬 **开始使用吧!直接告诉我你想要什么图片或视频!** 🎬 **Start using! Just tell me what images or videos you want!**
Related Skills
youtube-downloader
Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.
social-media-analyzer
Analyzes social media campaign performance across platforms with engagement metrics, ROI calculations, and audience insights for data-driven marketing decisions
ai-social-media-content
Create AI-powered social media content for TikTok, Instagram, YouTube, Twitter/X. Generate: images, videos, reels, shorts, thumbnails, captions, hashtags. Tools: FLUX, Veo, Seedance, Wan, Kokoro TTS, Claude for copywriting. Use for: content creators, social media managers, influencers, brands. Triggers: social media content, tiktok, instagram reels, youtube shorts, twitter post, content creator, ai influencer, social content, reels, shorts, viral content, thumbnail generator, caption generator, hashtag generator, ugc content
video-downloader
Downloads videos from YouTube and other platforms for offline viewing, editing, or archival. Handles various formats and quality options.
azure-quotas
Check/manage Azure quotas and usage across providers. For deployment planning, capacity validation, region selection. WHEN: "check quotas", "service limits", "current usage", "request quota increase", "quota exceeded", "validate capacity", "regional availability", "provisioning limits", "vCPU limit", "how many vCPUs available in my subscription".
raindrop-io
Manage Raindrop.io bookmarks with AI assistance. Save and organize bookmarks, search your collection, manage reading lists, and organize research materials. Use when working with bookmarks, web research, reading lists, or when user mentions Raindrop.io.
zlibrary-to-notebooklm
自动从 Z-Library 下载书籍并上传到 Google NotebookLM。支持 PDF/EPUB 格式,自动转换,一键创建知识库。
discover-skills
当你发现当前可用的技能都不够合适(或用户明确要求你寻找技能)时使用。本技能会基于任务目标和约束,给出一份精简的候选技能清单,帮助你选出最适配当前任务的技能。
web-performance-seo
Fix PageSpeed Insights/Lighthouse accessibility "!" errors caused by contrast audit failures (CSS filters, OKLCH/OKLAB, low opacity, gradient text, image backgrounds). Use for accessibility-driven SEO/performance debugging and remediation.
project-to-obsidian
将代码项目转换为 Obsidian 知识库。当用户提到 obsidian、项目文档、知识库、分析项目、转换项目 时激活。 【激活后必须执行】: 1. 先完整阅读本 SKILL.md 文件 2. 理解 AI 写入规则(默认到 00_Inbox/AI/、追加式、统一 Schema) 3. 执行 STEP 0: 使用 AskUserQuestion 询问用户确认 4. 用户确认后才开始 STEP 1 项目扫描 5. 严格按 STEP 0 → 1 → 2 → 3 → 4 顺序执行 【禁止行为】: - 禁止不读 SKILL.md 就开始分析项目 - 禁止跳过 STEP 0 用户确认 - 禁止直接在 30_Resources 创建(先到 00_Inbox/AI/) - 禁止自作主张决定输出位置
obsidian-helper
Obsidian 智能笔记助手。当用户提到 obsidian、日记、笔记、知识库、capture、review 时激活。 【激活后必须执行】: 1. 先完整阅读本 SKILL.md 文件 2. 理解 AI 写入三条硬规矩(00_Inbox/AI/、追加式、白名单字段) 3. 按 STEP 0 → STEP 1 → ... 顺序执行 4. 不要跳过任何步骤,不要自作主张 【禁止行为】: - 禁止不读 SKILL.md 就开始工作 - 禁止跳过用户确认步骤 - 禁止在非 00_Inbox/AI/ 位置创建新笔记(除非用户明确指定)
internationalizing-websites
Adds multi-language support to Next.js websites with proper SEO configuration including hreflang tags, localized sitemaps, and language-specific content. Use when adding new languages, setting up i18n, optimizing for international SEO, or when user mentions localization, translation, multi-language, or specific languages like Japanese, Korean, Chinese.