einstein-discovery-setup

einstein-discovery-setup is a skill for Claude Code, Codex from BanibrataChatterjee/AwesomeSalesforceSkills. It costs 126 tokens per session (3,692 once invoked), scanned A, original, Apache-2.0.

A guide for Salesforce administrators who configure Einstein Discovery stories and prediction settings in CRM Analytics Studio. Einstein Discovery uses Salesforce data to find patterns and make predictions.

In plain words
What is it for?
Creating discovery stories, configuring prediction definitions, deploying writeback fields, enabling what-if analysis, and managing model refresh and activation.
Why use it?
It explains the required setup steps and prerequisites, helping avoid confusion between CRM Analytics, other Salesforce prediction tools, and developer-based integrations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating discovery stories, configuring prediction definitions, deploying writeback fields, enabling what-if analysis, and managing model refresh and activation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/banibratachatterjee/awesomesalesforceskills/einstein-discovery-setup
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 BanibrataChatterjee/AwesomeSalesforceSkills --skill einstein-discovery-setup
Clone the repo
git clone --depth 1 https://github.com/BanibrataChatterjee/AwesomeSalesforceSkills

Made for: Claude Code, Codex.

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 einstein-discovery-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/banibratachatterjee/awesomesalesforceskills/einstein-discovery-setup/github.svg)](https://agentmods.dev/skills/banibratachatterjee/awesomesalesforceskills/einstein-discovery-setup)
Your own site
<a href="https://agentmods.dev/skills/banibratachatterjee/awesomesalesforceskills/einstein-discovery-setup"><img src="https://agentmods.dev/badge/skills/banibratachatterjee/awesomesalesforceskills/einstein-discovery-setup/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 einstein-discovery-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/banibratachatterjee/awesomesalesforceskills/einstein-discovery-setup"><img src="https://agentmods.dev/badge/skills/banibratachatterjee/awesomesalesforceskills/einstein-discovery-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,692 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.00126 $0.03692
Opus 5 $0.00063 $0.01846
Sonnet 5 $0.00025 $0.00738
Haiku 4.5 $0.00013 $0.00369

Measured 9d ago against content hash 88d2ef4e853d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

einstein-discovery-setup 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check_einstein_discovery_setup.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/admin/einstein-discovery-setup/SKILL.md · 221 lines

How it starts

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

Einstein Discovery Setup

Use this skill when an admin needs to configure Einstein Discovery through the CRM Analytics Studio wizard interface — creating stories, deploying prediction definitions, setting up writeback fields on Salesforce objects, enabling what-if analysis for recommendations, and managing model refresh and activation. This skill covers the point-and-click admin path only. For the developer API path (programmatic scoring, bulk predict jobs, REST endpoint integration), use the einstein-discovery-development skill instead.


Before Starting

Gather this context before working on anything in this domain:

  • CRM Analytics license: Einstein Discovery requires a CRM Analytics (formerly Tableau CRM) license. It is not available in orgs without this license. Confirm provisioning in Setup > Company Information > Licenses before starting. This is a distinct license from Einstein Prediction Builder, which does not require CRM Analytics.
  • Admin surface: Story creation happens in CRM Analytics Studio, not in the main Setup menu. Navigate to App Launcher > Analytics Studio > Create > Story. Admins who look in Setup > Einstein > Einstein Discovery will not find the story wizard there.
  • Writeback field limits: Einstein Discovery supports a maximum of three writeback fields per Salesforce entity (object). If the org already has three writeback fields on the target object, a new one cannot be created without removing an existing one.
  • Model activation is not automatic: After a model refresh job completes, the new model version is NOT automatically activated. Scoring continues against the prior model version indefinitely until an admin explicitly activates the new version on the prediction definition. There is no error or warning in the UI when this happens.

Core Concepts

Story Creation Wizard — Three Steps

Einstein Discovery story creation follows a three-step wizard in CRM Analytics Studio:

  1. Define the outcome variable: Choose whether to maximize, minimize, or predict a binary outcome on the target field. Binary outcome (true/false, won/lost, converted/not) uses classification models. Numeric outcomes (revenue, score) use regression models. This step also selects the target Salesforce object.

Read the full file on GitHub · 221 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 221 lines · 126 tokens per session scan A 88d2ef4e853d

Subscribe to this mod's changes

einstein-discovery-setup is a skill published in the GitHub repository BanibrataChatterjee/AwesomeSalesforceSkills (3 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 126 tokens to every session and 3,692 once invoked, about $0.0006 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-03.

Related

Other skills, from other repositories

analytics-adoption-strategy

Use this skill when driving adoption of CRM Analytics (Einstein Analytics) across an org — the Analytics Adoption App for measuring who uses which dashboards, embedding analytics into Lightning pages, pinning dashboards to the Analytics home page, self-service personas, and analytics success metrics. Triggers…

PranavNagrecha/AwesomeSalesforceSkills · 130 tokens

analytics-data-manager

Use this skill when configuring Data Manager in CRM Analytics: enabling objects for sync, scheduling data sync runs, setting up remote connections to external databases, monitoring sync status and error logs, or troubleshooting connected object issues. Trigger keywords: data sync, connected objects, Data Manager, sync…

PranavNagrecha/AwesomeSalesforceSkills · 117 tokens

analytics-permission-and-sharing

Configure CRM Analytics (formerly Einstein Analytics) app sharing, dataset-level permissions, row-level security predicates, sharing inheritance, and license assignment. Trigger keywords: CRM Analytics security, row-level security predicate, dataset permissions, analytics sharing inheritance, Analytics Plus license.…

PranavNagrecha/AwesomeSalesforceSkills · 88 tokens

analytics-dashboard-design

Use when designing or troubleshooting CRM Analytics dashboards — chart types, bindings, faceting, dashboard interactions, mobile layout, and filters. NOT for standard Salesforce reports and dashboards — use admin/reports-and-dashboards-fundamentals. NOT for hand-editing dashboard JSON or a SAQL step — use…

PranavNagrecha/AwesomeSalesforceSkills · 71 tokens

analytics-dashboard-json

Use this skill when editing CRM Analytics dashboard JSON directly to implement advanced bindings, custom SAQL/SOQL step queries, layout changes, step parameters, or cross-widget interactions. Trigger keywords: dashboard JSON, SAQL step, binding syntax, mustache binding, dashboard REST API, widget layout, step limit…

PranavNagrecha/AwesomeSalesforceSkills · 112 tokens

analytics-dataflow-development

Use this skill when building, debugging, or optimizing CRM Analytics dataflows — defining node types (sfdcDigest, Append, Augment, computeExpression, computeRelative, Flatten, dim2mea, sfdcRegister), scheduling runs, handling run failures, and tuning performance. NOT for doing the same transformation in a Data Prep…

PranavNagrecha/AwesomeSalesforceSkills · 103 tokens