Skip to content

What Is Salesforce Skills (sf-skills)? Working in Salesforce with Claude Code and Codex: Skills and Plugins, Setup and Which One You Need

In an organization that uses Salesforce, you tell an agent "write an Apex class that handles Account territory assignments, test it and deploy it to the sandbox"; sf-skills teaches the agent to do it by Salesforce's rules. This library, published by Salesforce on GitHub, holds 263 skill folders (Apex, Flow, SOQL, Lightning Web Components, Agentforce agents, permission sets, deployment, Service Cloud, OmniStudio and industry clouds), 22 ready-made plugins and sample apps. You install it in Claude Code and Codex with the Salesforce Development plugin, in Claude Code, Codex, Cursor and OpenCode with `npx skills add forcedotcom/sf-skills`; in Agentforce Vibes the skills come automatically. Free, Apache-2.0 licensed; but it needs access to a Salesforce org and the Salesforce CLI to work.

What it does
Teaches an agent Salesforce (Apex, Flow, LWC, Agentforce, deployment)
Type
Skill collection (263 skills + 22 plugins)
Where
Claude Code, Codex, Cursor, OpenCode, Agentforce Vibes
Publisher
Salesforce (official repository)
Needs
A Salesforce org, the Salesforce CLI
Cost
Free (Apache-2.0); the org and agent plan are separate

What do Salesforce Skills do?

Customizing Salesforce (Apex code, Flow automation, custom objects and fields, permission sets, interface components) takes expertise: if the format of the metadata files, the API version, the deployment order and the security rules aren't known, the file the agent writes may not reach the org or may grant permissions wrongly. Telling an agent "write Apex" often means having it written without knowing these rules. A skill is a package of instructions that tells an agent how to do a job; sf-skills is the skills and plugins library Salesforce itself publishes, and it runs the agent through Salesforce's method for these jobs.

Who it helps: administrators and developers at organizations that use Salesforce, and agencies that set up Salesforce for clients. For example, a B2B company that uses Salesforce can have Claude Code write a new Flow and a Lightning component for the sales team and have them tested and deployed to a sandbox with the skills. Who it doesn't suit: people without a Salesforce org and people who use Salesforce only as end users; they can't do anything with the skills. It also requires using the sf command in the terminal. If you use HubSpot instead of Salesforce, see the HubSpot guide.

HubSpot MCP guide: the official connector that links HubSpot to an agent on the CRM side

The README says the skills are "contributed by Salesforce and the broader community" and that they are optimized for Agentforce Vibes. The same README also gives a warning: "Expect frequent changes", meaning skills and plugins may be renamed, restructured or removed between releases; there is no stability guarantee like that of GA platform APIs.

How do Salesforce Skills work? Four steps from request to org

You describe the job in plain languageYou don't memorize slash commands; the agent sees the description of the skill that matches your request (words like "Apex", ".cls", "flow", "SOQL" trigger it).
The skill gives the stepsThe skill describes Salesforce's method; for example the "validate, then quick deploy" route for production deploys, and the coverage and fix loop for Apex tests.
It works on the org with the sf CLI and MCP› sf org login web --alias my-org --set-defaultSkill first, then the Salesforce CLI, direct API as a last resort (this is how the plugin steers its agent); some skills call an MCP tool (execute_metadata_action for Flows).
Gates stop risky workThe plugin hooks don't let a production deploy through without the confirmation phrase; for a non-production destructive deploy they only warn, they don't block; they also warn if the target org is wrong.
The flow comes from the README, the Salesforce Development plugin README and the skill files.

On their own, skills are only instructions; a plugin bundles skills with commands, a subagent, hooks and MCP servers and loads the parts each agent supports. That is why the two install routes make a difference: a standalone npx skills install brings only skills, while the plugin also brings the gates and tools (see the install section below).

What is in it? Which one do you need?

