
When your Agentforce agent misbehaves in production, this pulls the telemetry to figure out why. It extracts Session Tracing Data Model records from Data 360, dumps them to Parquet files, and gives you Polars-based analysis patterns to reconstruct what happened during actual user conversations. You get session timelines, topic routing paths, action failures, and latency breakdowns. It's strictly observability, not testing or building the agent itself. The skill assumes you already have Data 360 and session tracing turned on, plus JWT auth wired up. If you find a root cause here, you hand off to the authoring or testing skills to actually fix it. Think of it as the black box recorder for agent conversations.
$ npx -y skills add jaganpro/sf-skills --skill sf-ai-agentforce-observability --agent claude-codeInstalls into .claude/skills of the current project.
Use this skill when the user needs trace-based observability, not just testing: extract Session Tracing Data Model (STDM) records, work with Parquet datasets, reconstruct session timelines, analyze topic/action latency, or debug agent behavior from Data 360 telemetry.
Use sf-ai-agentforce-observability when the work involves:
.parquet files from Agentforce telemetryDelegate elsewhere when the user is:
Before extraction, verify:
If auth is missing, hand off to:
Deep setup guide:
At minimum, expect work around:
GenAI Trust Layer / audit records may also be relevant for content-quality and generation debugging.
Full schema:
Ask for or infer:
Confirm Data 360 tracing exists and JWT/ECA auth is working.
| Need | Default approach |
|---|---|
| recent telemetry snapshot | extract last N days |
| focused investigation | filtered extraction by date and agent |
| one broken conversation | extract or debug a single session tree |
| ongoing usage analytics | incremental extraction |
Use the provided scripts under scripts/ rather than reimplementing extraction logic.
Common analysis goals:
Typical outcomes:
Common pitfalls:
When finishing, report in this order:
Suggested shape:
Observability task: <extract / analyze / debug-session>
Scope: <org, dates, agents, session ids>
Artifacts: <directories / parquet files>
Findings: <latency, routing, action, quality, abandonment patterns>
Root cause: <best current explanation>
Next step: <testing, agent fix, flow fix, apex fix>
| Need | Delegate to | Reason |
|---|---|---|
| auth / JWT setup | sf-connected-apps | Data 360 access |
| fix agent routing / behavior | sf-ai-agentscript | authoring corrections |
| formal regression / coverage tests | sf-ai-agentforce-testing | reproducible test loops |
| Flow-backed action debugging | sf-flow | declarative repair |
| Apex-backed action debugging | sf-debug or sf-apex | code / log investigation |
| Score | Meaning |
|---|---|
| 90+ | strong telemetry-backed diagnosis |
| 75–89 | useful analysis with minor gaps |
| 60–74 | partial visibility only |
| < 60 | insufficient evidence; gather more telemetry |
Sponsors