Skip to content
forcedotcom avatar

Agentforce Generate

Structured authoring skill for building, auditing, and deploying Agentforce agents written in Agent Script.

CCM score
69 of 100
skills.sh installs
6K
GitHub stars
1.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full Agent Script lifecycle: design, authoring, validation and debugging, deploy and publish, and testing
  • Includes reference files for core language, validation, posture, and MCP server, tool, and authentication management
  • Enforces draft-first iteration, with publish and activate requiring explicit user confirmation before release
  • Designed for Agentforce developers working with .agent files and aiAuthoringBundle metadata under an Agentforce license

Install

$ npx -y skills add forcedotcom/sf-skills --skill agentforce-generate -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Agent Script Skill

What This Skill Is For

This skill is for developing Agentforce agents, primarily with Agent Script, Salesforce's scripting language for AI agents.

Org-backed workflows require an Agentforce license, API v66.0 or later, and an Einstein Agent User. Static authoring and review can proceed without org access.

CRITICAL: Agent Script is NOT AppleScript, JavaScript, Python, or any other language. Do NOT confuse Agent Script syntax or semantics with any other language you have been trained on.

Agent Script agents are defined by AiAuthoringBundle metadata: an <ApiName>.agent file (agent behavior) plus a sibling <ApiName>.bundle-meta.xml file (bundle metadata). The directory and both filenames must use the same case-sensitive API name; a literal bundle-meta.xml filename is not deployable. Actions can be implemented with invocable Apex, autolaunched Flows, Prompt Templates, and other supported types.

This skill covers the full Agent Script lifecycle: designing agents, writing Agent Script code, validating and debugging, deploying and publishing, and testing.

How to Use This Skill

Details

Repository
github.com/forcedotcom/sf-skills
Category
AI Agents & LLM Apps
First seen
Jul 14, 2026

Questions

What does the agentforce-generate skill do?

It helps build, modify, audit, repair, optimize, debug, and deploy Salesforce Agentforce agents written in Agent Script. It covers .agent files and aiAuthoringBundle metadata, plus sf agent preview, publish, and test commands, and managing Agentforce MCP servers and tools.

How do I install the agentforce-generate skill?

Run npx -y skills add forcedotcom/sf-skills --skill agentforce-generate -y in your project. After installation, the agent can help you author and deploy Agent Script agents for Agentforce.

What do I need to use agentforce-generate with a Salesforce org?

Org-backed workflows require an Agentforce license, API version 66.0 or later, and an Einstein Agent User. Static authoring and review can proceed without org access, and you should set a target org with sf config set target-org before org interactions.

Where does agentforce-generate stand in its category?

It sits in the AI Agents & LLM Apps category on Claude Marketplaces, alongside microsoft-foundry, azure-ai, and the Google agents skills. This skill focuses on Salesforce Agentforce agents built with Agent Script, which sets it apart from those skills.

More from forcedotcom/sf-skills

All 78

Similar to Agentforce Generate

More AI Agents & LLM Apps