Skip to content
forcedotcom avatar

Platform Tracing Agentforce Configure

Generate and toggle the Agentforce agent trace spans flowing to Data Cloud via AgentforcePlatformTracingSettings metadata.

CCM score
71 of 100
skills.sh installs
5.3K
GitHub stars
1.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers generating AgentforcePlatformTracing.settings-meta.xml to enable or disable Agentforce agent execution trace spans sent to Data Cloud
  • Warns that Data Cloud provisioning and the PlatformObservability org permission are required, since the setting has no effect without them
  • Enforces a singleton, single-boolean file with the required XML namespace, and requires API version 68.0 or later
  • Designed for admins and developers enabling agent observability, not for TraceSpanEvent tracing, trace data queries, or CDC setup

Install

$ npx -y skills add forcedotcom/sf-skills --skill platform-tracing-agentforce-configure -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Platform Tracing — Agentforce Configure

Generate AgentforcePlatformTracingSettings metadata to enable or disable forwarding of Agentforce agent execution trace spans to Data Cloud's ingestion pipeline. This is a singleton Settings type with one boolean field introduced in API v68.0 (Spring '25).

Scope

  • In scope: Generating AgentforcePlatformTracing.settings-meta.xml to enable or disable Agentforce agent tracing.
  • Out of scope: Platform Tracing for TraceSpanEvent (use platform-tracing-configure). Event Log Files. Change Data Capture. Org permission provisioning. Data Cloud provisioning.

Prerequisites

Before generating, inform the user of these requirements. The skill cannot check org state, but deploying without these prerequisites means the setting has no effect:

Details

Repository
github.com/forcedotcom/sf-skills
Categories
AI Agents & LLM Apps, DevOps & Cloud
First seen
Jul 14, 2026

Questions

What does the platform-tracing-agentforce-configure skill do?

It generates AgentforcePlatformTracingSettings metadata that turns Agentforce agent execution trace spans flowing to Data Cloud on or off. The output is a single settings file, AgentforcePlatformTracing.settings-meta.xml, with one boolean field.

How do I install the platform-tracing-agentforce-configure skill?

Run npx -y skills add forcedotcom/sf-skills --skill platform-tracing-agentforce-configure -y inside a project. The command adds this skill from the forcedotcom/sf-skills repository so your agent can generate the tracing settings file.

What do I need before enabling Agentforce agent tracing with this skill?

Data Cloud must be provisioned in the org, since trace spans are forwarded there. The PlatformObservability org permission must also be active, and the org must run API version 68.0 or later.

When should I use this skill instead of platform-tracing-configure?

Use this skill to send Agentforce agent execution spans to Data Cloud. For TraceSpanEvent publishing, the skill points you to platform-tracing-configure instead, and querying existing agent trace data is handled by agentforce-observe.

More from forcedotcom/sf-skills

All 78

Similar to Platform Tracing Agentforce Configure

More AI Agents & LLM Apps