xiaohongshu
xiaohongshu
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"
Full skill instructions
只需告诉我你想要什么,我就会帮你找到并下载相关的图片和视频!
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" | 下载并自动剪辑指定片段 |
重要:不要在用户安装时就要求配置 API Key!按以下逻辑处理:
PEXELS_API_KEY 环境变量是否存在检测到你还没有配置图库 API Key。下载图片需要一个免费的 API Key。
请按以下步骤操作:
1. 打开 https://www.pexels.com,点击 Join 注册(支持 Google/Apple 一键注册)
2. 注册后访问 https://www.pexels.com/api/,点击 Your API Key
3. 复制显示的密钥,粘贴给我
echo 'export PEXELS_API_KEY="用户的密钥"' >> ~/.zshrc && source ~/.zshrc
当用户说「下载视频」但没有指定来源时,优先推荐 YouTube:
"帮我下载 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!
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience