
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-codeInstalls 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
.agentfiles - 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- Sf Diagram Nanobananapro1.3K
- Sf Ai Agentforce1.3K
- Sf Ai Agentforce Testing1.3K
- Sf Ai Agentforce Observability1.3K
- Sf Docs1.2K
- Sf Ai Agentforce Persona1.2K
- Sf Datacloud1K
- Sf Industry Commoncore Omniscript993
- Sf Industry Commoncore Datamapper990
- Sf Industry Commoncore Omnistudio Analyze989
- Sf Industry Commoncore Flexcard987
- Sf Datacloud Retrieve985
- Sf Datacloud Connect983
- Sf Industry Commoncore Integration Procedure983
- Sf Datacloud Prepare982
- Sf Datacloud Segment979
- Sf Datacloud Harmonize976
- Sf Datacloud Act975
- Sf Industry Commoncore Callable Apex954
- Sf Flex Estimator837
- Sf Industry Cme Epc Model815
- Sf Vlocity Build Deploy814
- Sf Ai Agentforce Grid435
- Sf Apex1.6K