К основному содержанию
скилл CX Codex

service-itsm-swarming-configure — скилл для Claude Code

Скилл включает функцию Swarming в Salesforce ITSM — инструмент совместной работы, который позволяет агентам IT Desk привлекать экспертов для решения инцидентов в реальном времени.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add forcedotcom/sf-skills --skill service-itsm-swarming-configure -a claude-code
Открыть на GitHub

Что делает service-itsm-swarming-configure

Скилл автоматизирует включение функции service-cloud-swarming через Connect API Salesforce и назначает Microsoft Teams в качестве инструмента совместной работы. Выполняет шесть шагов последовательно: проверяет статус функции, включает её, если она отключена, верифицирует изменения, читает текущее значение SWARM_COLLABORATION_TOOL, меняет его на Teams через PATCH-запрос и подтверждает результат.

Работает только с функцией Swarming. Базовая интеграция Microsoft Teams ITSM (ITSMTeamsEnabled) и регистрация приложения в Azure выполняются другим скиллом — service-itsm-teams-configure. Требует MCP-сервер headless-360 версии 1.0.0 или выше и API Salesforce версии 67.0 как минимум.

Какие задачи решает

  • включить функцию Swarming в Salesforce ITSM через Connect API
  • назначить Teams инструментом совместной работы для Swarming
  • проверить статус функции service-cloud-swarming и значение SWARM_COLLABORATION_TOOL
  • автоматизировать настройку совместного решения инцидентов в IT Desk
  • выполнить чеклист-элемент «Set Teams as Collaboration Tool for Swarming» Go-страницы

Примеры запросов агенту

  • Включи Swarming для IT Desk в Salesforce и поставь Teams как инструмент совместной работы
  • Проверь, включена ли функция service-cloud-swarming, и если нет — включи
  • Настрой Swarming в ITSM: активируй функцию и выбери Teams

Как установить service-itsm-swarming-configure

1Через Skills CLI (Vercel)

npx skills add forcedotcom/sf-skills --skill service-itsm-swarming-configure -a claude-code

2Вручную: положить файлы

~/.claude/skills/service-itsm-swarming-configure/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/service-itsm-swarming-configure/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о service-itsm-swarming-configure

Как установить service-itsm-swarming-configure в Claude Code?

Выполни две команды по порядку: npx skills add forcedotcom/sf-skills --skill service-itsm-swarming-configure -a claude-code, затем открой файл ~/.claude/skills/service-itsm-swarming-configure/SKILL.md.

Что делает service-itsm-swarming-configure?

Скилл включает функцию Swarming (service-cloud-swarming) в Salesforce ITSM и назначает Microsoft Teams инструментом совместной работы. Это позволяет агентам IT Desk привлекать экспертов для решения инцидентов в реальном времени.

Что нужно перед включением Swarming?

MCP-сервер headless-360 версии 1.0.0 или выше, Salesforce API 67.0 как минимум и настроенная базовая интеграция Microsoft Teams ITSM — её включает скилл service-itsm-teams-configure.

Исходный текст

SKILL.md · Apache-2.0
---
name: service-itsm-swarming-configure
description: "Enable Swarming for Employee Service (ITSM) in Salesforce — the Salesforce Go feature service-cloud-swarming that lets IT Desk agents pull in subject-matter experts to collaboratively resolve incidents in real time. Use this for: 'turn on swarming', 'enable service-cloud-swarming', 'set up swarming for IT Desk', 'set Teams as collaboration tool for swarming', 'enable collaborative incident resolution', or any request to enable/verify this Salesforce Go feature. DO NOT TRIGGER for the base Microsoft Teams ITSM integration toggle (service-itsm-teams-configure) or for configuring notification-channel preferences."
metadata:
  version: "1.0"
  domains: ["Service"]
  minApiVersion: "67.0"
  relatedSkills:
    - "experience-portal-create"
    - "service-itsm-channels-coordinate"
    - "service-itsm-teams-configure"
  mcpTools:
    headless-360:
      tools: ["describe", "discover", "dispatch", "dispatch_readonly"]
      semver: ">=1.0.0"
  accessCheck: "OrgPreferences.ITSMTeamsEnabled"
allowed-tools: |
  Read AskUserQuestion
  mcp__headless-360__discover
  mcp__headless-360__describe
  mcp__headless-360__dispatch
  mcp__headless-360__dispatch_readonly
