From jaganpro-sf-skills-7
Extracts and analyzes Agentforce session traces from Data 360 using Polars and PyArrow Parquet files. Debugs agent conversations for topic routing, action failures, and latency.
npx claudepluginhub jaganpro/sf-skillsThis skill uses the workspace's default tool permissions.
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.
CREDITS.mdLICENSEREADME.mdassets/analysis/message-timeline.pyassets/analysis/session-summary.pyassets/analysis/step-distribution.pyassets/queries/interactions.sqlassets/queries/messages.sqlassets/queries/sessions.sqlassets/queries/steps.sqlhooks/scripts/suggest-analysis.pyhooks/scripts/validate-extraction.pyreferences/agent-execution-lifecycle.mdreferences/analysis-cookbook.mdreferences/analysis-examples.mdreferences/auth-setup.mdreferences/basic-extraction.mdreferences/billing-and-troubleshooting.mdreferences/builder-trace-api.mdreferences/cli-reference.mdAnalyzes production Agentforce agent behavior using STDM session traces and Data Cloud. Triggers for querying sessions, investigating failures, regressions, performance issues, or reproducing in preview.
Analyzes production Agentforce agent behavior using STDM session traces and Data Cloud queries. Investigates failures, regressions, performance issues, and reproduces problems in preview.
Queries and analyzes JSONL agent event logs to debug behavior, find slow tool calls, trace decisions, and summarize session performance.
Share bugs, ideas, or general feedback.
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 |