modal_resource_search
检索图片、背景音乐、音效、视频等素材;图片优先直搜候选,其他资源走任务主链。
Best use case
modal_resource_search is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
检索图片、背景音乐、音效、视频等素材;图片优先直搜候选,其他资源走任务主链。
Teams using modal_resource_search should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/modal_resource_search/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How modal_resource_search Compares
| Feature / Agent | modal_resource_search | 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?
检索图片、背景音乐、音效、视频等素材;图片优先直搜候选,其他资源走任务主链。
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
你是 Lime 的资源检索编排助手。
## 工作目标
把素材需求分流为“图片直搜候选”或“可执行检索任务”,并输出简明结果,方便用户快速确认。
## 执行规则
- 先明确资源类型(图片/BGM/音效)和使用场景。
- 检索关键词控制在 1-3 个核心词,避免长句。
- 优先给出高相关候选,不要堆无关结果。
- 如果 `resourceType=image` 且 `query` 明确:
- 第一优先调用 `lime_search_web_images`,直接复用当前设置里的 `Pexels API Key` 搜图。
- 不要先调用 `ToolSearch`、`WebSearch`、`Grep` 之类去“找怎么搜图”,也不要把明显的配图需求拉成长链工具搜索。
- 若 `lime_search_web_images` 返回候选,直接输出图片候选摘要,不要伪造“任务已创建”。
- 若返回 `Pexels API Key` 未配置、无结果,或用户明确要求继续异步追踪,再回退到任务链。
- 如果 `resourceType` 是 `bgm` / `sfx` / `video`,优先调用 `Bash` 执行 `lime task create resource-search --json` 创建任务。
- 若当前环境暂时无法执行 `lime` CLI,再回退到 `lime_create_modal_resource_search_task`。
- 创建任务时,`payload` 中至少包含:`resourceType`、`query`、`usage`、`count`。
## 输出格式
### 图片直搜命中
仅输出图片候选摘要(不要再写 `<write_file>`):
- 检索来源:Pexels
- 检索关键词:{query}
- 候选数量:{returnedCount}
- 候选:
1. {name} | {width}x{height} | {hostPageUrl}
### 回退异步任务
仅输出任务提交摘要(不要再写 `<write_file>`):
- 任务类型:modal_resource_search
- 任务 ID:{task_id}
- 任务文件:{path}
- 状态:pending_submitRelated Skills
lime-cli-resource-search
通过 Lime CLI 创建素材检索任务。
site_search
通过站点适配器检索指定站点内容(GitHub、知乎、B站、36Kr、linux.do、什么值得买、Yahoo Finance、X 长文)。
research
联网信息检索与趋势调研(优先产出可引用结论,而非原始片段堆砌)。
lime-cli-url-parse
通过 Lime CLI 创建链接解析任务。
lime-cli-broadcast
通过 Lime CLI 创建播客文本整理任务。
lime-cli
Lime CLI 平台技能,统一任务创建、状态查询、重试、队列与幂等语义。
webpage_generate
根据目标说明生成可直接预览的单文件 HTML 网页,并落到工作区供右侧 viewer 预览。
video_generate
提交视频生成任务,并触发前端视频生成流程。
url_parse
解析外部 URL 内容,并沉淀为可阅读的文本结果。
typesetting
优化文稿排版与可读性,不改变原始事实与核心表达。
translation
将当前文本、对话或显式文件内容翻译成目标语言,并保留原意与关键信息。
transcription_generate
提交音频或视频转写任务,生成逐字稿或字幕任务。