Command Palette

Search for a command to run...

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

experience-afv-analytics-query

БесплатноБез исполняемых скриптовНе проверен

System-of-record for the public Lightning Instrumentation Headless Connect REST API route that retrieves Agentforce Vibes (AFV) metrics, analytics, data, and…

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

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

Agentforce Vibes metrics

Use this skill when a user asks to retrieve Agentforce Vibes (AFV) usage or instrumentation metrics for the current Salesforce org.

This skill describes one public, read-only Connect API operation:

  • Get AFV metrics — trigger phrases: "get afv metrics", "agentforce vibes metrics", "afv analytics", "fetch agentforce vibes analytics", "headless afv metrics", "afv data", "agentforce vibes data", "get afv adoption usage data", "Vibes adoption", "token/LOC metrics", "weekly active users", "per-user AFV activity", "current or prior AFV metrics", "AFV model metrics", "AFV metrics by org type", and "filter AFV metrics by record type". Primary route: GET /instrumentation/afv-metrics (operationId: getAFVMetrics).

The route is available at external API version v68.0 or later. Call it at v68.0; do not infer a lower version from the source spec's generic info.version or servers example. v67.0 returns 404 NOT_FOUND. A version above the org's own maximum also returns 404; that is an org limit, not a reason to call a version below v68.0.

Workflow

  1. Call GET /services/data/v68.0/instrumentation/afv-metrics.
  2. Send no path parameters, query parameters, or request body.
  3. Read the returned AFVMetricsOutputRepresentation:
    • success — whether the metrics download succeeded.
    • message — an optional status or failure message.
    • rows — an array of metric maps; each map can contain heterogeneous metric names and values.
  4. If success is false, surface message and the raw response. Do not present the rows as a successful metrics result or retry automatically.
  5. If success is true and rows is empty, report the no-data result and stop. Do not retry, treat it as an API error, or fall back to an internal API.
  6. Branch on each row's recordType before reading class-specific fields. Do not assume that any particular record class is present. Preserve unknown record types and fields instead of dropping them.

Optional result filters

Users can narrow the displayed metrics with optional result filters. These filters control local processing after the complete response is received; they are not Connect API query parameters or get-afv-metrics dispatch inputs.

Filter Accepted value Matching rule
period current (default) or prior Exact match on rows[*].period. Reject another explicit value before calling the API.
orgType All (default) or an org-type value returned by the API Case-insensitive exact match on rows[*].orgType. All is a literal roll-up value, not a wildcard.
recordType One or more record-type names Exact match on rows[*].recordType. Known values include aggregate, dailyTimeSeries, modelMetrics, orgBreakdown, userMetrics, and weeklyActiveUsers, but accept an exact future value when the user supplies it.
modelName All (default) or a model name returned by the API Case-insensitive exact match on rows[*].modelName. All is a literal roll-up value, not a wildcard.
Other returned row field Explicit field name and value supplied by the user Exact match only when that field is present. Do not invent aliases or assume the field exists on every record type.

If the user does not supply period, apply period=current; if the user does not supply orgType, apply orgType=All; if the user does not supply modelName, apply modelName=All. These are default local result filters. An explicit value overrides its corresponding default. A request that compares the current and prior periods explicitly selects both values and therefore overrides the single-period default. Likewise, a request to compare or rank models explicitly selects the concrete model names present in the response instead of the All model roll-up. If the user supplies more than one filter name, combine them with AND. If the user supplies multiple values for the same field, match any of those values. Each default still applies when the user supplies another filter but omits one of these three fields.

Apply filters only after checking HTTP status, success, and the unfiltered rows array:

  1. Capture the requested result filters from the user's prompt and add the defaults period=current, orgType=All, and modelName=All when those fields were omitted and the request does not imply a multi-value comparison.
  2. Call get-afv-metrics once with no arguments and no query string.
  3. If success is false or the complete rows array is empty, follow the normal response handling without filtering.
  4. Otherwise, filter the returned rows in memory and render the matching rows.
  5. Report the filters applied, the total rows returned by the API, and the number of rows matched.

A successful response with rows but zero filter matches, including when a default filter finds no rows, is a successful zero-match view, not an empty API response. Report that th

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

Установить experience-afv-analytics-query в Claude Code и Claude Desktop

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

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

references/references.md

FAQ

Что делает скилл experience-afv-analytics-query?

System-of-record for the public Lightning Instrumentation Headless Connect REST API route that retrieves Agentforce Vibes (AFV) metrics, analytics, data, and adoption/usage insights, including token/LOC, weekly active-user, and per-user activity. Supports local result filtering by period (default current), orgType (default All), recordType, modelName (default All), and other explicitly returned row fields after one parameterless API call.

Как установить скилл experience-afv-analytics-query?

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

Скилл experience-afv-analytics-query запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить experience-afv-analytics-query с