Token导航 LogoToken导航

Agent Skill · 研究检索

searching-media(搜索媒体)

searching-media 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

searching-media 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 15,265。

总安装 7,973周安装 339GitHub Stars 212下载 2,793核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:searching-media(搜索媒体)
来源仓库:https://github.com/forcedotcom/afv-library
仓库路径:skills/searching-media
安装命令:
npx skills add https://github.com/forcedotcom/afv-library --skill searching-media
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/forcedotcom/afv-library --skill searching-media

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。支持基于关键词、任务场景或来源线索进行信息检索与筛选。可通过 npx skills add 命令从 GitHub 仓库安装使用。建议确认权限范围和维护状态,注意是否触发联网或文件读写操作。

searching-media 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/searching-media

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/forcedotcom/afv-library --skill searching-medi…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

searching-media 怎么安装?

在终端执行 npx skills add https://github.com/forcedotcom/afv-library --skill searching-media。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

searching-media 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

searching-media 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

searching-media 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

searching-media 用的人多吗?

公开数据是累计安装 7,973 次,近一周安装 339 次,下载 2,793 次,GitHub 212 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

searching-media 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
searching-media

搜索媒体 · 本页

7,973212调用外部服务未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Media Search

Universal routing skill for searching and retrieving existing images and media.

Scope

This skill is for SEARCHING FOR existing media, not CREATING new media.

Use this skill when the user wants to:

  • Search for images in Salesforce CMS, Data Cloud
  • Find existing visual assets to use in their app
  • Retrieve media from connected sources
  • Browse available images for their project
  • Locate specific photos or graphics

DO NOT use this skill when the user wants to:

  • Generate new images with AI (use image generation tools)
  • Create graphics or designs from scratch
  • Edit or modify existing images
  • Build custom visuals or diagrams

Before You Search

CRITICAL: This is a routing skill, not a direct search skill.

When a user requests to find an image:

Your first action MUST use the ask_followup_question tool to present search sources.

  1. Use ask_followup_question to present available search sources as options
  2. Receive the user's selection from the tool response
  3. Then call the appropriate search tool based on their choice

Example of what NOT to do:

  • ❌ Calling ANY tool before the user picks a source (MCP tools, file reads, descriptor checks, etc.)
  • ❌ "Checking which MCP tools are available" — do not probe or discover tools via tool calls
  • ❌ Immediately calling search_electronic_media or search_media_cms_channels
  • ❌ Reading MCP tool descriptors or schemas to see what's available
  • ❌ Deciding which search source to use without asking

Example of what TO do:

  • ✅ Respond with ONLY text — a numbered list of search sources
  • ✅ Ask: "Which option would you like to use?"
  • ✅ Wait for user to reply with their choice
  • ✅ Then (and only then) call the tool they selected

Your first response when this skill triggers MUST be a text-only message presenting search sources. No tool calls. No exceptions.

Workflow Overview

The user MUST choose the search source. You CANNOT skip this step.

Copy this checklist and track your progress:

Media Search Progress:
- [ ] Step 1: Check your own tool list for available search tools (no tool calls — just inspect what's in your context)
- [ ] Step 2: Present only the available options to the user as a numbered list (plain text, no tool calls)
- [ ] Step 3: Wait for the user to reply with their selection
- [ ] Step 4: Execute the selected search method (this is the first tool call)
- [ ] Step 5: Present all results to user for selection
- [ ] Step 6: Apply selected image to code

If you call any tool before step 4, you are not following this skill correctly.

Presenting Search Sources (First Response)

DO NOT call any tool, read any MCP descriptor, or make any external request to determine available tools.

Your tools are already loaded into your context. Look at the tool names you already have access to — this is introspection, not a tool call.

Step 1: Check your own tool list (no tool calls)

Look at the tools already in your context and check for these names:

  • search_media_cms_channels → If present, include "Search using keywords"
  • search_electronic_media → If present, include "Search using Data 360 hybrid search"
  • Always include "Other" as the last option

Step 2: Build your response

Include ONLY the sources whose tools you actually have. Number them sequentially.

I can help you find that image. Where would you like to search?

[NUMBER]. [SEARCH SOURCE NAME] — [Brief description]
...
[NUMBER]. Other — Provide your own URL or path

Which option would you like to use?

Step 3: Stop and wait

After presenting the list, STOP. Do not call any tool. Do not proceed. Wait for the user to reply with their choice.

Examples

Both tools available:

I can help you find that image. Where would you like to search?

1. Search using Data 360 hybrid search — Semantic search across Salesforce CMS and connected DAMs
2. Search using keywords — Search Salesforce CMS by keywords and taxonomies
3. Other — Provide your own URL or path

Which option would you like to use?

Only search_media_cms_channels available:

I can help you find that image. Where would you like to search?

1. Search using keywords — Search Salesforce CMS by keywords and taxonomies
2. Other — Provide your own URL or path

Which option would you like to use?

Only search_electronic_media available:

I can help you find that image. Where would you like to search?

1. Search using Data 360 hybrid search — Semantic search across Salesforce CMS and connected DAMs
2. Other — Provide your own URL or path

Which option would you like to use?

Neither tool available:

No automated media search sources are currently configured. Please provide a direct URL or asset library path.

Wait for the user to select before proceeding.

Executing the Selected Search Method

⚠️ ONLY reach this step if the user has explicitly selected an option from your numbered list.

If you haven't shown options yet, go back to the "Presenting Search Sources" section first.

After the user selects an option, execute the corresponding search method below.

Search using keywords

Tool: search_media_cms_channels

Process:

  1. Analyze the query — Understand what the user is searching for (subject, attributes, domain)
  2. Extract keywords — Concrete nouns that would appear in image metadata

- Use domain-specific synonyms - Maximum 10 terms - Examples: - "luxury apartments" → apartment, villa, penthouse, residence, condo - "company logo" → logo, emblem, corporate logo - "bright room" → *(empty if no concrete nouns)*

  1. Extract taxonomies — Descriptive qualities, styles, moods, categories

- Only adjectives and attributes - Examples: - "luxury apartment with river view" → Luxury, Premium, Waterfront, Riverside, Panoramic - "bright spacious room" → Bright, Spacious, Open, Airy, Light - "car" → *(empty if no descriptive terms)*

  1. Determine locale — Use format en_US, es_MX, fr_FR (default: en_US)
  2. Build the JSON payload — Construct this exact structure:
{
  "inputs": [{
    "searchKeyword": "keyword1 OR keyword2 OR keyword3",
    "taxonomyExpression": "{\"OR\": [\"Taxonomy1\", \"Taxonomy2\"]}",
    "searchLanguage": "en_US",
    "channelIds": "",
    "channelType": "PublicUnauthenticated",
    "contentTypeFqn": "sfdc_cms__image",
    "pageOffset": 0,
    "searchLimit": 5
  }]
}

Field rules:

  • searchKeyword: Join keywords with OR (space-OR-space). Use empty string if no keywords.
  • taxonomyExpression: Stringify JSON object {"OR": ["term1", "term2"]}. Use "{}" if no taxonomies.
  • searchLanguage: Locale with underscore (e.g., en_US)
  • channelIds: Always empty string
  • channelType: Always "PublicUnauthenticated"
  • contentTypeFqn: Always "sfdc_cms__image"
  • pageOffset: Start at 0, increment by searchLimit for pagination
  • searchLimit: Default 5, adjust if user requests more

Examples:

Query: "luxury apartment with river view"

{
  "inputs": [{
    "searchKeyword": "apartment OR villa OR penthouse OR residence",
    "taxonomyExpression": "{\"OR\": [\"Luxury\", \"Premium\", \"Waterfront\", \"Riverside\"]}",
    "searchLanguage": "en_US",
    "channelIds": "",
    "channelType": "PublicUnauthenticated",
    "contentTypeFqn": "sfdc_cms__image",
    "pageOffset": 0,
    "searchLimit": 5
  }]
}

Query: "bright spacious room" (no concrete nouns)

{
  "inputs": [{
    "searchKeyword": "",
    "taxonomyExpression": "{\"OR\": [\"Bright\", \"Spacious\", \"Open\", \"Airy\"]}",
    "searchLanguage": "en_US",
    "channelIds": "",
    "channelType": "PublicUnauthenticated",
    "contentTypeFqn": "sfdc_cms__image",
    "pageOffset": 0,
    "searchLimit": 5
  }]
}

Query: "car images" (no descriptive terms)

{
  "inputs": [{
    "searchKeyword": "car OR automobile OR vehicle OR auto",
    "taxonomyExpression": "{}",
    "searchLanguage": "en_US",
    "channelIds": "",
    "channelType": "PublicUnauthenticated",
    "contentTypeFqn": "sfdc_cms__image",
    "pageOffset": 0,
    "searchLimit": 5
  }]
}
  1. Call the tool with the exact JSON payload

Search using Data 360 hybrid search

Tool: search_electronic_media

Process:

  1. Use the user's query as-is — no keyword extraction or transformation needed
  2. Call search_electronic_media
  3. Pass the query to the tool's searchQuery parameter

Example:

  • User query: "modern luxury apartment with natural lighting"
  • Tool call: search_electronic_media(searchQuery="modern luxury apartment with natural lighting")

Other (User-Provided URL)

Ask the user to provide:

  • Direct URL to the image
  • Asset library path
  • Specific system/location to check

Presenting Search Results

Your action MUST use the ask_followup_question tool to present search results as options.

  1. Parse the tool response — Extract all image results (title and source)
  2. Use ask_followup_question to present ALL results as selectable options. Show the image title only — do not display the URL.
  3. Receive the user's selection from the tool response
  4. Then apply the selected image
I found 4 images. Which one would you like to use?

1. Luxury Apartment Exterior
   Source: Salesforce CMS

2. Modern High-Rise Building
   Source: Salesforce CMS

3. Waterfront Residence
   Source: Salesforce CMS

4. Premium Condominium
   Source: Salesforce CMS

Never auto-select an image. Always wait for user choice.

Applying the Selected Image

After the user chooses:

  1. Confirm the selection with image name and URL
  2. Use the complete URL returned by the tool, including all query parameters. CMS and DAM URLs rely on query parameters for authentication, resizing, and CDN routing — dropping them breaks the image. For example, a URL like https://cms.example.com/media/img.jpg?oid=00D&refid=0EM&v=2 must be used in full.
  3. Apply the URL to the user's code/component
  4. Show what was changed (file path and line number)

Error Handling

ErrorResponse
Tool unavailable"The [source name] tool is unavailable. Would you like to try a different source?"
Tool returns errorShow error message, offer retry with different terms or alternative source
No results found"No results found. Try broader keywords, removing descriptive terms, or a different source."
Invalid user selectionRe-display options and ask again

Never silently fail. Always inform the user and offer alternatives.

Search Behavior Notes

Search using keywords:

  • Both keyword and taxonomy → results match keyword OR (keyword + taxonomy)
  • Empty keyword → search by taxonomy only
  • Empty taxonomy → search by keyword only
  • Use pageOffset for pagination (increment by searchLimit)

Search using Data 360 hybrid search:

  • Handles natural language queries
  • Semantic similarity matching
  • Searches across multiple connected systems

Key Principles

  1. First response is always text-only — Present search sources without calling any tool
  2. Only show configured sources — Check your own tool list (introspection, not tool calls) and only present sources whose tools you have
  3. Wait for user selection — Never auto-select a source or image
  4. Show all results — Let the user choose the best match
  5. Confirm before applying — Verify the selection before modifying code
  6. Handle errors gracefully — Provide clear feedback and alternatives

平台分布

Codex

34.37%
按下载量换算960

Claude

33.12%
按下载量换算925

Cursor

17.17%
按下载量换算480

Gemini CLI

9.73%
按下载量换算272

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills