sf-ai-agentforce

Create Agentforce agents with Agent Script syntax and 100-point scoring via sf CLI commands.

423|97|Updated Nov 30, 2025
One-click install
npx skills add https://github.com/Jaganpro/sf-skills --skill sf-ai-agentforce
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sf-ai-agentforce
Source: https://github.com/Jaganpro/sf-skills/tree/main/sf-ai-agentforce/skills/sf-ai-agentforce
Command: npx skills add https://github.com/Jaganpro/sf-skills --skill sf-ai-agentforce

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sf-cli, python, and includes scripts (resource) components.

What problem does it solve?

Developing Agentforce agents with Agent Script syntax requires precise knowledge of structure, API versions, and integration patterns, which can be error-prone and time-consuming. This Skill automates agent creation and validation, ensuring your agents are production-ready and adhere to best practices.

Core Features & Use Cases

  • Agent Generation: Create complete Agentforce agents using Agent Script syntax, including topics, actions, and variables, with built-in best practices.
  • Flow Integration: Seamlessly connect agent actions to Salesforce Flows (via flow:// targets) for deterministic business logic and robust integrations.
  • Strict Validation: Enforces critical requirements like API v64+, 4-space indentation, correct system instructions, and proper action target syntax to prevent common deployment failures.
  • Use Case: Create an Agentforce agent for customer support triage. Define topics like "Order Status" and "Product Inquiry," and integrate actions that call existing Salesforce Flows to retrieve order details or log a support case.

Quick Start

Use the sf-ai-agentforce skill to create an Agentforce agent for customer support triage with a topic for "Order Status" that calls a Flow.

Frequently Asked Questions about sf-ai-agentforce

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an Agentforce agent using Agent Script syntax?

Agent Script syntax lets you define Agentforce agents with topics, actions, and variables in a structured format. This Skill automates agent creation by generating complete Agent Script configurations that enforce best practices like proper indentation, correct action target syntax, and API v65+ compatibility, reducing manual errors and deployment failures.

Can I connect Agentforce agent actions to Salesforce Flows?

Yes. This Skill integrates agent actions with Salesforce Flows using `flow://` targets, letting you route agent responses to existing Flows for deterministic business logic. This enables customer support scenarios where agent topics trigger Flows that retrieve order details or create support cases.

What API version do I need to deploy Agentforce agents?

Agentforce deployment requires API v65.0 or later. This Skill validates and enforces API v65+ requirements during agent generation, ensuring your metadata bundles—either AiAuthoringBundle or GenAiPlannerBundle—deploy successfully via sf CLI commands without version mismatch errors.

How do I validate my Agentforce agent configuration before deployment?

This Skill applies strict validation across six scoring categories, checking 4-space indentation, system instructions, action target syntax, and critical requirements. Validation runs during agent generation, catching structural errors early so your agent is production-ready before sf CLI deployment.

What prerequisites do I need to build Agentforce agents with this Skill?

You need sf CLI for deployment commands and Python for the Skill's automation runtime. The Skill handles agent script generation and validation, but requires API v65+ access and existing Salesforce Flows if you want to integrate agent actions into deterministic business logic.