agentforce-architectur…
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA…
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
Claude Code
$ npx -y skills add forcedotcom/sf-skills --skill service-omni-channel-inventory-analyze --agent claude-code
Codex
$ npx skills add forcedotcom/sf-skills --skill service-omni-channel-inventory-analyze -a codex -y
Cursor
$ npx skills add forcedotcom/sf-skills --skill service-omni-channel-inventory-analyze -a cursor -y
Gemini CLI
$ npx skills add forcedotcom/sf-skills --skill service-omni-channel-inventory-analyze -a gemini-cli -y
GitHub Copilot
$ npx skills add forcedotcom/sf-skills --skill service-omni-channel-inventory-analyze -a github-copilot -y
OpenCode
$ npx skills add forcedotcom/sf-skills --skill service-omni-channel-inventory-analyze -a opencode -y
Windsurf
$ npx skills add forcedotcom/sf-skills --skill service-omni-channel-inventory-analyze -a windsurf -y
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: "OrgPermissions.LightningService"
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 Salesforce agent skills, plugins, and sample apps for building applications.
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA…
Use this skill to upgrade Einstein Bots into Agentforce agents end-to-end in a single pass, orchestrating per-bot Agent Spec…
Data Cloud 360° view of a single Agentforce session. TRIGGER when user asks to trace, inspect, summarize, or describe a specific…
Build, modify, audit, repair, optimize, debug, and deploy agents with Agentforce Agent Script. TRIGGER when: user creates,…
Analyze production Agentforce agent behavior using session traces and Data Cloud, and manage Agent Health Monitoring (AHM)…
Use to design an AI agent persona — identity, voice, tone, behavioral style, guardrails — and encode it into Agent Script (.agent…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.