A code-first Domain Specific Language (DSL) for building deterministic, state-based Agentforce agents using the .agent file format.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install sf-ai-agentscript
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install sf-ai-agentscript using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Agent Script represents the professional developer's path to building Agentforce agents. By leveraging the .agent file format, developers can move away from UI-based builders and into a source-controlled environment. This entry in the Openclaw Skills library focuses on the deterministic logic required for enterprise-grade AI agents, allowing for precise control over topic routing, finite-state machine (FSM) designs, and variable management.
This skill is essential for developers who need repeatable, predictable agent behavior in Salesforce Service and Employee environments. It prioritizes a code-first approach, enabling better version control and integration with modern DevOps practices. By utilizing Agent Script, teams can ensure their AI agents follow strict logic paths and handle data with high precision.
To begin using this skill, ensure you have the Salesforce CLI installed and a valid Agentforce license (API v66.0+). To generate a local authoring bundle for Openclaw Skills development, use:
sf agent generate authoring-bundle --no-spec
To validate your agent against a target org before publishing:
sf agent validate authoring-bundle --api-name MyAgent -o TARGET_ORG --json
The skill organizes its technical structure around the .agent manifest, which serves as the primary data schema. Key blocks include:
| Block | Description |
|---|---|
| config | Core metadata including developer_name, agent_type, and description. |
| variables | Definitions for agent-scoped variables, including type checks and linked context. |
| topic | Finite State Machine definitions including instructions, transitions, and local actions. |
| system | Global instructions and system-level configurations for the agent. |
| knowledge | Integrated knowledge sources used for grounding the agent's responses. |
Loading
A professional-grade aviation data skill for executing complex flight searches, price monitoring, and hidden-city ticketing queries via commercial APIs.

A professional testing framework for Agentforce agents featuring dual-track validation, multi-turn conversation checks, and automated coverage analysis.

A multi-agent code review system that performs structured analysis on Pull Requests and diffs with high-confidence filtering.

A diagnostic tool designed to identify and resolve conflicting instructions across multiple agent files to prevent AI hallucinations and inconsistent behavior.

A lightning-fast, cloud-based transcription tool that leverages Groq's whisper-large-v3 model to convert audio to text in seconds.

A collaborative AI agent skill that refines vague concepts into structured technical designs through iterative dialogue.








































