Skills

Agentforce D360 Analyze

Data Cloud 360° view of a single Agentforce session.

Install

npx skills add forcedotcom/sf-skills --skill agentforce-d360-analyze -g -a claude-code -y
Repository
forcedotcom/sf-skills1.1k
Category
Design
Updated
5d ago
License
Apache-2.0
Context cost
Mediumabout 3,000 tokens
Runs scripts
Yes, review before use

What it does

Data Cloud 360° view of a single Agentforce session. TRIGGER when user asks to trace, inspect, summarize, or describe a specific Agentforce session by session id (Agent Session UUID `019d…` or MessagingSession id `0Mw…`). Also triggers on session discovery, find/list/search sessions by time, agent, channel, outcome, or conversation text, when the user has no session id yet. DO NOT TRIGGER for design-time architecture questions (use agentforce-architecture-analyze instead) or for runtime perf/latency/SLO questions that require platform telemetry beyond Data Cloud.

agentforce-d360-analyze, Data Cloud 360° session view

Hierarchical session reconstruction from Data Cloud STDM + GenAI DMOs for one Agentforce session. Three stages, fetch → assemble → render. Typical wall-clock: ~10, 30s for a ~15-turn session.

The pipeline is DC-only: it reads runtime audit rows that Data Cloud has materialized. It is not a runtime-availability tool, see "DC-only blind spot" below for what this skill cannot answer.

If the user hasn't given enough to proceed

When invoked with no session id AND no discovery criteria, print this block verbatim, do not paraphrase, do not pre-run any script. Trigger condition: the input is empty OR contains no session-id shape (neither a UUID nor a 0Mw… messaging id) AND no discovery expression (no time phrase / --agent / --channel / --outcome / --grep / verbs like "find" / "list").

Which session should I pull from Data Cloud, and in which org?

I need:

  • Session id, either an Agent Session UUID (019db7f6-…) or a MessagingSession id (0Mw…, 15/18 chars).
    • No session id?, Tell me what you remember and I'll find it: how recent (e.g. "last 2 hours", "today", a date), which agent, which channel (Messaging / Builder / Voice), how it ended (escalated, user ended, transferred, timed out), or a phrase from the conversation. I'll show matching sessions as a numbered list, you pick one, I pull it.
  • Org alias, for sf CLI auth (the alias you configured with sf org login).

Artifacts land in ~/.vibe/data/agentforce-d360-analyze/<org_id15>/<agent>__<ver>/<session_id>/ (override per-script with --data-dir <path>).

Session id forms, UUID or MessagingSession id

Both forms are accepted on --session:

Read the whole SKILL.md on GitHub

More in Design