/sf-experience:experience-search-coordinatefrom Salesforce — Experience, LWC & Mobile
Searches and retrieves existing content and media (articles, blogs, images, videos, etc.) from Salesforce CMS or connected sources. Routes each request to structured content or media search workflows.
Ships in Salesforce — Experience, LWC & Mobile. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Routes search requests to the correct sub-workflow — structured CMS content or media — and runs both when a request mixes the two.
A → Read pointer below is a required action, not FYI — open that file before continuing past that point; this skill has drifted before from steps followed off memory.
This skill is for SEARCHING FOR existing content or media, not creating new content or images.
Use this skill when the user wants to:
DO NOT use this skill when the user wants to:
experience-cms-content-generate)experience-cms-content-type-generate)experience-cms-brand-apply)Mandatory on every request that reaches it — never skip straight to Step 2. No phrasing of the request ("just find me an article," a plain keyword search, etc.) skips this step's local-file scan. If you're about to call search_metadata in Step 2 without having scanned for uiBundles/*/public/content-metadata.json this turn, STOP and come back here first.
channelId given — use it directly, skip discovery entirely, proceed to the scope rule below.channelId — resolve that uiBundle's channelId; if it doesn't resolve, fall through to point 3 as if nothing was named.uiBundles/*/public/content-metadata.json file (never gate this on server-side deployment status) and collect the channelIds found. Zero → public channels only. Exactly one → public plus that channel. More than one → ask the user which one via ask_followup_question.→ Read references/scope-resolution.md § "Step 1 points 1-3" for the full discovery mechanics before acting on points 1-3 above. Proceed to Step 2 once scope is determined.
Scope rule (applies whether the channelId was user-provided or discovered): scope is always public channels (contentAccessScope: "Public", no channelIds field) plus that one channelId (a separate call with channelIds set to it, no contentAccessScope field) — never resolve a separate ID to represent "public," and never send contentAccessScope and channelIds in the same call. This scope decides how many keyword search calls Steps 3 and 4 make: no channelId in scope → one search call (public channels only). A channelId in scope → two search calls (public channels, then that specific channelId), with results merged before presenting. Data 360 hybrid search ignores channel scope entirely and is always a single call regardless of scope — see Step 3/Step 4 point 3.
Precondition: Step 1 must have already run in this turn (its channel-scope result is what point 5 below carries into Step 3/4). Step 1 runs unconditionally — even for a plain keyword search with no obvious channel angle, not only when the request names a channel or app.
Identify one or more distinct search intents in the request (e.g. "find a press release about our launch and a hero image for the page" is two intents). Run the rest of this step once per intent.
If intents span both routes, sequence the routes — never interleave or merge them: run the Media Route (Step 4) to full completion for every media intent first, then the Content Route (Step 3) for every content intent. See Step 5.
Call search_metadata on the metadata-grounding MCP server using the intent itself as the query. No filters array support — metadataType is the only narrowing parameter, passed top-level:
search_metadata({ query: "<the user's intent>", metadataType: "ContentTypeBundle", limit: 100 })
Each candidate already includes a full composite identifier (e.g. 00Dxx0000000000AAA::0T1xx0000000001AAA::ContentTypeBundle) — use it as returned; never reconstruct it.
Check the outcome before doing anything else:
metadata-grounding is unavailable (the call errors/times out) — you MUST call get_content_types_for_workspace (the workspace content-type fallback) before any Step 3/4 search tool; do not attempt query_metadata, there's nothing to look up, and do not skip straight to a search tool on an assumed FQN.ask_followup_question, same question/options as the "intent itself is ambiguous" case at the end of this step), then retry search_metadata once with the clarified query:
Fallback chain when search_metadata doesn't produce a usable candidate list → Read references/content-type-discovery.md before running it: "Workspace content-type fallback" first, then "Wording fallback" as a last resort.
Call query_metadata with each candidate's identifier from point 2 (cap at top 5, batched into one metadataIdentifiers array):
query_metadata({ metadataIdentifiers: ["00Dxx0000000000AAA::0T1xx0000000001AAA::ContentTypeBundle"] })
Read each entry's typeDetails[].properties — mixins, typeClasses, and apiName live there, not in the search_metadata response.
Filter for supported types first, THEN decide the route among survivors — do not conflate the two:
properties.mixins lacks sfdc_cms:deliveryApiEnabled — only delivery-API-enabled types are searchable.properties.typeClasses lacks sfdc_cms__structured. This is the single "supported for search" gate, not a content/media split — sfdc_cms__structured appears on both structured-content types and media types, so it only separates searchable types from unsearchable ones (e.g. sfdc_cms__email carries sfdc_cms__content but not sfdc_cms__structured, and must be discarded).references/content-type-discovery.md § "Filter-result messages" for exact wording.properties.typeClasses (order returned by search_metadata): contains sfdc_cms__media → Media Route (Step 4); otherwise → Content Route (Step 3).properties.apiName. Add other surviving candidates' FQNs too if clearly relevant to the same intent and sharing the same classification, passing all as one comma-separated contentTypeFqn value rather than searching per type.Carry the scope from Step 1 (public channels only, or public channels plus a channelId) into whichever route is invoked — see the channelIds field in each route below.
If intent itself is ambiguous (e.g. "find me some content" with no hint of type or subject) → Read references/content-type-discovery.md § "Intent itself is ambiguous" for the exact question/options before calling search_metadata. Do not guess.
→ Read references/content-route.md § "Step 3: Content Route" and follow it for each intent Step 2 routed here.
→ Read references/media-route.md § "Step 4: Media Route" and follow it for each intent Step 2 routed here.
When a request mixes media and content intents, run the two routes sequentially, each to full completion, not interleaved and not merged into one combined presentation:
experience-cms-content-render hand-off (Yes/No). Finish this entire route — including the offer — before starting the Content Route.experience-cms-content-render hand-off if a uiBundle channel is in scope.Each route's results are labeled and presented on their own (e.g. "Images:" for the Media Route's output, then "Articles:" for the Content Route's) — never merge the two into one undifferentiated list, and never hold Media Route's results back to present alongside Content Route's.
| Error | Response |
|---|---|
| No content or media search tools (keyword or hybrid) found via introspection | "No content search connection is configured. Please connect a content-readonly MCP server." |
| Neither media tool available | "No automated media search sources are currently configured. Please provide a direct URL or asset library path." |
metadata-grounding unavailable or no content types match | Apply the fallback chain in references/content-type-discovery.md — do not block or ask for an FQN |
| No search results (either route) | "No [content/media] found. Try broader keywords, removing descriptive terms, or a different [content type/source]." |
| Invalid user selection | Re-display options and ask again |
| Tool returns error (invalid input, missing argument, or otherwise) | Show error message, offer retry with corrected parameters on that same tool — never fall through to the other route's search tool as a workaround (see Key Principle 3); hybrid language errors: offer one no-language retry, with the user's OK (see each route's reference) |
| Search tool on the connected server returns a server error (5xx, timeout, connection failure — not "no results") | Fail the call — do NOT silently retry against a different server. Tell the user to check that server's connection/session and wait before retrying. |
Never silently fail on a route the user asked for. If one route in a mixed request comes up empty, still present the other route's results and say so explicitly. This does not mean substituting a different server when the connected one errors — see the server-error row above.
search_metadata + query_metadata decide the route; fall back to get_content_types_for_workspace, then intent wording, only when that comes up empty (Step 2)managedContentChannelDetails.name, in both routesPUBLIC_UNAUTHENTICATED/COMMUNITY entries only; never a WEB_APP (uiBundle) entry's contentUrl, in either routeWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub reej-consulting/reej-sf-skills --plugin sf-experience48 skills in this plugin
/commerce-b2b-open-code-components-integrateIntegrate Salesforce B2B Commerce open source components from GitHub into B2B Commerce stores. Use when users mention "integrate open code components", "open source B2B commerce", "add open code components", "forcedotcom/b2b-commerce-open-source-components", or want to add open source commerce components to their store. Copies all components and labels so they become available in Experience Builder./commerce-b2b-open-code-components-replaceReplace OOTB (out-of-the-box) B2B Commerce components with open source equivalents in site metadata content.json files, or look up the equivalent open code `site:` component for OOTB definitions. Use when users mention "replace OOTB components", "replace commerce components with open code", "swap OOTB for open source", "replace commerce_builder:", "replace OOTB in site", "replace component in site metadata", "replace component definition", "find open code equivalent", "equivalent open code component", "OOTB to open code mapping", "what is the site component for", components "in this view" or "for a given view", or a specific list of component names — and want to update or only discover mappings in their store metadata.3 plugins ship this exact skill · first indexed Nov 24, 2026
Other plugins' skills for the same job