Agentforce Observe
Observe production Agentforce sessions in Data Cloud, reproduce failures in preview, and manage AHM alerts.
- CCM score
- 69 of 100
- skills.sh installs
- 5.8K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers production trace analysis across STDM session data, Data Cloud trace records, conversation logs, and agent metrics
- Includes a three-phase workflow: Observe sessions, Reproduce issues with
sf agent preview, and Improve the.agentfile - Enforces a Data Space check and an STDM availability probe, falling back to local test suites and preview traces when STDM is absent
- Designed for teams investigating production regressions, failures, or alert behavior rather than authoring or testing agents
Install
$ npx -y skills add forcedotcom/sf-skills --skill agentforce-observe -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Agentforce Observability
Improve Agentforce agents using session trace data and live preview testing.
Three-phase workflow:
- Observe -- Query STDM sessions from Data Cloud (if available), OR run test suites + preview with local traces as fallback
- Reproduce -- Use
sf agent previewto simulate problematic conversations live - Improve -- Edit the
.agentfile directly, validate, publish, verify
Platform Notes
- Shell examples below use bash syntax. On Windows, use PowerShell equivalents or Git Bash.
- Replace
python3withpythonon Windows. - Replace
/tmp/with$env:TEMP\(PowerShell) or%TEMP%\(cmd). - Replace
jqwithpython -c "import json,sys; ..."if jq is not installed.
Routing
Gather these inputs before starting:
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- AI Agents & LLM Apps, Debugging, Sales & CRM
- First seen
- Jul 14, 2026
Questions
What does the agentforce-observe skill do?
It analyzes production Agentforce agent behavior using session traces and Data Cloud, covering failures, regressions and performance issues. It can also manage Agent Health Monitoring alerts on agent metrics such as escalation rate and deflection.
How do I install agentforce-observe?
Run npx -y skills add forcedotcom/sf-skills --skill agentforce-observe -y in a project. Once installed, the agent can query STDM session data, run findSessions or trace analysis, and reproduce reported production issues in preview.
Which skills in its category lead the way, and how does this one stand out?
It sits in the AI Agents & LLM Apps category, alongside microsoft-foundry, azure-ai and several google-agents-cli skills. This skill is focused on observing production Agentforce agents through session traces rather than building or testing them.
Does agentforce-observe need Data Cloud or other tools set up first?
It expects an authenticated Salesforce org, the sf CLI, git, jq and python3, and the STDM Data Model Objects must be active in Data Cloud. If STDM is unavailable, it falls back to test suites and local preview traces.
More from forcedotcom/sf-skills
All 78- Platform Lightning App Coordinate5.8K
- Design Systems Slds2 Migrate5.8K
- External Diagram Mermaid Generate5.6K
- Integration Connectivity Connected App Configure5.6K
- Integration Connectivity Generate5.6K
- Agentforce D360 Analyze5.4K
- Experience Ui Bundle Frontend Generate5.4K
- Platform Tracing Configure5.3K
- Experience Ui Bundle Metadata Generate5.3K
- Experience Ui Bundle App Coordinate5.3K
- Platform Value Set Generate5.3K
- Experience Ui Bundle Deploy5.3K
- Experience Ui Bundle Salesforce Data Access5.3K
- Platform Tracing Agentforce Configure5.3K
- Dx App Analytics Query5.3K
- Experience Ui Bundle Custom App Generate5.3K
- Integration Eventing Cdc Configure5.2K
- Platform Trust Archive Manage5.2K
- Integration Eventing Subscription Configure5.2K
- Experience Ui Bundle File Upload Generate5.2K
- Experience Ui Bundle Features Generate5.2K
- Dx Devops Test Failures Analyze5.2K
- Dx Devops Test Pipeline Configure5.1K
- Experience Ui Bundle Site Generate5.1K
Similar to Agentforce Observe
More AI Agents & LLM Appscloudassistant-ui/skills5.4K installsSets up assistant-ui Cloud persistence and authorization with the assistant-cloud package and AssistantCloud client. Use when adding cross-session thread/messag
platform-tracing-agentforce-configureforcedotcom/sf-skills5.3K installsGenerate AgentforcePlatformTracingSettings metadata to enable or disable Agentforce agent execution trace spans flowing to Data Cloud. Use this skill for any Ag
langsmith-evaluatorlangchain-ai/langsmith-skills5.3K installsINVOKE THIS SKILL when building evaluation pipelines for LangSmith. Covers three core components: (1) Creating Evaluators - LLM-as-Judge, custom code; (2) Defin
langsmith-tracelangchain-ai/langsmith-skills5.2K installsINVOKE THIS SKILL when working with LangSmith tracing OR querying traces. Covers adding tracing to applications and querying/exporting trace data. Uses the lang
rag-architectjeffallan/claude-skills5.1K installsDesigns and implements production-grade RAG systems by chunking documents, generating embeddings, configuring vector stores, building hybrid search pipelines, a
ai-agent-builderclaude-office-skills/skills5.1K installsBuild AI agents with tools, memory, and multi-step reasoning - ChatGPT, Claude, Gemini integration patterns