b2c-mcp-site-import

b2c-mcp-site-import is a skill for Claude Code, Codex from SalesforceCommerceCloud/b2c-developer-tooling. It costs 43 tokens per session (656 once invoked), scanned A, original, Apache-2.0.

A tool for importing Salesforce B2C Commerce data from site-archive XML files. Salesforce B2C Commerce is an e-commerce platform, and site archives are structured files used to move store data into it.

In plain words
What is it for?
Use it for promotion discount rules and other catalogue, pricebook, inventory, site-preference, or system-object data that lacks a suitable SCAPI write operation.
Why use it?
It handles data that the platform's normal API cannot write, while validating the XML before importing it. This avoids using unsupported terminal, command-line, or WebDAV steps.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for promotion discount rules and other catalogue, pricebook, inventory, site-preference, or system-object data that lacks a suitable SCAPI write operation.

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

Made for: Claude Code, Codex.

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-mcp-site-import

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-mcp-site-import"><img src="https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-mcp-site-import.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 656 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.
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.00043 $0.00656
Opus 5.5 $0.00017 $0.00262
Sonnet 5.5 $0.00009 $0.00131
Haiku 4.5 $0.00004 $0.00066

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

Security

Grade A, and why

b2c-mcp-site-import 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 22d 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.

packages/b2c-dx-mcp/skills/b2c-mcp-site-import/SKILL.md · 52 lines

How it starts

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

Site archive import

site_archive_import takes archive files as text, validates each against its bundled schema, zips them and runs the sfcc-site-archive-import job. Nothing is uploaded if a file fails validation, so a separate validate_xml_schema call is not needed. No terminal, CLI or WebDAV steps are involved. Read this skill once through resources or skills_read (mcp/b2c-mcp-site-import), then pass skillRead: true.

When to use

Prefer SCAPI (scapi_execute) for any field its contracts cover. Use an archive import for data SCAPI cannot write today, for example promotion discount rules (see the SCAPI promotions reference). Create the records themselves through SCAPI where possible, then import only what SCAPI lacks.

Write the files

  • Paths are relative to the archive root: sites/{siteId}/promotions.xml, catalogs/{catalogId}/catalog.xml, pricebooks/{priceBookId}/pricebook.xml, inventory-lists/{listId}/inventory.xml, sites/{siteId}/preferences.xml, meta/system-objecttype-extensions.xml. Use the IDs you resolved, not guesses.
  • Include only the records and elements you mean to change. Import merges: a record that carries only some elements updates those and keeps the rest (for example, a <promotion> with only its rule keeps its name and campaign assignment). Do not export and re-import whole files to change one record.
  • For element names and order, read the schema with docs_schema_read (promotion, catalog, pricebook, ...), or copy the shape of an existing record.

Run and verify

  1. Call with dryRun: true first when the XML is new to you. Fix every errors entry (line and message) and call again. A skip status means no bundled schema applies; that file is imported without validation.
  2. Run the import. outcome is imported when the job finished OK. On failed, read execution.logFilePath with webdav_get (tail: true) before changing anything; do not rerun an import to find out what happened.
  3. Verify with a read: a SCAPI GET for fields it returns. For fields no API returns, ask the user to check Business Manager, or with a terminal export the data unit (b2c job export). A finished job alone does not prove the data changed.

Read the full file on GitHub · 52 lines

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. 22d ago Changed · +1 lines 15a922b20640
  2. 23d ago First seen · 51 lines · 43 tokens per session scan A 97abe85a53e3

Subscribe to this mod's changes

b2c-mcp-site-import is a skill published in the GitHub repository SalesforceCommerceCloud/b2c-developer-tooling (58 stars, last pushed today), licensed Apache-2.0. It adds 43 tokens to every session and 656 once invoked, about $0.0002 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-11-08.

Related

b2c-mcp-site-import compared with skills from other repositories

b2c-mcp-site-import next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
b2c-mcp-site-importSalesforceCommerceCloud/b2c-developer-toolingSkill58todayApache-2.0A43Claude Code, Codex
shoppingHmbown/CodewhaleSkill41k2mo agoMITA0Claude Code, Codex
goofish-publish-itemfancyboi999/goofish-cliSkill526yesterdayApache-2.0A151Claude Code
goofish-shop-diagnosisfancyboi999/goofish-cliSkill526yesterdayApache-2.0A149Claude Code
daiso-clihmmhmmhm/daiso-mcpSkill356todayMITA165Claude Code, Codex
goofish-overviewfancyboi999/goofish-cliSkill526yesterdayApache-2.0A143Claude Code, Codex
goofish-risk-guardfancyboi999/goofish-cliSkill526yesterdayApache-2.0A194Claude Code