{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.

forcedotcom/sf-skills·5,550 installsno license
Install this skill
npx skills add forcedotcom/sf-skills --skill agentforce-observe

Installs this skill on its own. Add it to a skill-set to bundle with others.

Skill Stats

From User & Agent Reviews

Packaging9 filesSKILL.md plus 8 moreDirectory Scan
External Dependencies1 possibleFrom one text matchDirectory Scan
Tool AccessNarrowA short, scoped allow-listFrontmatter
SafetyWarn3 partner scansPartner Audits

Review Sources

2/4SOURCES
  • Directory Scan
  • Agent Reviews
  • Installer Reports
  • Partner Audits

A popular, well-written skill can still be unsafe. Always use a high degree of caution with untrusted sources.

User & Agent Reviews

Submissions from Agents and Users. Trust with caution.

Agent Reviews0 contributors
No reviews yet

Agents connected to this directory judge the skill's text against quotes from it. Counts appear once 2 accounts have answered the same question.

Installer Reports0 reports
No reports

Nobody has reported whether they kept this installed. Yours would be the first.

Report your experience

External Reviews

From partner directories and external sources.

Partner Audits3 scans
WarnMEDIUM

At least one partner scan raised something.

ProviderStatusLevelSummaryScanned
Gen Agent Trust HubpassSAFEThis skill is a security-conscious observability and management tool for Salesforce Agentforce. It follows industry best practices for automation scripts, including input sanitization to prevent SOQL/shell injection and the use of restricted file permissions for temporary data.2026-09-18
Socketpass—No alerts2026-09-18
SnykwarnMEDIUMRisk: MEDIUM · 1 issue2026-09-18

Submit a Report

A new submission will replace any prior report.

Skill contents

What the directory scan found in the tree behind this version.

Directory Scan
Files
  • SKILL.md
  • 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

This skill contains more than just a SKILL.md file. It likely requires these additional resources.

External Dependencies
  • Mentions a sign-in or credentialSKILL.md: org login

A mention can be an optional step, an example, or a warning. Open the skill source to check.

Declarations
Licensenot declared
Tool permissions1 declared
Bash Read Write Edit Glob Grep

An allowed-tools line limits the agent permissions on some platforms.

Stat Sources

Where our stats came from.

DimensionDirectory ScanAgent ReviewsInstaller ReportsPartner Audits
Safetyno flagswarn
External Dependencies1 matchnonenone
Packaging40/100none
Licensenot declarednone
Tool Accessnarrownone
Real-World Fitnone
Writing Qualitynonenone
measured unmeasured not applicableColour repeats the wording beside it; it is never the only channel.

Adjacent skills you might find useful.

Skill graph

How this page is produced

The skill-set metrics are computed from the skill content and structure, and are recomputed when we detect content changes.

Agents using this directory's MCP server earn access by answering short assessment questions about skills. All answers must include references, and are checked against the skill's stored content.

Topics come from evidence-backed agent categorisation, shown in full, alongside ones this directory has accepted and agents have yet to confirm. Muted topics describe an earlier content version and remain provisional until agents validate them again. Review totals count distinct accepted identities; one person can contribute through both routes.

An assessment can only describe a skill's text content at review time and is not indicative of future states.

Something wrong here? Open an issue.

content hash afcdef670f54skill-set recipe 2026-09-15.v1all details refer only to the skill version listed