Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/DevOps & CI/CD
jaganpro avatar

Sf Ai Agentforce Observability

jaganpro/sf-skills

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.

installs
1.3K
GitHub stars
424
last updated
Jul 14, 2026
View on GitHubSave

Install

$ npx -y skills add jaganpro/sf-skills --skill sf-ai-agentforce-observability --agent claude-code

Installs into .claude/skills of the current project.

Files

sf-ai-agentforce-observability: Agentforce Session Tracing Extraction & Analysis

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.

When This Skill Owns the Task

Use sf-ai-agentforce-observability when the work involves:

  • Data 360 / Session Tracing extraction
  • .parquet files from Agentforce telemetry
  • session timeline reconstruction
  • trace-driven debugging of topic routing, action failures, or latency
  • Polars / PyArrow-based analysis of large telemetry datasets

Delegate elsewhere when the user is:

  • formally testing agents → sf-ai-agentforce-testing
  • debugging Apex logs → sf-debug
  • authoring or reconfiguring the agent itself → sf-ai-agentforce or sf-ai-agentscript

Prerequisites That Must Exist

Before extraction, verify:

  • Data 360 is enabled
  • Session Tracing is enabled
  • the Salesforce Standard Data Model version is sufficient
  • Einstein / Agentforce capabilities are enabled in the org
  • JWT / ECA auth for Data 360 access is configured

If auth is missing, hand off to:

  • sf-connected-apps

Deep setup guide:

  • references/auth-setup.md

What This Skill Works With

Core storage / analysis model

  • extraction via Data 360 APIs
  • Parquet for storage efficiency
  • Polars for large-scale lazy analysis

Core STDM entities

At minimum, expect work around:

  • session
  • interaction / turn
  • interaction step
  • moment
  • message

GenAI Trust Layer / audit records may also be relevant for content-quality and generation debugging.

Full schema:

  • references/data-model-reference.md

Required Context to Gather First

Ask for or infer:

  • target org alias
  • time window or date range
  • agent filter, if any
  • whether the goal is extraction, summary analysis, or single-session debugging
  • output location for extracted data
  • whether the user already has Parquet files on disk

Recommended Workflow

1. Verify setup and auth

Confirm Data 360 tracing exists and JWT/ECA auth is working.

2. Choose the extraction mode

NeedDefault approach
recent telemetry snapshotextract last N days
focused investigationfiltered extraction by date and agent
one broken conversationextract or debug a single session tree
ongoing usage analyticsincremental extraction

3. Extract to Parquet

Use the provided scripts under scripts/ rather than reimplementing extraction logic.

4. Analyze with Polars

Common analysis goals:

  • session volume and duration
  • topic distribution
  • action step failures
  • latency hotspots
  • abandonment / escalation patterns
  • session-level timeline reconstruction

5. Convert findings into next actions

Typical outcomes:

  • topic mismatch → improve routing or descriptions
  • action failure → inspect Flow / Apex implementation
  • latency issue → optimize downstream action path
  • test gap → add targeted agent tests

High-Signal Operational Rules

  • treat STDM as read-only telemetry
  • expect ingestion lag; this is not perfect real-time debugging
  • use date filters and focused extraction to avoid unnecessary volume / query cost
  • prefer Parquet over ad hoc JSON for durable analysis
  • use lazy Polars patterns for large datasets

Common pitfalls:

  • assuming missing data means no issue, when tracing may simply not be enabled
  • running huge broad queries without date or agent filters
  • trying to fix the agent inside this skill instead of handing off to authoring / testing skills

Output Format

When finishing, report in this order:

  1. What data was extracted or analyzed
  2. Scope (org, dates, agent filter, session IDs)
  3. Key findings
  4. Likely root causes
  5. Recommended next skill / next action

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>

Cross-Skill Integration

NeedDelegate toReason
auth / JWT setupsf-connected-appsData 360 access
fix agent routing / behaviorsf-ai-agentscriptauthoring corrections
formal regression / coverage testssf-ai-agentforce-testingreproducible test loops
Flow-backed action debuggingsf-flowdeclarative repair
Apex-backed action debuggingsf-debug or sf-apexcode / log investigation

Reference Map

Start here

  • README.md
  • references/basic-extraction.md
  • references/filtered-extraction.md
  • references/cli-reference.md

Data model / querying

  • references/data-model-reference.md
  • references/query-patterns.md
  • references/client-demo-queries.md

Analysis / debugging

  • references/analysis-cookbook.md
  • references/analysis-examples.md
  • references/debugging-sessions.md
  • references/polars-cheatsheet.md
  • references/agent-execution-lifecycle.md

Auth / troubleshooting

  • references/auth-setup.md
  • references/troubleshooting.md
  • references/billing-and-troubleshooting.md
  • references/builder-trace-api.md
  • scripts/

Score Guide

ScoreMeaning
90+strong telemetry-backed diagnosis
75–89useful analysis with minor gaps
60–74partial visibility only
< 60insufficient evidence; gather more telemetry
SKILL.md on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/jaganpro/sf-skills
Categories
DevOps & CI/CD, AI & Agent Building
First seen
Apr 16, 2026

More from jaganpro/sf-skills

All 37
  • Sf Docs1.2K
  • Sf Ai Agentforce Persona1.2K
  • Sf Datacloud1K
  • Sf Industry Commoncore Omniscript990
  • Sf Industry Commoncore Datamapper987
  • Sf Industry Commoncore Omnistudio Analyze986
  • Sf Industry Commoncore Flexcard984
  • Sf Datacloud Retrieve982
  • Sf Datacloud Connect980
  • Sf Industry Commoncore Integration Procedure980
  • Sf Datacloud Prepare979
  • Sf Datacloud Segment976
  • Sf Datacloud Harmonize973
  • Sf Datacloud Act972
  • Sf Industry Commoncore Callable Apex951
  • Sf Flex Estimator834
  • Sf Industry Cme Epc Model812
  • Sf Vlocity Build Deploy811
  • Sf Ai Agentforce Grid432
  • Sf Apex1.6K
  • Sf Lwc1.5K
  • Sf Flow1.5K
  • Sf Metadata1.5K
  • Sf Soql1.5K

Recommended

More DevOps & CI/CD
1tirth8205 avatarbuild-graphtirth8205/code-review-graphBuild or update the code review knowledge graph. Run this first to initialize, or let hooks keep it updated automatically.1.3Kinstalls
2quodsoler avatarue-module-build-systemquodsoler/unreal-engine-skillsUse when working with Build.cs, Target.cs, module creation, plugin setup, or build errors in Unreal Engine — including "unresolved external symbol," "cannot ope1.3Kinstalls
3mckruz avatarcomfyui-video-pipelinemckruz/comfyui-expertcomfyui video pipeline1.2Kinstalls
4aradotso avatarharvard-art-museums-data-engineering-pipelinearadotso/data-skillsharvard art museums data engineering pipeline1.2Kinstalls
5aradotso avatarharvard-artifacts-etl-pipelinearadotso/data-skillsharvard artifacts etl pipeline1.2Kinstalls
6aradotso avatararacli-deploy-managementaradotso/trending-skillsaracli deploy management1.2Kinstalls