afcc-setup-coordinate
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 andjq≥ 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 areContactCenterAgentNativeCCaaS(Rep) andContactCenterSupervisorNativeCCaaS. - Sub-skill assets — the repo copies of
service-omni-presence-status-deployandservice-omni-permission-set-assigndo 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 inassets/sub-skill-assets/<sub-skill>/and overlays them onto a temporary copy of the sub-skill at run time (Step 4).