b2c-site-import-export

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

A command-line tool for moving Salesforce B2C Commerce site archives between local files and a commerce instance. Site archives contain configuration and content metadata, commonly represented as XML.

In plain words
What is it for?
Use it to import a local directory or ZIP archive, apply several archives in order, export site configuration as XML, and organize site archive folders.
Why use it?
It avoids importing or exporting site configuration entirely through a web interface and supports repeatable archive workflows. Ordered imports can be applied idempotently, meaning rerunning them is intended to avoid unnecessary changes.

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 import a local directory or ZIP archive, apply several archives in order, export site configuration as XML, and organize site archive folders.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/salesforcecommercecloud/b2c-developer-tooling/b2c-site-import-export
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-site-import-export
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-site-import-export

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-site-import-export"><img src="https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/b2c-site-import-export.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 807 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
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 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 Memory Poisoning · line 113
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
  • medium Rogue Agent · line 3
    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 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 Data Exfiltration · line 303
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00033 $0.00807
Opus 5.5 $0.00013 $0.00323
Sonnet 5.5 $0.00007 $0.00161
Haiku 4.5 $0.00003 $0.00081

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

Security

Grade A, and why

b2c-site-import-export 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 26d 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.

skills/b2c-cli/skills/b2c-site-import-export/SKILL.md · 63 lines

How it starts

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

Site Archives

Use b2c job import / b2c job export to transfer site archives. If b2c is unavailable, use npx @salesforce/b2c-cli.

Configuration and tool choice

CLI and MCP share resolved configuration: SFCC_* variables (including project .env), project/shared dw.json, and plugins. package.json provides nonsecret defaults. Use --project-directory outside the target project. Inspect with b2c setup inspect --json or MCP config_inspect; keep secrets masked. Configured values normally make credential flags and manual dw.json reads unnecessary. For resolution issues, use b2c-cli:b2c-config.

Use the CLI for XML imports and exports, including settings absent from SCAPI contracts. Without a terminal, MCP site_archive_import imports XML given as text (skill://mcp/b2c-mcp-site-import/SKILL.md); it does not export. MCP scapi_execute can manage supported Admin fields; a metadata record alone does not prove that promotion discounts or targeting rules are configured.

Import and verify

  1. Resolve the target site/catalog and intended change. Include only relevant data in the archive; preserve unrelated settings and requested enabled state.
  2. Author XML in the platform archive layout. Check the relevant XSD with b2c docs schema <name> (list names with --list), then validate the archive with b2c validate ./archive (MCP: validate_xml_schema) and fix every error.
  3. Import the directory or zip. The command waits by default; --show-log shows job logs on failure. Check completion before retrying.
  4. Read back the affected fields. If the API omits them, export the matching data unit and inspect the relevant XML records. A successful job alone is insufficient.
b2c job import ./archive --show-log
b2c job export --site MySite --site-data campaigns_and_promotions --output ./verification

--site alone exports all site data; specify --site-data for focused work. For a full instance export use --all; --site all, --catalog all, etc. select every object of one type. Prefer these flags over hand-written --data-units JSON. Directory output retains the platform's generated *_export root. Do not overwrite an existing/applied migration. Exports may contain secrets or unrelated defaults; review and trim before committing, preserving XSD-required fields.

Read the full file on GitHub · 63 lines

Files

What ships with it

4 files 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. 26d ago Changed · +1 lines c3138b684fa0
  2. 1mo ago Changed · +1 lines d4fd80bca6cb
  3. 1mo ago Changed · +1 lines 4344818494f3
  4. 1mo ago Changed · +2 lines a8d27be0083b
  5. 2mo ago Changed 774643b9a77c
  6. 2mo ago Changed · -328 lines · -116 tokens per session 594605d601cb
  7. 3mo ago First seen · 386 lines · 149 tokens per session scan A f7ab9b86aa6e

Subscribe to this mod's changes

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

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

b2c-site-import-export next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
b2c-site-import-exportSalesforceCommerceCloud/b2c-developer-toolingSkill58todayApache-2.0A33Claude Code
shoppingHmbown/CodewhaleSkill41k2mo agoMITA0Claude Code, Codex
goofish-publish-itemfancyboi999/goofish-cliSkill5293d agoApache-2.0A151Claude Code
goofish-reply-buyerfancyboi999/goofish-cliSkill5293d agoApache-2.0A160Claude Code
goofish-shop-diagnosisfancyboi999/goofish-cliSkill5293d agoApache-2.0A149Claude Code
daiso-clihmmhmmhm/daiso-mcpSkill357yesterdayMITA165Claude Code, Codex
goofish-overviewfancyboi999/goofish-cliSkill5293d agoApache-2.0A143Claude Code, Codex