sales-call-scoring-configure
Configure, set up, or repair AI Call Scoring (a.k.a. Call Coaching / Coaching Competencies) on an ECI-enabled Salesforce org. Flips ECICallScoringEnabled via…
от forcedotcom★ 1 200 звёзд на GitHub
Установить sales-call-scoring-configure в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Sales Call Scoring — Configure
Configure Call Coaching (a.k.a. AI Call Scoring / Coaching Competencies)
on a Salesforce org. Detects the org's current state, enables dependent
features it is authorized to enable, and flips the ECICallScoringEnabled
org preference via the SOAP Metadata API.
Scope
In scope
- ECI-enabled orgs only. The skill supports orgs on the ECI (Einstein Conversation Insights) arm (spike scope: ECI-only for MVP).
- Detect which of the 4 PRD-scoped org states the org is in.
- Enable Einstein Generative AI Platform if off (PRD-authorized dependency).
- Flip
enableECICallScoringtotruevia SOAP Metadata API v68. - Verify the change took effect.
- Idempotent — clean exit on states 3 and 4 (already enabled).
Out of scope
- River Rush / Momentum detection. Deferred until that arm goes live — see Key Considerations. A Momentum-only org today is not distinguished from any other ECI-off org; it gets the generic "ECI is not enabled" message from Phase 3, not a Momentum-specific one.
- Enabling ECI or Momentum themselves. PRD-explicit out-of-scope; the skill detects and messages the admin to enable ECI via Setup.
- License provisioning. Missing base licenses (Agentforce for Sales, ECI license) require an account-team ticket.
- Competency CRUD. Handled by sibling scripts in this same skill — see "Competency CRUD workflow" below (§S3-§S10) and the "Execution sequence" matrix.
Prerequisites
sfCLI authenticated —sf org login web --alias <org-alias>.- ECI arm licensed and enabled:
ConversationPilotorg permission (Phase 0 purchase gate) andenableCallCoachingpref (Phase 1, theConversationPilotPrefpreference). (River Rush/Momentum is a separate arm covered by the same server-side gate but not checked by this skill yet — see Key Considerations.) - Site gate
com.salesforce.eci.callScoringEnabledopen on the org's pod (RelEng-controlled; not admin-toggleable).
Einstein GenAI Platform is a soft prerequisite — the skill enables it automatically when off.
Clarifying Questions
Ask the admin: target org alias? Sandbox refresh scenario? (The pref has
disableOnSandboxCopy=true, so it must be re-flipped after every refresh —
that's normal, not a failure.)
Admin Communication Guidelines
CRITICAL: This skill serves admin users, not developers. The full 13-rule spec with rationale for each rule lives in references/admin-communication.md — consult it before your first response in this skill. Summary of the load-bearing rules:
- Run all bash commands in background (
run_in_background: true). - Speak admin language, not entity language — "Call Coaching", "Coaching Competency", "active/inactive". Never
EnablementCompetencyDef,enableECICallScoring,EvaluationInstructions,SourceCompetencyTemplatein primary chat text. - Hide technical details — no record Ids, DeveloperNames, Template enum keys, HTTP codes, SOAP responses, curl/jq internals, script paths, or phase numbers. Exception: the S9 verify markdown table (see
references/competency-crud.md§S9). - Chain automatically — when a script prints
Next: <script>, run it in the same turn without asking. Exception: State 3 → rule #13. - Ask OOTB-vs-custom once — on first-time competency setup (State 3, unqualified intent), render
install-ootb-competencies.sh --listand let the admin choose. Only checkpoint in this skill where Claude asks before writing. - Idempotency is silent — if already on/installed, say so briefly and move on.
See references/admin-communication.md for the full 13-rule spec, including error-surfacing, outcome-vs-steps reporting, and the S9 carve-out rationale.
Workflow
Phase 0 — Auth
Resolves org auth via the shared scripts/shared/auth.sh helper
(resolve_org_auth "$ORG_ALIAS"), which every script in this skill sources:
validate the alias format, call sf org display for instanceUrl and
accessToken (falling back to sf org auth show-access-token when the CLI
redacts the token), refuse a non-HTTPS instance URL, and fail closed with an
explicit sf org login web --alias <alias> instruction if the org isn't
reachable or no token can be extracted. If ACCESS_TOKEN/INSTANCE_URL are
already exported for the same alias — e.g. a parent shell already resolved
auth and is chaining multiple of these scripts in one session — resolution
is skipped and the cached values are reused. orgId is not part of this
helper; enable-call-scoring.sh fetches it separately (via its own
sf org display) purely for the status banner.
Phase 0 — ECI purchase gate
Before any state detection, query the ConversationPilot OrgPermission via
Tooling API (OrganizationSettingsDetail, same pattern as the
ECICallScoringAI gate in Phase 3). This is a license/purchase check,
d
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- assets/best-practice-competencies.json
- assets/ootb-competencies.json
- references/admin-communication.md
- references/competency-crud.md
- scripts/create-competency.sh
- scripts/create-custom-competency.sh
- scripts/edit-competency.sh
- scripts/edit-custom-competency.sh
- scripts/enable-call-scoring.sh
- scripts/get-competency.sh
- scripts/get-custom-competency.sh
- scripts/install-best-practice-competencies.sh
- scripts/install-ootb-competencies.sh
- scripts/list-competencies.sh
- scripts/shared/auth.sh
- scripts/shared/cap.sh
- scripts/shared/soap.sh
- scripts/shared/soql.sh
- scripts/toggle-competency.sh
- scripts/toggle-custom-competency.sh
- scripts/verify-ootb-competencies.sh
FAQ
Что делает скилл sales-call-scoring-configure?
Configure, set up, or repair AI Call Scoring (a.k.a. Call Coaching / Coaching Competencies) on an ECI-enabled Salesforce org. Flips ECICallScoringEnabled via SOAP Metadata API, enables Einstein Generative AI Platform if off, and manages Coaching Competency records (EnablementCompetencyDef Tooling API): install the 6 OOTB set, the 7 Momentum best-practice prompts, or conversationally author/edit/activate/deactivate custom competencies (8-active + 16000/255-char caps). TRIGGER when: user wants to turn on AI Call Scoring or Call Coaching, install OOTB or best-practice competencies, create/edit custom competencies, re-enable after sandbox refresh, or verify/repair partial Call Coaching setup on a 68+ ECI org. DO NOT TRIGGER when: no ECI license (direct to Agentforce for Sales), user wants to enable ECI/Momentum themselves (out of scope — Setup), Pipeline Management (use sales-agentforce-pipeline-management-configure), or custom agent (use agentforce-generate).
Как установить скилл sales-call-scoring-configure?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sales-call-scoring-configure запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…