263Skill foldersUnder skills/; each is a workflow (SKILL.md and, where needed, scripts, references and templates). Named by area prefix: platform-, experience-, service-, dx- and so on.platform-apex-generateautomation-flow-generateexperience-lwc-generate
22Ready-made pluginsUnder plugins/builder/; they bundle skills with commands, hooks and MCP. Salesforce Development is the most basic one (38 skills, gates, 4 MCP servers).
1Sample app folderUnder samples/, sample React apps synced from npm.
Your jobSkills (examples)Plugin
Having an Apex class and its test written, running the testplatform-apex-generate, platform-apex-test-generate, platform-apex-test-runsalesforce-development
Producing Flows, custom objects, fields, permission setsautomation-flow-generate, platform-custom-object-generate, platform-custom-field-generate, platform-permission-set-generatesalesforce-development
Writing SOQL, handling dataplatform-soql-query, platform-data-managesalesforce-development
Deploying (sandbox, production)platform-metadata-deploy, platform-metadata-retrievesalesforce-development
Scanning code, reviewing architecturedx-code-analyzer-run, dx-code-analyzer-custom-rule-createsalesforce-code-quality
Having Lightning Web Components writtenexperience-lwc-generateexperience-lwc
Setting up a React UI bundleexperience-ui-bundle-*experience-react
Writing and testing an Agentforce agentagentforce-generate, agentforce-testagentforce-adlc
DevOps Center, packaging, org lifecycledx-devops-*, dx-packaging-*, dx-org-*dx-devops, dx-packaging, dx-org-lifecycle
Omni-Channel, ITSM, digital channelsservice-omni-*, service-itsm-*, service-digital-engagement-*service-omni, service-itsm, service-engagement
Industry clouds: Consumer Goods, Educationconsumer-goods-*, education-cloud-*consumer-goods, education-cloud
OmniStudio, Field Service, Life Sciences, Nonprofitomnistudio-*, field-service-*, life-sciences-*, nonprofit-*No plugin with a matching name in the list; standalone skills
Area prefixSkillsWhat it covers
service69Service Cloud: Omni-Channel, ITSM, digital channels, email and cases
platform48Apex, metadata, SOQL, data, permissions and sharing, deployment
experience42LWC, React UI bundle, Experience Cloud, CMS
dx29Salesforce CLI workflows: orgs, DevOps Center, packaging, code analysis
field-service11Field Service: data capture forms, scheduling, mobile
agentforce9Agentforce agents: writing, testing, observing
omnistudio8FlexCard, OmniScript, Integration Procedure, DataMapper
others47Consumer Goods 7, Education 5, Nonprofit, Life Sciences, Integration and Commerce 4 each, Mobile, Design Systems and Automation 3 each, Sales 2; Tableau, Marketing, Insurance and others 1 each

Counts come from the repository tree and marketplace.json (November 23, 2026): 263 skill folders under skills/, 22 plugins under plugins/builder/. The skills.sh page lists 420 skills for the repository (it seems to include those inside plugins). The repository releases a new version every week (1.71.0, November 20, 2026); the counts change. Plugin matches are from the marketplace.json descriptions; to see which plugin a skill comes in, look at the plugin folder.

How do you install Salesforce Skills? Prerequisites and two routes

First you sign in to your Salesforce org with the Salesforce CLI; then you choose the plugin or standalone skill route to match your agent. The commands are verbatim from the README.

Needs (plugin README)Why
Claude Code 2.1.222+For the plugin
Node.js LTSThe bundled language servers run under node
Salesforce CLI (sf)The MCP host and deploy hooks shell out to sf
Python 3.8+The org detection, deploy-safety and agent-validation hooks
A Salesforce orgYou sign in through the browser; the skills work on this org
1. Sign in to the org in the terminal› sf org login web --alias my-org --set-default
2. Install from the official marketplace (pre-registered)› /plugin install salesforce-development@claude-plugins-official
Or from Salesforce's own marketplace (the latest release)› /plugin marketplace add forcedotcom/sf-skills /plugin install salesforce-development@salesforce
3. Optional: validate the environment› /salesforce-development:setup

README: versions can differ between marketplaces; see the installed version in /plugin. If you switch marketplaces, disable the previous copy with /plugin so only one copy is enabled. Salesforce Development 2.9.0 is the base plugin that carries the hooks and commands that run in Claude Code.

If you install the same skills both with the plugin and with npx skills, you get two copies; decide which route you work with. Do your first trial in a sandbox or scratch org, not production.

What do you type, what do you get? Example requests

After installing, you open your agent in the folder of the Salesforce DX project and describe the job; the agent picks the right skill itself. The requests come from the example prompts in the plugin README; the "what you get" part goes only as far as the skill files describe. The result varies with your org's contents, the object names you use and your permissions.

