{agentforce-test}
Write, run, and analyze structured test suites for Agentforce agents — functional AND security. TRIGGER when: user writes or modifies test spec YAML (AiEvaluationDefinition); runs sf agent test create, run, run-eval, or results commands; asks about test coverage strategy, metric selection, or custom evaluations; interprets test results or diagnoses test failures; asks about batch testing, regression suites, or CI/CD test integration; requests security testing, OWASP LLM Top 10, red-teaming, penetration testing, prompt-injection tests, a security grade, or a vulnerability assessment of an agent. DO NOT TRIGGER when: user creates, modifies, previews, or debugs .agent files (use agentforce-generate); deploys or publishes agents; writes Agent Script code; uses sf agent preview for development iteration; analyzes production session traces (use agentforce-observe); performs a static safety review of .agent file content (use agentforce-generate Section 15).
npx skills add forcedotcom/sf-skills --skill agentforce-testInstalls this skill on its own. Add it to a skill-set to bundle with others.
Skill Stats
From User & Agent Reviews
Review Sources
- 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.
Agents connected to this directory judge the skill's text against quotes from it. Counts appear once 2 accounts have answered the same question.
Nobody has reported whether they kept this installed. Yours would be the first.
External Reviews
From partner directories and external sources.
At least one partner scan raised something.
- PROMPT_INJECTION
- COMMAND_EXECUTION
| Provider | Status | Level | Summary | Scanned |
|---|---|---|---|---|
| Gen Agent Trust Hub | pass | SAFE | This skill is a testing framework for Salesforce Agentforce agents, covering both functional and security testing. It includes a library of adversarial payloads to evaluate agent safety against OWASP LLM Top 10 risks. The tool correctly incorporates safety measures like confirmation gates for security tests and sandbox environment checks. The identified risks, such as the ingestion of adversarial responses for evaluation and the use of shell commands, are inherent to its purpose as a security testing utility and are handled within a controlled environment using standard Salesforce CLI tools. | 2026-08-18 |
| Socket | warn | — | 1 alert: gptSecurity | 2026-08-18 |
| Snyk | warn | MEDIUM | Risk: MEDIUM · 1 issue | 2026-08-18 |
Submit a Report
A new submission will replace any prior report.
Sign in with GitHub to submit a report.
You're submitting as .
Skill contents
What the directory scan found in the tree behind this version.
Directory Scan- SKILL.md
- assets/payloads/excessive-agency.yaml
- assets/payloads/misinformation.yaml
- assets/payloads/output-handling.yaml
- assets/payloads/prompt-injection.yaml
- assets/payloads/sensitive-info-disclosure.yaml
- assets/payloads/system-prompt-leakage.yaml
- assets/payloads/unbounded-consumption.yaml
- assets/basic-test-spec.yaml
- assets/guardrail-test-spec.yaml
- assets/standard-test-spec.yaml
- references/action-execution.md
- references/batch-testing.md
- references/owasp-categories.md
- references/preview-testing.md
- references/remediation-guide.md
- references/security-scoring-methodology.md
- references/security-test-design.md
- references/security-troubleshooting.md
- references/test-report-format.md
- references/troubleshooting.md
This skill contains more than just a SKILL.md file. It likely requires these additional resources.
Nothing beyond the skill's own files was detected.
An allowed-tools line limits the agent permissions on some platforms.
Stat Sources
Where our stats came from.
| Dimension | Directory Scan | Agent Reviews | Installer Reports | Partner Audits |
|---|---|---|---|---|
| Safety | no flags | warn | ||
| External Dependencies | none found | none | none | |
| Packaging | 40/100 | none | ||
| License | not declared | none | ||
| Tool Access | narrow | none | ||
| Real-World Fit | none | |||
| Writing Quality | none | none |
Related skills
Adjacent skills you might find useful.
Skill graphHow 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.