agentforce-observe
A Salesforce skill for improving Agentforce agents that are already in production.
What the skill teaches
A Salesforce skill for improving Agentforce agents that are already in production. The agent queries session trace data in Data Cloud to find failing or regressing conversations, reproduces a problem with sf agent preview, then edits the .agent file, validates and republishes it. When the trace data model is not available, it falls back to running test suites and local preview traces. It also creates, lists, updates and deletes Agent Health Monitoring alerts on agent metrics and checks whether those alerts have fired. It deploys a small Apex helper class to the org and needs the sf CLI, Python, git and jq.
Capabilities
- Query Agentforce session traces in Data Cloud
- Reproduce production issues with sf agent preview
- Edit, validate and republish an .agent file after a fix
- Manage Agent Health Monitoring alerts
About
- Publisher
- Salesforce
- Tool
- Salesforce
Install
- Run this to add it to Any client:
npx skills add forcedotcom/sf-skills
What's inside
- assets/apex/AgentforceOptimizeService.cls
- assets/apex/AgentforceOptimizeService.cls-meta.xml
- references/ahm-alerts.md
- references/improve-reference.md
- references/issue-classification.md
- references/reproduce-reference.md
- references/stdm-queries.md
- references/stdm-schema.md
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Salesforce | |
| Publisher | Salesforce | source |
| Official status | OfficialSalesforce's developer documentation for its skills and plugins links to the forcedotcom/sf-skills repository | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 6, 20261,156 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
Sources
- Skill file (SKILL.md)github.com/forcedotcom/sf-skillsNov 13, 2026
- README (README.md)github.com/forcedotcom/sf-skillsNov 13, 2026
- Licence file (LICENSE.txt)github.com/forcedotcom/sf-skills · Backs: Licence, PublisherNov 13, 2026
- Web pagedeveloper.salesforce.com · Backs: Official statusNov 13, 2026
- GitHub repositorygithub.com/forcedotcom/sf-skills · Backs: Activity, LicenceNov 11, 2026
- Skill file (SKILL.md)github.com/forcedotcom/sf-skillsNov 10, 2026
- Folder in the repository (agentforce-observe)github.com/forcedotcom/sf-skills · Backs: Includes scriptsNov 10, 2026