Having an Apex class and its test written"Create an Apex service class to handle Account territory assignments. Then write a test class for AccountTerritoryService and run it."What you get: the platform-apex-generate skill kicks in when Apex is mentioned (class, service, selector, batch job, REST resource, trigger design); for tests, platform-apex-test-generate writes a test class with TestDataFactory patterns, bulk testing with 251+ records, mocking and assertions, and platform-apex-test-run runs the tests and handles coverage and failing tests with a fix loop (120-point scoring). The result is .cls files in the project folder and the test output.
Producing a custom object and a permission set"Generate a custom object Project__c with fields for Name, Status, Due Date, and Owner. Build a permission set that grants read access to Accounts and Contacts."What you get: the object and field skills (platform-custom-object-generate, platform-custom-field-generate) produce deployable object and field metadata; platform-permission-set-generate writes permission set XML with object, field, user and app permissions, field-level security (FLS) and tab visibility. The files are written to the project folder; sending them to the org is a separate deploy step.
Deploying to a sandbox, validating production"Deploy the current changes to my sandbox. Then validate a deployment to production."What you get: platform-metadata-deploy classifies the target from the sf org list record (sandbox or production, including Dev Hub). On a sandbox or scratch org, a dry run first, then the deploy. On production the skill sets a firm rule: "Never run sf project deploy start against a production org"; the route is server-side validation (default RunLocalTests) and a quick deploy with the returned job ID. The plugin also lets a production deploy through only if your whole reply is confirm production deploy to <alias>; the confirmation covers one deploy to that org and expires after 10 minutes.
Having a Flow built"Build a record-triggered Flow that sends an email to the sales manager when an Opportunity is created."What you get: automation-flow-generate is defined as the only skill for generating Flows; it supports screen, autolaunched, record-triggered (before or after save) and scheduled Flows and works with the metadata MCP tool execute_metadata_action. Phrases such as "when a record is created", "trigger daily at" and "update the field" also trigger the skill. Deploying the Flow to the org is a separate step.

