Individual skill
agentforce-observe
Analyze production Agentforce agent behavior using session traces and Data Cloud, and manage Agent Health Monitoring (AHM) alerts. TRIGGER when: user queries STDM session data or Data Cloud trace records; investigates production agent failures, regressions, or performance issues; asks about session traces, conversation logs, or agent metrics; wants to reproduce a reported production issue in preview; runs findSessions or trace analysis queries; creates, lists, updates, or deletes an AHM data alert on an agent metric (escalation rate, deflection, etc.); asks why an alert is not firing or wants to check whether alerts have fired (notification counts, or the per-alert Incidents view). DO NOT TRIGGER when: user creates, modifies, or debugs .agent files during development (use agentforce-generate); writes or runs test specs (use agentforce-test); uses sf agent preview for local development iteration; deploys or publishes agents.
skills/agentforce-observe/SKILL.md
Source commit a8a18ce1e4ba12e69b4073eab98ce31bfbd8271e
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 4, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,151
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 22,385 bytesSKILL.mdcore · 22,385 bytesSKILL.mdcore · 22,385 bytesSKILL.mdcore · 22,385 bytesSKILL.mdcore · 22,385 bytesSKILL.mdcore · 22,385 bytesSKILL.mdcore · 22,385 bytesSKILL.mdcore · 22,385 bytesSKILL.mdcore · 22,385 bytesSKILL.mdcore · 22,385 bytesSKILL.mdcore · 22,385 bytesSKILL.mdcore · 22,385 bytesSKILL.mdcore · 22,385 bytesSKILL.mdcore · 22,385 bytesassets/apex/AgentforceOptimizeService.clsasset · 63,367 bytesassets/apex/AgentforceOptimizeService.cls-meta.xmlasset · 174 bytesreferences/ahm-alerts.mddoc · 53,379 bytesreferences/improve-reference.mddoc · 17,256 bytesreferences/issue-classification.mddoc · 15,055 bytesreferences/reproduce-reference.mddoc · 6,037 bytesreferences/stdm-queries.mddoc · 15,409 bytesreferences/stdm-schema.mddoc · 10,938 bytes
Read excerpt
# 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 preview` to simulate problematic conversations live
- **Improve** -- Edit the `.agent` file directly, validate, publish, verify
---
## Platform Notes