b2c-config

b2c-config is a skill for Claude Code from SalesforceCommerceCloud/b2c-developer-tooling. It costs 46 tokens per session (7,196 once invoked), scanned A, original, Apache-2.0.

A configuration and troubleshooting guide for Salesforce's B2C CLI, a command-line tool for developing and managing B2C Commerce projects. It covers setup, authentication, instance connections, and project defaults.

In plain words
What is it for?
Use it to configure or diagnose B2C CLI access, inspect environment and project settings, troubleshoot credentials, and connect to Salesforce B2C Commerce instances.
Why use it?
It helps explain where the CLI gets credentials and settings when commands cannot find an instance or authentication fails. It can inspect resolved configuration and its sources.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the b2c-cli plugin — 28 skills shipped together

Good fit Use it to configure or diagnose B2C CLI access, inspect environment and project settings, troubleshoot credentials, and connect to Salesforce B2C Commerce instances.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/salesforcecommercecloud/b2c-developer-tooling/b2c-config
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 SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-config
Clone the repo
git clone --depth 1 https://github.com/SalesforceCommerceCloud/b2c-developer-tooling

Made for: Claude Code.

Or install b2c-cli, the plugin that ships this one along with the rest of its 28 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 b2c-config

README.md
[![agentmods](https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-config/github.svg)](https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-config)
Your own site
<a href="https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-config"><img src="https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-config/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 b2c-config

Your own site · 80×15
<a href="https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-config"><img src="https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,196 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 3
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 363
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 366
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium MCP Rug Pull · line 10
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Rogue Agent · line 192
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Excessive Agency · line 234
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00046 $0.07196
Opus 5.5 $0.00018 $0.02878
Sonnet 5.5 $0.00009 $0.01439
Haiku 4.5 $0.00005 $0.00720

Measured 23d ago against content hash 8bf8f6029b08, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

b2c-config scanned grade A with 1 finding 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 23d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

# Use in curl for OCAPI calls
skills/b2c-cli/skills/b2c-config/SKILL.md · 492 lines

How it starts

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

B2C Config Skill

For routine inspection, call config_inspect or b2c setup inspect directly; no skill read is required. Keep secrets redacted; manually reading dw.json is usually unnecessary. Read the relevant section here when configuring sources or diagnosing unexpected/missing values.

Task CLI MCP Preference / difference Fallback
Inspect resolved configuration b2c setup inspect config_inspect Either; same resolver, redacted by default. MCP accepts per-call project/instance overrides. Inspect source files only for edits or unresolved issues.
Change configuration or authenticate b2c setup set, b2c setup, b2c auth No configuration-writing equivalent CLI; inspect command help for the requested operation. Edit the intended configuration source.

If b2c is unavailable, use npx @salesforce/b2c-cli.

How the CLI Discovers Configuration

The CLI automatically detects instance hostname, credentials, tenant ID, MRT API key, and other settings from multiple sources. You usually do not need to pass --server, --client-id, --client-secret, --username, --password, --tenant-id, --short-code, or --api-key as flags — the CLI picks them up from the environment or config files.

Sources, in resolution order (highest priority first):

  1. CLI flags and environment variables — explicit values always win. Shell variables win over the env file; toolkit variables (SFCC_*, MRT_*) in the project's .env (or the file selected with --dotenv-file / SFCC_DOTENV_FILE) come next.
  2. Plugin sources (high priority) — custom configuration plugins (e.g., secret managers).
  3. dw.json — selected by --config / SFCC_CONFIG, the env file, the project-local file, or the shared global dw.json. Supports a single instance or a configs[] array with active: true / -i <name> selection.
  4. Storefront Next variables — fallbacks that only fill fields missing from the selected dw.json entry (see below).
  5. ~/.mobify — home-directory file (MRT API key only).
  6. Plugin sources (low priority).
  7. package.json under the b2c key — non-sensitive project defaults (e.g., shortCode, clientId, mrtProject). Sensitive fields like clientSecret/password are intentionally not allowed here.

Read the full file on GitHub · 492 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. 23d ago Changed · +1 lines 8bf8f6029b08
  2. 1mo ago Changed · +3 lines 87a052c1a6fd
  3. 1mo ago Changed 1b8c7b09a06d
  4. 1mo ago Changed · +2 lines 776fe6b6235a
  5. 1mo ago Changed · +2 lines 81b8d7dd5745
  6. 1mo ago Changed · +2 lines a7c3a77abc6b
  7. 1mo ago Changed · +19 lines 66c53c4108a1
  8. 1mo ago Changed · +2 lines 29686f950e62
  9. 2mo ago Changed · +8 lines f32a08131d9b
  10. 2mo ago First seen · 453 lines · 46 tokens per session scan A 86f9a266b0e3

Subscribe to this mod's changes

b2c-config is a skill published in the GitHub repository SalesforceCommerceCloud/b2c-developer-tooling (58 stars, last pushed today), licensed Apache-2.0. It adds 46 tokens to every session and 7,196 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

b2c-config compared with skills from other repositories

b2c-config next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
b2c-configSalesforceCommerceCloud/b2c-developer-toolingSkill58todayApache-2.0A46Claude Code
voidenVoidenHQ/voidenSkill1.9kyesterdayApache-2.0A28Claude Code, Codex
csharp-dotnetericrisco/rsc-harnessSkill7072d agoMITA89Claude Code, Codex
scaffold-projectMarve10s/Better-FullstackSkill832yesterdayMITA80Claude Code
business-eventsmendixlabs/mxcliSkill148yesterdayApache-2.0A50Claude Code
migrate-oracle-formsmendixlabs/mxcliSkill148yesterdayApache-2.0A47Claude Code
remindb-setupradimsem/remindbSkill1294d agoMITA202Claude Code