You can ask the plugin "What can I do here?" (one of the README's example prompts); it summarizes the installed skills and the plugins that aren't installed.

Which agents does it work with?

Having Salesforce apps and automation writtenHaving an agent do Salesforce work such as Apex classes, Flows, custom objects and fields, permission sets, SOQL queries, Lightning Web Components and Agentforce agents, then test it and deploy it to the org.Terminal, Code editor · Access to a Salesforce org and the Salesforce CLI; for the plugin, Claude Code 2.1.222+, Node.js LTS and Python 3.8+ · details
Configuring Salesforce cloudsCarrying out setup and configuration work with skills in areas such as Service Cloud (Omni-Channel, ITSM, digital channels), OmniStudio, Field Service, Education and Consumer Goods.Terminal, Code editor · The relevant Salesforce product must be enabled in the org; the skills need org access · details
Claude CodeYesThe plugin (gates, commands, MCP) and standalone skills; the README asks for Claude Code 2.1.222+.
CodexBetaPlugin support is in beta (Codex CLI 0.145.0+, a POSIX host); Claude Code-specific agents and hooks don't carry over. Standalone skills with npx skills.
Cursor, OpenCodePartlyThe README gives the standalone skill route (npx skills); it says "full plugin support depends on the client and plugin manifest".
Agentforce VibesYesSkills are installed and updated automatically; the library is optimized for Agentforce Vibes.
claude.ai and Claude DesktopUnclearThe README doesn't describe this route. The skills need the sf command and file writing; they are of no use without the Salesforce CLI.

README: the library follows the Agent Skills specification and can be used in agents that support skills; Claude Code agents and hooks aren't automatically available in other clients.

What does it access in my org? Is deploying to production safe? Where does data go?

Reads

Salesforce DX project files, org metadata (with the sf CLI and MCP), and, as asked, org records and Apex debug logs. The plugin reads the org alias and project information locally at session start.

Writes and sends

Project files; metadata deployment; depending on the skill, creating, updating and deleting org records and bulk data operations. A direct deploy to production is closed in the skill (validate, then quick deploy); the plugin stops only production deploys with a confirmation gate; for non-production destructive deploys it warns.

Where data goes

The org metadata and records the agent reads become part of the conversation and are processed by the AI model you use. The optional Headless 360 MCP server is hosted by Salesforce; it is off by default, and to turn it on it must be activated in the org.

Telemetry

The plugin collects usage telemetry and it is on by default. SF_DISABLE_TELEMETRY=true turns off both the plugin's and the Salesforce CLI's telemetry, DO_NOT_TRACK=true turns off only the plugin's; the /salesforce-development:telemetry off command turns it off too (README and command documentation). According to the explanation in the plugin's code, only allowed fields are recorded (code, file paths and raw error text are dropped); the raw org ID can be carried in one event shape only.

What runs at install

A standalone install brings only skill files. The plugin hooks (python3, bash) run at session start and on sf commands; four MCP servers are defined (one off by default). SECURITY.md gives Salesforce's vulnerability reporting address and tells users to have their own security owners review this third-party product.

The agent can change records and deploy metadata in your org; do your first trial in a sandbox or scratch org and, in orgs with real customer data, check the agent's data policies. The skills.sh audits (November 23, 2026, platform-apex-generate page) show "pass" on all three checks; this is not a security certification.

Is it free? What does it need?

The skills and plugins library is free and Apache-2.0 licensed; there is no account or credit system. Cost can arise in three places: the Salesforce org you use (this page gives no org license or edition prices; those depend on your contract with Salesforce), the agent you run it in (for Claude Code, Anthropic's terms: a paid plan or a Console account) and, if you use Agentforce Vibes, its terms (the README doesn't state them). The Salesforce Development plugin is installed in Claude Code from the claude-plugins-official marketplace.

WhatCost
sf-skills (skills and plugins)Free (Apache-2.0)
A Salesforce orgSalesforce's business; this page gives no price
Salesforce CLIThe tool the skills call; for installing it, see Salesforce's page
Claude CodeA paid plan or a Console account is required (Anthropic)
Agentforce VibesNot clear in the official sources
Allowed
  • Use, modify and distribute the code and skills, including commercially (Apache-2.0)
Not allowed
  • Remove the license and copyright notice from copies
  • The software is provided "as is"; Salesforce gives no warranty

Source: LICENSE.txt (Apache License Version 2.0, "Copyright (c) 2026 Salesforce, Inc."), the README, the plugin README. This is not legal advice.

How do you update or remove it?

  1. Update: If you installed from the claude-plugins-official marketplace, the README says the plugin updates automatically; to update by hand, /plugin update salesforce-development@claude-plugins-official. If you installed from the salesforce marketplace, run /plugin marketplace update salesforce and then /plugin update salesforce-development@salesforce. The repository releases a version every week; the README doesn't describe a way to pin a version.
  2. Remove: /plugin uninstall salesforce-development@claude-plugins-official (or @salesforce, whichever you installed with). If you added the salesforce marketplace, also run /plugin marketplace remove salesforce. The README doesn't describe a way to remove a standalone npx skills install; see the skills CLI documentation.

Frequently asked questions

What is Salesforce Skills (sf-skills), and is it official?

The skills and plugins library Salesforce publishes in its GitHub organization (forcedotcom): 263 skill folders, 22 plugins and sample apps. The README says the skills are contributed by Salesforce and the broader community and that the library is optimized for Agentforce Vibes.

How do you install the Salesforce skills in Claude Code?

First you sign in to the org with sf org login web --alias my-org --set-default; then in Claude Code you type /plugin install salesforce-development@claude-plugins-official. For Salesforce's own marketplace, /plugin marketplace add forcedotcom/sf-skills and /plugin install salesforce-development@salesforce. The plugin needs Claude Code 2.1.222+, Node.js LTS, the Salesforce CLI and Python 3.8+.

What is the difference between installing with npx skills add and the plugin?

npx skills add forcedotcom/sf-skills installs only the skill instructions; the gates, commands and MCP tools come with the plugin. The README says four skills (platform-capability-search, platform-environment-validate, platform-lsp-integrate, platform-destructive-deploy) run commands that ship only with the plugin and don't come with a standalone install.

Can it deploy straight to a production org?

No. The platform-metadata-deploy skill forbids running sf project deploy start on production; the route is server-side validation and a quick deploy. The plugin also lets a production deploy through only if your whole reply is confirm production deploy to alias; the confirmation is valid for 10 minutes.

Does it work in Codex and Cursor?

Plugin support for Codex is in beta (Codex CLI 0.145.0+, a POSIX host). For Cursor and OpenCode, the README gives the standalone skill route (npx skills add forcedotcom/sf-skills) and says full plugin support depends on the client.

Are Salesforce Skills free?

The skills and plugins library is free (Apache-2.0). It needs access to a Salesforce org to work; the org license is Salesforce's business. The agent's own plan, such as Claude Code's, also applies. The plugin's usage telemetry is on by default; SF_DISABLE_TELEMETRY=true turns it off.

Does it work with requests in Turkish?

The documentation doesn't describe use with requests in Turkish. The skill texts and trigger words are in English (terms such as Apex, flow and SOQL are language-independent); check with a short request whether a request you write in Turkish triggers the right skill.

Related guides

Sources

Not clear in the official sources: The Salesforce org edition and license terms · Agentforce Vibes' pricing and access terms · uploading a standalone skill to the claude.ai app · a way to pin a version · use with requests in Turkish. Each is covered in the relevant section, along with what you can do.