commerce-b2b-open-code-components-integrate

commerce-b2b-open-code-components-integrate is a skill for Claude Code from forcedotcom/sf-skills. It costs 92 tokens per session (2,059 once invoked), scanned A, original, Apache-2.0.

A Salesforce integration tool that copies the official open-source B2B Commerce components and labels into a store's site metadata. B2B Commerce is Salesforce's system for building online business-to-business stores, and Experience Builder is its visual site editor.

In plain words
What is it for?
Use it to add the full open-source B2B Commerce component library to a new or existing store.
Why use it?
It makes the open-source components available inside the store's Experience Builder component list instead of requiring them to be added manually.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the commerce-b2b plugin — 2 skills shipped together

Good fit Use it to add the full open-source B2B Commerce component library to a new or existing store.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forcedotcom/sf-skills/commerce-b2b-open-code-components-integrate
About the project

forcedotcom/sf-skills is a collection of reusable instructions that help AI coding agents build and work with Salesforce applications and platform features. Developers use it for Agentforce agents, Lightning apps, Flow, Apex, SOQL, Lightning Web Components, and related Salesforce configuration. The catalogue entries are the repository’s skills, plugins, commands, MCP servers, and agents for AI tools that support skills.

forcedotcom/sf-skills · 1,201 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add forcedotcom/sf-skills --skill commerce-b2b-open-code-components-integrate
Clone the repo
git clone --depth 1 https://github.com/forcedotcom/sf-skills

Made for: Claude Code.

Or install commerce-b2b, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for commerce-b2b-open-code-components-integrate

README.md
[![agentmods](https://agentmods.dev/badge/skills/forcedotcom/sf-skills/commerce-b2b-open-code-components-integrate/github.svg)](https://agentmods.dev/skills/forcedotcom/sf-skills/commerce-b2b-open-code-components-integrate)
Your own site
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/commerce-b2b-open-code-components-integrate"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/commerce-b2b-open-code-components-integrate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for commerce-b2b-open-code-components-integrate

Your own site · 80×15
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/commerce-b2b-open-code-components-integrate"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/commerce-b2b-open-code-components-integrate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,059 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 22 Sept 2026
  • Snyk pass 22 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00092 $0.02059
Opus 5.5 $0.00037 $0.00824
Sonnet 5.5 $0.00018 $0.00412
Haiku 4.5 $0.00009 $0.00206

Measured 2mo ago against content hash de95daf8debf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

commerce-b2b-open-code-components-integrate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/builder/commerce-b2b/skills/commerce-b2b-open-code-components-integrate/SKILL.md · 175 lines

How it starts

The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.

When to Use This Skill

Use this skill when you need to:

  • Integrate all open source B2B Commerce components into a store
  • Add open source components to a new or existing B2B Commerce store
  • Make open code components available in Experience Builder

Rules

  1. Always explain before executing. Before running any command, you MUST tell the user what the command does and why you are running it. Never just show a raw command and ask for permission. The user should be able to read your explanation and understand the purpose before approving.

Overview

This skill copies all open source B2B Commerce components from the official Salesforce repository (https://github.com/forcedotcom/b2b-commerce-open-source-components) into a B2B Commerce store's site metadata. After integration, the components appear in the Experience Builder component palette.


Startup Flow

When this skill is triggered, perform these checks automatically before copying.

Check 0: Resolve Package Directory

Read sfdx-project.json and pick the active package directory. Extract packageDirectories[] and use the entry with "default": true; if no entry is flagged default, use the first entry. Use this value as <package-dir> everywhere below. If sfdx-project.json is missing or has no packageDirectories, tell the user and abort.

Check 1: Open Source Repository

Verify the repo is cloned at .tmp/b2b-commerce-open-source-components:

  1. If directory does not exist: Tell user: "I'm cloning the official B2B Commerce open source components repository from GitHub into a local .tmp/ folder. This gives us access to all the open code components." Then run: git clone https://github.com/forcedotcom/b2b-commerce-open-source-components .tmp/b2b-commerce-open-source-components
  2. If directory exists and contains force-app/main/default/sfdc_cms__lwc and sfdc_cms__label, present options:

    "Open source repository is already cloned. How would you like to proceed?"

    1. Reuse existing — Use the already cloned repository
    2. Re-clone — Remove and clone fresh from GitHub
  3. If directory exists but structure is invalid: Tell user: "The cloned repository has an unexpected structure. I'll remove it and clone a fresh copy." Then remove and re-clone.
  4. If clone fails: inform user and abort

Read the full file on GitHub · 175 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · -6 lines · -67 tokens per session de95daf8debf
  2. 2mo ago Changed 7e8796a59c47
  3. 3mo ago First seen · 181 lines · 159 tokens per session scan A 3f479a685da6

Subscribe to this mod's changes

commerce-b2b-open-code-components-integrate is a skill published in the GitHub repository forcedotcom/sf-skills (1,201 stars, last pushed 5d ago), licensed Apache-2.0. It adds 92 tokens to every session and 2,059 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

commerce-b2b-open-code-components-integrate compared with skills from other repositories

commerce-b2b-open-code-components-integrate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
commerce-b2b-open-code-components-integrateforcedotcom/sf-skillsSkill1.2k5d agoApache-2.0A92Claude Code
amazon-reviews-api-skillbrowser-act/skillsSkill6.5k28d agoMITA124Claude Code, Codex
amazon-competitor-analyzerbrowser-act/skillsSkill6.5k28d agoMITA48Claude Code, Codex
cloudbase-wechat-integrationTencentCloudBase/CloudBase-AI-ToolkitSkill1.2ktodayMITA94Claude Code
asc-subscription-localizationrorkai/app-store-connect-cli-skillsSkill1.2k2d agoMITA60Claude Code
woo-guardamElnagdy/guard-skillsSkill1.3k8d agoMITA216Codex
product-description-generatornexscope-ai/eCommerce-SkillsSkill1.6k21d agoMITA126Claude Code, Codex