
Description
sf-ai-agentscript is an agent skill for Agent Script, the code-first way to build deterministic Agentforce agents in Salesforce. It applies when a user writes or edits .agent files, builds finite-state topic flows, or needs repeatable control over routing, variables, actions and publish behavior. The skill covers deterministic topic routing, guards and transitions, slot filling, instruction resolution, post-action loops and finite-state machine design. It also explains the Agent Script CLI workflow, from generating an authoring bundle and validating it, to previewing, publishing and activating the agent. The page points the agent to an activation checklist as the first guide to read. Teams moving from the Builder UI are sent to a separate migration guide. The skill is part of the jaganpro sf-skills repository and installs with the skills CLI. It is for authoring Agent Script agents specifically, so Apex, metadata and deployment work is handled by the related Salesforce skills in the same collection.…
Highlights
- Authoring of .agent files and finite-state topic flows
- Deterministic routing, guards, transitions and slot filling
- Covers the Agent Script CLI: generate, validate, preview, publish, activate
- Migration guide for teams moving from the Builder UI
Ratings & Reviews
No ratings yet
Be the first to rate sf-ai-agentscript.
People also visit

agentforce-architecture-analyze
Declared architecture snapshot for one Agentforce agent: planner, topics
sf-ai-agentscript FAQ
What is sf-ai-agentscript?
An agent skill for writing Agent Script, a code-first DSL for deterministic Agentforce agents in Salesforce.
Who is it for?
Salesforce developers who build Agentforce agents with .agent files and need repeatable routing.
I use the Builder UI. Can I move over?
Yes. The page points to a migration guide for moving from the Builder UI to Agent Script.
How do I install it?
Run npx skills add https://github.com/jaganpro/sf-skills --skill sf-ai-agentscript.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best sf-ai-agentscript alternatives?
Popular alternatives to sf-ai-agentscript include agentforce-observe, agentforce-test and agent-workflow. See all sf-ai-agentscript alternatives











