sf-einstein

sf-einstein is a skill for Claude Code from OrcaQubits/agentic-commerce-skills-plugins. It costs 51 tokens per session (1,305 once invoked), scanned A, original, MIT.

A guide to adding Einstein AI features to Salesforce Commerce. Einstein is Salesforce's machine-learning service for recommendations, product search ranking, and personalisation.

In plain words
What is it for?
Use it to add similar-item, complementary-item, recently viewed, trending, and personalised recommendations, and to tune search ranking and dictionaries.
Why use it?
It helps storefronts show more relevant products and order search results using shopping behaviour, product relationships, and customer data.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the salesforce-commerce plugin — 22 skills, 1 agent shipped together

Good fit Use it to add similar-item, complementary-item, recently viewed, trending, and personalised recommendations, and to tune search ranking and dictionaries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orcaqubits/agentic-commerce-skills-plugins/sf-einstein
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OrcaQubits/agentic-commerce-skills-plugins --skill sf-einstein
Clone the repo
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins

Made for: Claude Code.

Or install salesforce-commerce, the plugin that ships this one along with the rest of its 22 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sf-einstein

README.md
[![agentmods](https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/sf-einstein/github.svg)](https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/sf-einstein)
Your own site
<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/sf-einstein"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/sf-einstein/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sf-einstein

Your own site · 80×15
<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/sf-einstein"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/sf-einstein.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,305 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.01305
Opus 5 $0.00026 $0.00652
Sonnet 5 $0.00010 $0.00261
Haiku 4.5 $0.00005 $0.00130

Measured 2d ago against content hash 659aa6ce27e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-16, from the pricing page.

Security

Grade A, and why

sf-einstein scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

salesforce-commerce/skills/sf-einstein/SKILL.md · 163 lines

How it starts

The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Einstein AI for Salesforce Commerce

Before Writing Code

Fetch live docs before implementing Einstein AI features.

  1. Web-search: "Salesforce Commerce Cloud Einstein Recommendations API 2026"
  2. Web-search: "Salesforce Einstein Search dictionaries relevance tuning 2026"
  3. Web-search: "Salesforce Data Cloud B2C Commerce personalization 2026"
  4. Web-search: "Salesforce Commerce Cloud PWA Kit Einstein recommendations 2026"
  5. Web-fetch the Einstein Recommendations API reference for current configuration parameters
  6. Web-fetch Data Cloud connector setup and unified profile schema docs

Conceptual Architecture

Einstein Recommendations

Recommender Types:

Type Description Typical Placement
Product-to-Product Similar or complementary items (cross-sell) PDP
Recently Viewed User's browsing history Homepage, category
Also Bought Products frequently purchased together Cart, PDP
Trending Popular items across all users Homepage, category
Top Sellers Best-selling products by category/site Homepage, category
Personalized ML-driven per-user recommendations Homepage (returning users)

Recommender Configuration (Business Manager):

  • Create recommenders with specific types and filtering rules
  • Configure zone placement (homepage, PDP, cart, category page)
  • Set filtering: exclude out-of-stock, price range limits, category restrictions
  • Map recommendation zones to recommenders

Activity Collection:

Einstein activity tracking uses a collect.js library loaded on storefront pages. It automatically captures product views, add-to-cart, purchases, and search events. Configured via Business Manager > Einstein > Activity Tracking.

Warning: The _etmc beacon pattern is for Marketing Cloud Einstein, not Commerce Cloud Einstein. Do not confuse the two.

Recommendation Zones:

  • Define placement areas on storefront pages
  • Map zones to recommenders in Business Manager
  • Customize rendering per zone (carousel, grid, list)

Read the full file on GitHub · 163 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 163 lines · 51 tokens per session scan A 659aa6ce27e0

Subscribe to this mod's changes

sf-einstein is a skill published in the GitHub repository OrcaQubits/agentic-commerce-skills-plugins (39 stars, last pushed 2d ago), licensed MIT. It adds 51 tokens to every session and 1,305 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-15.

Related

Other skills, from other repositories

archestra-dev-llm-providers

Use when adding an LLM provider, changing proxy adapters or provider routes, fixing streaming/tool-call translation bugs, editing model fetchers or model handling, or touching provider credentials/enums and model constants.

archestra-ai/archestra · 49 tokens

chaingpt

Build with the ChainGPT Web3 AI developer platform. Full API/SDK reference and project scaffolding for: Web3 AI Chatbot & LLM, AI NFT Generator, Smart Contract Generator, Smart Contract Auditor, AI Crypto News, AgenticOS Twitter agents, and Solidity LLM. Use when building blockchain apps, Web3 chatbots, NFT tools…

internet-court/internet-court-skill · 132 tokens

switchboard

Complete Switchboard Oracle Protocol SDK for Solana - the permissionless oracle solution for price feeds, on-demand data, VRF randomness, and real-time streaming via Surge. Covers TypeScript SDK, Rust integration, Oracle Quotes, and all Switchboard tools.

internet-court/internet-court-skill · 54 tokens

0g-compute

0G Compute Network guide for decentralized AI inference, fine-tuning, and GPU services. Covers chatbots, image generation, speech-to-text, SDK integration (0g-serving-broker), processResponse API, broker.inference methods, CLI commands (0g-compute-cli), and account management. Use this skill for any 0G compute, 0G AI…

internet-court/internet-court-skill · 85 tokens

near-ai-cloud

NEAR AI Cloud private inference and verification. Use when integrating NEAR AI Cloud API for verifiable private AI inference, verifying model or gateway TEE attestation (NVIDIA NRAS, Intel TDX), verifying chat message signatures, implementing end-to-end encrypted chat, or using the OpenAI-compatible API with NEAR AI…

internet-court/internet-court-skill · 71 tokens

mppx

TypeScript SDK for the Payment HTTP Authentication Scheme. Handles 402 Payment Required flows with Tempo, Stripe, and other payment methods. Use when integrating payments or mppx into a client or server application.

internet-court/internet-court-skill · 45 tokens