agentforce-architectur…
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows,…
Use to inventory configured Omni-Channel instances across Voice, Email, Chat, SMS, Facebook, WhatsApp, and In-App, including each channel's Queue, Flow, or Other routing target, without changing the org. TRIGGER when: list Omni channels, inventory Omni routing, inspect channel
$ npx -y skills add forcedotcom/sf-skills --skill service-omni-channel-inventory-analyze --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/service-omni-channel-inventory-analyzeContext preview
The summary Claude sees to decide when to auto-load this skill.
Use to inventory configured Omni-Channel instances across Voice, Email, Chat, SMS, Facebook, WhatsApp, and In-App, including each channel's Queue, Flow, or Other routing target, without changing the org. TRIGGER when: list Omni channels, inventory Omni routing, inspect channel
name: service-omni-channel-inventory-analyze
description: "Use to inventory configured Omni-Channel instances across Voice, Email, Chat, SMS, Facebook, WhatsApp, and In-App, including each channel's Queue, Flow, or Other routing target, without changing the org. TRIGGER when: list Omni channels, inventory Omni routing, inspect channel routing targets, analyze Omni-Channel setup, or find configured service channels. Do not use to create, update, activate, or delete channels or routing configuration."
allowed-tools: Bash Read Write Grep Glob
metadata:
version: "1.0"
domains: ["Service"]
minApiVersion: "66.0"
relatedSkills:
- "service-omni-channel-setup-coordinate"
- "service-omni-queue-routing-config-deploy"
- "service-omni-routing-flow-deploy"
- "service-omni-service-channel-configure"
accessCheck:
- type: license
value: ServiceCloud
cliTools:
- tool: ["jq"]
semver: ">=1.6"
- tool: ["python3"]
semver: ">=3.8"
- tool: ["sf"]
semver: ">=2.139.6"Read the org's complete Omni-Channel setup-home inventory without making changes. The supported headless operation combines Voice, Email, Live Chat, and Messaging channel families and returns their derived routing type and routing target. Use this analyzer before changing an unfamiliar org or when a user asks what Omni channels and routing are already configured.
bash scripts/analyze.sh <org-alias> [--type Voice|Email|Chat|SMS|Facebook|WhatsApp|InApp]
Invoke `scripts/analyze.sh` with the target org and optional channel type. The script POSTs the approved `OmniChannelInstancesController.getChannelInstances` envelope to the shared Headless dispatcher, validates the inner response, optionally filters it, and returns a stable summary plus the matching channel instances.
The inventory includes these source fields when the platform supplies them:
| Field | Meaning | |---|---| | `id`, `label` | Channel identity and display label | | `omniChannelInstanceType` | Voice, Email, Chat, SMS, Facebook, WhatsApp, or InApp | | `routingType` | Queue, Flow, or Other | | `routingRequirementId`, `routingRequirementLabel` | Queue, flow, or other routing target | | `channelUrl`, `routingRequirementUrl` | Setup navigation links synthesized by the platform | | `icon`, `messages` | Display metadata and platform-provided notices |
The script emits one JSON object:
An empty `instances` array with `status: analyzed` is a valid inventory result. Authentication, authorization, endpoint, or malformed-response failures return `status: blocked` and exit non-zero; never reinterpret them as an empty org.
| Requested follow-up | Skill | |---|---| | Coordinate a complete Omni setup | `service-omni-channel-setup-coordinate` | | Create or reuse a Service Channel | `service-omni-service-channel-configure` | | Create or update a queue routing configuration | `service-omni-queue-routing-config-deploy` | | Deploy a QueueBased or SkillsBased routing flow | `service-omni-routing-flow-deploy` |
| File | When to read | |---|---| | `references/api-notes.md` | Supported endpoint, permission boundary, response fields, and why the headless operation is canonical |
This repository provides a curated collection of Salesforce agent skills for building applications.
Repo: forcedotcom/afv-library
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows,…
Use this skill to Upgrade Einstein Bots into Agentforce agents end-to-end in a single pass,…
Data Cloud 360° view of a single Agentforce session. TRIGGER when user asks to trace,…
Build, modify, audit, repair, optimize, debug, and deploy agents with Agentforce Agent…
Analyze production Agentforce agent behavior using session traces and Data Cloud, and manage…
Use to design an AI agent persona — identity, voice, tone, behavioral style, guardrails — and…