---

# Enable Swarming for Employee Service (ITSM)

Enable the Salesforce Go feature **"Swarming"** (`service-cloud-swarming`) — the feature that
helps service reps pull in the right collaborators and subject-matter experts to resolve
incidents in real time. Every operation dispatches through **headless-360**.

> **Execute one step at a time.** These steps make real, state-changing API calls. Run a single
> operation, show its result, confirm it succeeded, then proceed — do not batch multiple setup
> calls into one parallel block.

## Scope

- **In scope**: Enabling the `service-cloud-swarming` Go feature via its feature-enablement
  Connect API; verifying feature state afterward; setting the "Select a Collaboration Tool"
  picklist (the API-level target of the "Set Teams as Collaboration Tool for Swarming" checklist
  item) to `Teams` via the org-values Connect API.
- **Out of scope**: The base Microsoft Teams ITSM Salesforce Go page toggle (`ITSMTeamsEnabled`) and Azure/Entra
  app registration — use `service-itsm-teams-configure` (Swarming requires Teams to already be set
  up as a prerequisite, per the Go page). Notification-channel preferences
  (`Notifications` / `TeamsNotifications`) — a separate concern from this feature. Portal/site
  creation — use `experience-portal-create`.

---

## The problem this skill solves

"Set Teams as Collaboration Tool for Swarming" is one item in the "Set Up Salesforce IT Desk"
checklist on the Teams ITSM Go page (`service-cloud-itsm-teams-integration`'s feature page) — but
it is gated behind a *separate* Go feature, `service-cloud-swarming`, which must be turned on
first. This skill is the dedicated place to turn Swarming on, so `service-itsm-teams-configure`
can delegate to it instead of duplicating feature-enablement logic.

---

## Workflow

### Step 1 — Check current feature status

```text
mcp__headless-360__dispatch(
  method: "POST",
  url:    "/services/data/v67.0/connect/setup/discovery/features/status",
  body:   { "featureApiNames": ["service-cloud-swarming"] }
)
```

Response shape:
```json
{
  "items": [
    {
      "apiName": "service-cloud-swarming",
      "status": "ENABLED",          // or "NOT_ENABLED" / "DISABLED"
      "blockedByApexLock": false,
      "dependencyStatuses": [],
      "enableBlockedReasons": [],
      "disableBlockedReasons": []
    }
  ]
}
```

**Note:** this endpoint is POST-only despite being a status read — a `GET` with `queryParams`
returns `405 METHOD_NOT_ALLOWED "Allowed are POST"`.

If `status` is already `"ENABLED"`, skip to Step 3 (verification) — do not re-enable.
If `enableBlockedReasons` is non-empty, surface those reasons to the user before attempting Step 2.

### Step 2 — Enable the feature

```text
mcp__headless-360__dispatch(
  method: "POST",
  url:    "/services/data/v67.0/connect/setup/discovery/feature/service-cloud-swarming/enable",
  body:   {}
)
```

Verified live: returns `201 {"success":true}` cleanly (unlike the Teams feature-enable, this call
did not exhibit the "500 that still succeeds" gotcha in testing — but re-check status afterward
regardless, since Go feature-enable calls can be flaky in general).

### Step 3 — Verify

```text
mcp__headless-360__dispatch(
  method: "POST",
  url:    "/services/data/v67.0/connect/setup/discovery/features/status",
  body:   { "featureApiNames": ["service-cloud-swarming"] }
)
```

Expect `status: "ENABLED"`.

### Step 4 — Check current collaboration tool value

```text
mcp__headless-360__dispatch_readonly(
  method: "GET",
  url:    "/services/data/v67.0/setup/org/values/SWARM_COLLABORATION_TOOL"
)
```

Response shape — exactly one of the four value fields is populated:
```json
{ "booleanValue": false, "dateValue": null, "numberValue": null, "stringValue": "None" }
```

`stringValue` holds the current picklist selection: `"None"`, `"Slack"`, or `"Teams"`. This is
the same Java enum-gated org-value endpoint family described in `setup-connect-api`'s
`get-org-value`/`update-org-value`/`verify-org-value-update` steps — `valueName` must be the
literal Java enum constant name (`SWARM_COLLABORATION_TOOL`, SCREAMING_SNAKE_CASE), not a
camelCase guess like `SwarmCollaborationTool`.

If already `"Teams"`, skip to Step 6 (report) — do not re-issue the write.

### Step 5 — Set the collaboration tool to Teams

```text
mcp__headless-360__dispatch(
  method: "PATCH",
  url:    "/services/data/v67.0/setup/org/values/SWARM_COLLABORATION_TOOL",
  body:   { "orgValue": "Teams" }
)
```

Verified live: returns `200 { "stringValue": "Teams", ... }`. This is the API-level write behind
the Swarming Go feature page's "Select a Collaboration Tool" dropdown — the same control the
Teams ITSM Go page's "Set Teams as Collaboration Tool for Swarming" checklist item deep-links to
via its "Go to Feature Page" button. Valid `orgValue` strings are `"None"`, `"Slack"`, `"Teams"`.

Re-run Step 4's GET afterward to confirm `stringValue == "Teams"`.

### Step 6 — Report to the user

Report both the `service-cloud-swarming` feature status and the `SWARM_COLLABORATION_TOOL`
value, confirming "Set Teams as Collaboration Tool for Swarming" is now fully automated —
enabling the feature is the prerequisite, and the org-value PATCH is the actual checklist-item
write.

---

## Disabling (if requested)

```text
mcp__headless-360__dispatch(
  method: "POST",
  url:    "/services/data/v67.0/connect/setup/discovery/feature/service-cloud-swarming/disable",
  body:   {}
)
```

Re-run Step 1 afterward to confirm.

To also reset the collaboration tool selection (optional — disabling the feature does not reset
it automatically):
```text
mcp__headless-360__dispatch(
  method: "PATCH",
  url:    "/services/data/v67.0/setup/org/values/SWARM_COLLABORATION_TOOL",
  body:   { "orgValue": "None" }
)
```

---

## Gotchas

| Issue | Detail |
|-------|--------|
| "Set Teams as Collaboration Tool for Swarming" writes via `SWARM_COLLABORATION_TOOL`, not a Teams-side endpoint | This checklist item lives on the **Swarming** Go feature page itself (`/lightning/setup/page/feature/service-cloud-swarming/home`, "Select a Collaboration Tool" dropdown) — the Teams ITSM Go page's checklist item is just a deep link to it via "Go to Feature Page." The write API is `PATCH /services/data/v67.0/setup/org/values/SWARM_COLLABORATION_TOOL` with body `{"orgValue": "Teams"}` — part of `setup-connect-api`'s `get-org-value`/`update-org-value` steps. Verified live: `GET` returned `{"stringValue":"None"}` before, `{"stringValue":"Teams"}` after `PATCH`. |
| `valueName` must be the exact Java enum constant, not camelCase | The `/setup/org/values/{valueName}` endpoint calls `OrgValues.valueOf(valueName)` directly (`Enum.valueOf`), so it requires the literal SCREAMING_SNAKE_CASE constant name declared in `ui.services.utils.OrgValueUtil.OrgValues` — e.g. `SWARM_COLLABORATION_TOOL`. CamelCase guesses like `SwarmCollaborationTool` or `SwarmingCollaborationTool` return `400 ILLEGAL_QUERY_PARAMETER_VALUE "No enum constant ui.services.utils.OrgValueUtil.OrgValues.<guess>"` — that specific error confirms the endpoint/mechanism is right but the casing/name is wrong. The read-only `get-service-itsm-teams-collaboration-app-settings` endpoint (`GET /connect/it-service/collaboration-app-settings/{targetApplication}`) is unrelated to this setting — it's read-only (`POST`/`PATCH`/`PUT` return `405`) and returns empty `settings: []` regardless of feature state. |
| `features/status` is POST-only | A `GET` with `queryParams` on `/connect/setup/discovery/features/status` returns `405 METHOD_NOT_ALLOWED "Allowed are POST"` — always POST a JSON body with `featureApiNames`. |
| `swarming-connect-api` SOR is unrelated | headless-360's `swarming-connect-api` SOR is about **Slack messaging within swarming conversations** (post/patch/delete Slack messages, reactions, file uploads, channel/user search) — it does not configure which collaboration tool (Teams vs. Slack vs. Chatter) swarming uses. Do not confuse it with this skill's scope. |
| Swarming requires Teams first | The Go page frames "Set Teams as Collaboration Tool for Swarming" as a step *within* Teams ITSM setup — enable `service-cloud-itsm-teams-integration` (via `service-itsm-teams-configure`) before or alongside this skill. |
| Version prefix required | headless-360 `dispatch`/`dispatch_readonly` do not resolve API versions — always pass the full `/services/data/vXX.0/...` prefix. |

---

## Related Skills

| Skill | When to use instead / alongside |
|-------|---------------------------------|
| `service-itsm-teams-configure` | Enabling the base Microsoft Teams ITSM integration and Azure/Entra setup — a prerequisite for Swarming; delegates to this skill for the "Set Teams as Collaboration Tool for Swarming" checklist item |
| Notification-channel preferences | Enabling the `Notifications`/`TeamsNotifications` preferences is a distinct concern from this feature (no dedicated child skill exists yet) |
| `service-itsm-channels-coordinate` | Top-level menu across Teams, Slack, Swarming, Notifications, Portal |

© forcedotcom · Apache-2.0 · forcedotcom/sf-skills

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

Все скиллы по теме «Автоматизация и no-code: n8n, Zapier, Make» →
remotion-render официальный Remotion Экспортирует видео и отдельные кадры из проектов Remotion через консольные команды. CX Codex GP ChatGPT 3установок recipe-share-event-materials официальный googleworkspace Скилл находит участников события Google Calendar и выдаёт им доступ читателя к файлу Google Drive. Подходит для раздачи материалов после встречи. CX Codex +1 29 700установок blogwatcher openclaw Скилл учит агента вести список блогов и RSS/Atom-лент через CLI blogwatcher: добавлять источники, сканировать обновления, отмечать прочитанное. CX Codex +1 5 400установок ego-browser citrolabs Скилл подключает Chromium-браузер ego-lite к ИИ-агенту для автоматизации сайтов, тестирования интерфейсов и сбора данных с сохранением авторизованных сессий пользователя. CX Codex +1 12 200установок composio ComposioHQ Скилл выбирает подход Composio для личного агента или продукта с пользовательскими аккаунтами и помогает настроить интеграцию, выполнить задачу или найти причину сбоя. CX Codex +1 8 100установок remote-browser browser-use Управляет изолированным облачным браузером через CLI Browser Use. Пригодится агентам на серверах без локального Chrome для автоматизации веб-задач. CX Codex +1 4 700установок

Из того же набора181

platform-datamask-run Скилл проводит задание Data Mask от настройки политики до отчёта о замаскированных записях. Нужен, когда чистишь PII в Salesforce-песочнице. CX Codex +1 1 400установок platform-custom-metadata-type-generate Генерирует и проверяет типы Custom Metadata в Salesforce, их поля и записи для деплоя между организациями. Помогает избежать типичных ошибок структуры метаданных. CX Codex +1 1 300установок experience-portal-create Создаёт новый портал Experience Cloud в Salesforce через MCP-сервер headless-360: сотрудников, партнёров или клиентов. Пригодится, когда нужен сайт с нуля, а не правка существующего. CX Codex +1 1 300установок platform-trial-org-create Создаёт trial-, developer- или Trialforce-оргу Salesforce через sf CLI от уже авторизованной host-орги. Пригодится, когда нужно поднять тестовую оргу без веб-формы. CX Codex +1 1 300установок service-itsm-teams-employee-agent-configure Скилл настраивает связку Agentforce Employee Agent с Microsoft Teams через API без кликов в интерфейсе. Нужен, когда агент в Teams не отвечает либо сразу покидает чат. CX Codex +1 1 200установок service-itsm-teams-coordinate Ведёт всю настройку Microsoft Teams в Salesforce Service Cloud ITSM за один проход: от включения функции до Swarming и агента Agentforce. CX Codex +1 1 200установок service-itsm-channels-coordinate Интерактивный координатор для запуска настройки каналов связи Employee Service (ITSM) в Salesforce. Помогает выбрать между порталом, Teams и Slack. CX Codex +1 1 200установок service-itsm-teams-itservice-configure Скилл настраивает часть Salesforce IT Service для Microsoft Teams: включает функцию, подсказывает установку приложения и помогает выдать доступ выбранным сотрудникам. CX Codex +1 1 200установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой