Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

afcc-setup-coordinate

БесплатноЗапускает вложенные скриптыНе проверен

Orchestrates end-to-end headless setup of Agentforce Contact Center (AFCC) on a Salesforce org. Scans the org first, presents a delta plan for approval, then…

forcedotcomот forcedotcom★ 1 200 звёзд на GitHub

Об этом скилле

afcc-setup-coordinate: Agentforce Contact Center End-to-End Setup

Orchestrates full headless provisioning of an Agentforce Contact Center org. Scans existing org state before every write, presents a delta plan at the Approve gate, and delegates each configuration step to the appropriate sub-skill. Interactive at key decision points — never assumes country, number type, queue names, or user counts.

Scope

In scope: demo user provisioning (or reusing existing users), Omni-Channel base settings, human queue + routing config + members, presence statuses, permission set assignment (including the Contact Center Admin set the executing user needs), PSTN voice number procurement, PstnVoice MessagingChannel creation wired to the queue, and a Lightning console app that surfaces Omni so the setup can be tested end to end.

Out of scope: Agentforce agent setup, escalation flows, digital channels (WhatsApp/SMS/LINE/Apple/Facebook), Service AI features, supervisor configuration, and org authentication (the target org must already be authenticated before invoking this skill).


Prerequisites

  • Authenticated org — run sf org login web --alias <name> --instance-url <url> before invoking this skill. This skill never runs an interactive login.
  • Salesforce CLI (sf) ≥ 2.0.0 and jq ≥ 1.6 installed.
  • AFCC-entitled org — org must have Agentforce Contact Center and Service Cloud Voice licenses available. Creating agent users also needs a free Service Cloud User feature-license seat; without one, reuse existing users (Step 1).
  • Contact Center Admin permission set — the executing user needs ContactCenterAdminNativeCCaaS (label "Agentforce Contact Center Admin (Salesforce Voice)") before the number and voice channel can be created. Step 4 assigns it. The sibling sets are ContactCenterAgentNativeCCaaS (Rep) and ContactCenterSupervisorNativeCCaaS.
  • Sub-skill assets — the repo copies of service-omni-presence-status-deploy and service-omni-permission-set-assign do not bundle the DX assets their scripts need (they exit with "Assets DX project not found" / "Omni_Agent missing"). This skill does not modify them: it carries the missing files in assets/sub-skill-assets/<sub-skill>/ and overlays them onto a temporary copy of the sub-skill at run time (Step 4).

Stage: INTAKE

Collect three required inputs before any org access. Gather all three in a single AskUserQuestion call:

  1. Org alias — "What is your org alias?"
  2. Voice number type — Toll Free or 10DLC
  3. Country — US or CA

After collecting the alias, verify the org is reachable:

sf org display --target-org <alias> --json

Read result.instanceUrl to confirm success. If this command fails, stop immediately and tell the user to authenticate first — do not attempt an interactive login.

Store all three inputs. Every downstream stage reads them from context — do not re-ask.


Stage: AUDIT

Run the audit script to probe the org and write org_profile.json:

bash scripts/audit_org.sh <alias> org_profile.json

This queries (read-only — no writes):

What SOQL
Active users SELECT Id, Name, Username, Profile.Name FROM User WHERE IsActive=true ORDER BY Name
Service channels SELECT Id, DeveloperName, MasterLabel FROM ServiceChannel
Queues SELECT Id, Name, DeveloperName FROM Group WHERE Type='Queue'
Routing configs SELECT Id, DeveloperName, MasterLabel, RoutingModel FROM QueueRoutingConfig
Presence statuses SELECT Id, DeveloperName, MasterLabel FROM ServicePresenceStatus
Messaging channels SELECT Id, DeveloperName, MasterLabel, MessageType, IsActive FROM MessagingChannel
Channel lines SELECT Id, Code, CodeStatus FROM CommunicationChannelLine (Tooling API)
Permission sets SELECT Id, Name, Label FROM PermissionSet WHERE Name IN ('Omni_Agent','ContactCenterAdminNativeCCaaS','ContactCenterAgentNativeCCaaS','ContactCenterSupervisorNativeCCaaS') plus the PermissionSetAssignment rows for the active users
Console apps SELECT DurableId, DeveloperName, Label, NavType FROM AppDefinition WHERE NavType='Console'

All results are written to org_profile.json. Every downstream step reads from this file — do not re-query what the audit already resolved. The audit also checks the artifacts a freshly licensed AFCC org ships with — service channels sfdc_livemessage and sfdc_phone, the queue Default_Queue_Agentforce_Contact_Center, and the permission sets ContactCenterAdminNativeCCaaS / ContactCenterAgentNativeCCaaS / ContactCenterSupervisorNativeCCaaS — and lists any that are absent under missingDefaults. Absent means someone most likely deleted them, or the org is not fully licensed. Do not silently plan a create for these: show them at APPROVE with ⚠ missing — looks deleted, tell the user they should exist by default and need restoring (re-provision the license or recreate them), and let th

Полный SKILL.md на GitHub

Установить afcc-setup-coordinate в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash(sf org display:*)
Bash(sf data query:*)
Bash(sf api request rest:*)
Bash(sf project deploy start:*)
Bash(sf project retrieve start:*)
Bash(scripts/*)
Bash(./scripts/*)
Bash(bash scripts/*)
Read
Write
AskUserQuestion

Вложенные файлы

assets/console-app/AFCC_Service_Console.app-meta.xmlassets/console-app/Admin.profile-meta.xmlassets/console-app/Standard.profile-meta.xmlassets/gap_report_template.mdassets/org_profile_template.jsonreferences/gotchas.mdscripts/audit_org.sh

FAQ

Что делает скилл afcc-setup-coordinate?

Orchestrates end-to-end headless setup of Agentforce Contact Center (AFCC) on a Salesforce org. Scans the org first, presents a delta plan for approval, then sequentially provisions demo users, Omni-Channel base settings, a human queue with routing config and members, presence statuses, permission sets, a PSTN voice number, and an active PstnVoice MessagingChannel wired to the queue. Interactive at key decision points — never assumes country, number type, queue names, or user counts. TRIGGER: set up AFCC, configure Agentforce Contact Center, stand up voice contact center, AFCC migration setup, provision AFCC org headlessly.

Как установить скилл afcc-setup-coordinate?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл afcc-setup-coordinate запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить afcc-setup-coordinate с