jaganpro avatar

Sf Ai Agentscript

This is the code-first path for building deterministic Agentforce agents using Agent Script DSL and .agent files. It's for when you need repeatable control over routing, slot filling, and state transitions instead of letting the planner improvise. The skill walks you through finite-state topic flows, CLI workflows (generate, validate, preview, publish), and the gotchas that break compilation: no else-if, no nested ifs, booleans are True/False, and tabs will ruin your day. It includes an activation checklist, Service vs Employee Agent setup rules, and validator error IDs. Use this when you're authoring bundles or need compliance-grade guardrails. Delegate to sf-ai-agentforce if you're working in Builder metadata or building test coverage loops.

skills.sh installs
1.4K
GitHub stars
422
last updated
Jul 14, 2026

Install

$ npx -y skills add jaganpro/sf-skills --skill sf-ai-agentscript --agent claude-code

Installs into .claude/skills of the current project.

Files

SF-AI-AgentScript Skill

Agent Script is the code-first path for deterministic Agentforce agents. Use this skill when the user is authoring .agent files, building finite-state topic flows, or needs repeatable control over routing, variables, actions, and publish behavior.

Start with the shortest guide first: references/activation-checklist.md

Migrating from the Builder UI? Use references/migration-guide.md

When This Skill Owns the Task

Use sf-ai-agentscript when the work involves:

  • creating or editing .agent files
  • deterministic topic routing, guards, and transitions
  • Agent Script CLI workflows (sf agent generate authoring-bundle, sf agent validate authoring-bundle, sf agent preview, sf agent publish authoring-bundle, sf agent activate)
  • slot filling, instruction resolution, post-action loops, or FSM design

Sponsors

Details

Repository
github.com/jaganpro/sf-skills
Category
AI & Agent Building
First seen
Apr 16, 2026

More from jaganpro/sf-skills

All 37
1jaganpro avatarsf-ai-agentforce-testingjaganpro/sf-skillssf ai agentforce testing1.3Kskills.sh installs
2aradotso avataropen-autoglm-phone-agentaradotso/trending-skillsopen autoglm phone agent1.3Kskills.sh installs
3jaganpro avatarsf-ai-agentforce-observabilityjaganpro/sf-skillssf ai agentforce observability1.3Kskills.sh installs
4neolabhq avatarlaunch-sub-agentneolabhq/context-engineering-kitLaunch an intelligent sub-agent with automatic model selection based on task complexity, specialized agent matching, Zero-shot CoT reasoning, and mandatory self1.3Kskills.sh installs
5neolabhq avatarbuild-mcpneolabhq/context-engineering-kitGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when b1.2Kskills.sh installs
6ruvnet avataragent-performance-optimizerruvnet/rufloAgent skill for performance-optimizer - invoke with $agent-performance-optimizer1.2Kskills.sh installs