agentforce-generate
The main Salesforce skill for working with Agentforce agents written in Agent Script (.agent files and aiAuthoringBundle metadata).
What the skill teaches
The main Salesforce skill for working with Agentforce agents written in Agent Script (.agent files and aiAuthoringBundle metadata). It guides the agent through creating a new agent from an Agent Spec, explaining or auditing an existing one, changing subagents, actions and routes, fixing compile errors, migrating a legacy planner-bundle agent, and previewing, deploying, publishing and testing through sf agent commands. It also covers managing MCP servers and tools attached to Agentforce. The folder ships example agents, templates, references and helper scripts. It expects the sf CLI, Node.js, npm, git, jq and curl.
Capabilities
- Create Agentforce agents in Agent Script from a spec
- Audit and repair existing .agent files
- Migrate legacy planner-bundle agents to Agent Script
- Preview, deploy and publish agents with the sf CLI
- Manage MCP servers and tools attached to Agentforce
About
- Publisher
- Salesforce
- Tool
- Salesforce
Install
- Run this to add it to Any client:
npx skills add forcedotcom/sf-skills
What's inside
- README.md
- assets/agent-spec-template.md
- assets/agents/README.md
- assets/agents/hello-world.agent
- assets/agents/knowledge-grounded.agent
- assets/agents/local-info-agent-annotated.agent
- assets/agents/order-service.agent
- assets/agents/production-faq.agent
- assets/agents/production-faq.bundle-meta.xml
- assets/agents/router-first.agent
- assets/agents/simple-qa.agent
- assets/agents/template-multi-subagent.agent
- assets/agents/template-single-subagent.agent
- assets/agents/verification-gate.agent
- assets/agents/voice-knowledge-grounded.agent
- assets/agents/voice-service-agent.agent
- assets/bundle-meta.xml
- assets/invocable-apex-template.cls
- assets/patterns/README.md
- assets/patterns/action-callbacks.agent
- assets/patterns/advanced-input-bindings.agent
- assets/patterns/bidirectional-routing.agent
- assets/patterns/critical-input-collection.agent
- assets/patterns/delegation-routing.agent
- assets/patterns/lifecycle-events.agent
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
This skill includes scripts that your agent may run.
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 | Yes | 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
- Folder in the repository (agentforce-generate)github.com/forcedotcom/sf-skills · Backs: Includes scriptsNov 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-generate)github.com/forcedotcom/sf-skills · Backs: Includes scriptsNov 10, 2026