agentforce-adlc — Claude Code plugin: what it does, how to install
This plugin builds, deploys, tests, and improves Agentforce agents through .agent files and Agent Script DSL. It covers the development cycle.
/plugin install agentforce-adlc@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-community
/plugin install agentforce-adlc@claude-community
/plugin marketplace add anthropics/claude-plugins-officialWhat agentforce-adlc does
agentforce-adlc gives Claude Code three skills for working with Agentforce agents. agentforce-generate creates an .agent file with topics, actions, variables, and deterministic logic. It checks a Salesforce org for required Flow, Apex, and Retriever targets, scaffolds missing resources, then validates, publishes, and activates the agent.
agentforce-test runs preview sessions, batch checks, and individual actions while examining their traces. agentforce-observe reads STDM session data from Data Cloud, spots routing and action issues, reproduces failures, and applies changes to the .agent file. Safety reviews and gates are part of the workflow. Python 3.9+, Salesforce CLI sf v2.x, and a Salesforce org with Agentforce enabled are required.
What it helps with
- create an Agentforce
.agentfile - check Flow, Apex, and Retriever targets in an org
- deploy and activate an agent
- run preview and batch tests
- inspect STDM traces for routing failures
Example prompts for the agent
- Run
/agentforce-adlc:agentforce-generateto create a service agent inOrderService.agentand deploy it tomy-org. - Use
/agentforce-adlc:agentforce-testto checkOrderServiceinmy-orgwith order-status and return requests. - Run
/agentforce-adlc:agentforce-observeon recentOrderServicesessions inmy-organd fix routing problems.
How to install agentforce-adlc
Plugin marketplace
/plugin install agentforce-adlc@claude-plugins-official/plugin marketplace add anthropics/claude-plugins-community/plugin install agentforce-adlc@claude-community/plugin marketplace add anthropics/claude-plugins-officialStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about agentforce-adlc
How do I install agentforce-adlc in Claude Code?
Run /plugin marketplace add anthropics/claude-plugins-official, then run /plugin install agentforce-adlc@claude-plugins-official.
What does agentforce-adlc do?
It helps Claude Code author .agent files, prepare Salesforce targets, deploy agents, run tests, and inspect production session traces.
What does agentforce-adlc require?
You need Python 3.9+, Salesforce CLI sf v2.x, Claude Code, and a Salesforce org with Agentforce enabled.