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
› 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).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?
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-generateplugins/builder/; they bundle skills with commands, hooks and MCP. Salesforce Development is the most basic one (38 skills, gates, 4 MCP servers).samples/, sample React apps synced from npm.| Your job | Skills (examples) | Plugin |
|---|---|---|
| Having an Apex class and its test written, running the test | platform-apex-generate, platform-apex-test-generate, platform-apex-test-run | salesforce-development |
| Producing Flows, custom objects, fields, permission sets | automation-flow-generate, platform-custom-object-generate, platform-custom-field-generate, platform-permission-set-generate | salesforce-development |
| Writing SOQL, handling data | platform-soql-query, platform-data-manage | salesforce-development |
| Deploying (sandbox, production) | platform-metadata-deploy, platform-metadata-retrieve | salesforce-development |
| Scanning code, reviewing architecture | dx-code-analyzer-run, dx-code-analyzer-custom-rule-create | salesforce-code-quality |
| Having Lightning Web Components written | experience-lwc-generate | experience-lwc |
| Setting up a React UI bundle | experience-ui-bundle-* | experience-react |
| Writing and testing an Agentforce agent | agentforce-generate, agentforce-test | agentforce-adlc |
| DevOps Center, packaging, org lifecycle | dx-devops-*, dx-packaging-*, dx-org-* | dx-devops, dx-packaging, dx-org-lifecycle |
| Omni-Channel, ITSM, digital channels | service-omni-*, service-itsm-*, service-digital-engagement-* | service-omni, service-itsm, service-engagement |
| Industry clouds: Consumer Goods, Education | consumer-goods-*, education-cloud-* | consumer-goods, education-cloud |
| OmniStudio, Field Service, Life Sciences, Nonprofit | omnistudio-*, field-service-*, life-sciences-*, nonprofit-* | No plugin with a matching name in the list; standalone skills |
| Area prefix | Skills | What it covers |
|---|---|---|
| service | 69 | Service Cloud: Omni-Channel, ITSM, digital channels, email and cases |
| platform | 48 | Apex, metadata, SOQL, data, permissions and sharing, deployment |
| experience | 42 | LWC, React UI bundle, Experience Cloud, CMS |
| dx | 29 | Salesforce CLI workflows: orgs, DevOps Center, packaging, code analysis |
| field-service | 11 | Field Service: data capture forms, scheduling, mobile |
| agentforce | 9 | Agentforce agents: writing, testing, observing |
| omnistudio | 8 | FlexCard, OmniScript, Integration Procedure, DataMapper |
| others | 47 | Consumer 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 LTS | The 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 org | You sign in through the browser; the skills work on this org |
› sf org login web --alias my-org --set-default› /plugin install salesforce-development@claude-plugins-official› /plugin marketplace add forcedotcom/sf-skills
/plugin install salesforce-development@salesforce› /salesforce-development:setupREADME: 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.
› npx skills add forcedotcom/sf-skillsREADME: four skills (platform-capability-search, platform-environment-validate, platform-lsp-integrate, platform-destructive-deploy) run commands that ship only with the plugin; they don't come on this route, so install the plugin to use them. The gates and MCP tools don't come on this route either: only the skill instructions.
› codex plugin marketplace add forcedotcom/sf-skills --json
codex plugin add salesforce-development@salesforce --jsonREADME: Codex support is in beta. It needs Codex CLI 0.145.0+ and a POSIX host with Bash and Python 3.8+; start a new session after installing and review the hooks in Codex /hooks. The Codex sandbox can block writes to ~/.sf; the detail is in the plugin README. Claude Code-specific agents and hooks don't carry over to Codex.
README: in Agentforce Vibes the skills are installed and updated automatically; there is no separate step. Agentforce Vibes' pricing and access terms aren't stated in the README.
!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.
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.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.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.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?
| Claude CodeYes | The plugin (gates, commands, MCP) and standalone skills; the README asks for Claude Code 2.1.222+. |
|---|---|
| CodexBeta | Plugin 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, OpenCodePartly | The README gives the standalone skill route (npx skills); it says "full plugin support depends on the client and plugin manifest". |
| Agentforce VibesYes | Skills are installed and updated automatically; the library is optimized for Agentforce Vibes. |
| claude.ai and Claude DesktopUnclear | The 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?
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.
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.
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.
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.
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.
| What | Cost |
|---|---|
| sf-skills (skills and plugins) | Free (Apache-2.0) |
| A Salesforce org | Salesforce's business; this page gives no price |
| Salesforce CLI | The tool the skills call; for installing it, see Salesforce's page |
| Claude Code | A paid plan or a Console account is required (Anthropic) |
| Agentforce Vibes | Not clear in the official sources |
- Use, modify and distribute the code and skills, including commercially (Apache-2.0)
- 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?
- Update: If you installed from the
claude-plugins-officialmarketplace, the README says the plugin updates automatically; to update by hand,/plugin update salesforce-development@claude-plugins-official. If you installed from thesalesforcemarketplace, run/plugin marketplace update salesforceand then/plugin update salesforce-development@salesforce. The repository releases a version every week; the README doesn't describe a way to pin a version. - Remove:
/plugin uninstall salesforce-development@claude-plugins-official(or@salesforce, whichever you installed with). If you added thesalesforcemarketplace, also run/plugin marketplace remove salesforce. The README doesn't describe a way to remove a standalonenpx skillsinstall; 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
- forcedotcom/sf-skills repository (README)
- Salesforce Development plugin README
- Plugin marketplace (marketplace.json)
- platform-metadata-deploy
- platform-apex-generate
- automation-flow-generate
- Changelog
- Vulnerability reporting (SECURITY.md)
- License (Apache-2.0)
- Salesforce Development plugin documentation
- npm package (@salesforce/afv-skills)
- skills.sh page and audits
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.




