b2b-commerce-store-setup

b2b-commerce-store-setup is a skill for Claude Code, Codex from BanibrataChatterjee/AwesomeSalesforceSkills. It costs 95 tokens per session (3,058 once invoked), scanned A, original, Apache-2.0.

A guide to configuring a Salesforce B2B Commerce storefront for business buyers. It covers the store, buyer groups, purchasing rules, and which buyer contacts can transact.

In plain words
What is it for?
Use it to create a WebStore, connect buyer groups and entitlement policies, and grant buyer contacts transactional access.
Why use it?
It prevents buyers from being unable to access or purchase from a store because account groups, purchasing permissions, or contact roles are incomplete.

Skill for Claude CodeCodex

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

Good fit Use it to create a WebStore, connect buyer groups and entitlement policies, and grant buyer contacts transactional access.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/banibratachatterjee/awesomesalesforceskills/b2b-commerce-store-setup
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 BanibrataChatterjee/AwesomeSalesforceSkills --skill b2b-commerce-store-setup
Clone the repo
git clone --depth 1 https://github.com/BanibrataChatterjee/AwesomeSalesforceSkills

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 b2b-commerce-store-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/banibratachatterjee/awesomesalesforceskills/b2b-commerce-store-setup/github.svg)](https://agentmods.dev/skills/banibratachatterjee/awesomesalesforceskills/b2b-commerce-store-setup)
Your own site
<a href="https://agentmods.dev/skills/banibratachatterjee/awesomesalesforceskills/b2b-commerce-store-setup"><img src="https://agentmods.dev/badge/skills/banibratachatterjee/awesomesalesforceskills/b2b-commerce-store-setup/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 b2b-commerce-store-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/banibratachatterjee/awesomesalesforceskills/b2b-commerce-store-setup"><img src="https://agentmods.dev/badge/skills/banibratachatterjee/awesomesalesforceskills/b2b-commerce-store-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,058 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.00095 $0.03058
Opus 5 $0.00048 $0.01529
Sonnet 5 $0.00019 $0.00612
Haiku 4.5 $0.00010 $0.00306

Measured 7d ago against content hash 0d969d2e4e96, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

b2b-commerce-store-setup 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check_b2b_commerce_store_setup.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/admin/b2b-commerce-store-setup/SKILL.md · 221 lines

How it starts

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

B2B Commerce Store Setup

This skill activates when a practitioner needs to configure or troubleshoot buyer access on a Salesforce B2B Commerce storefront — including WebStore creation, BuyerGroup assignment, entitlement policy linking, and granting individual contacts the ability to transact.


Before Starting

Gather this context before working on anything in this domain:

  • Confirm whether the org uses B2B Commerce for Visualforce (legacy) or B2B Commerce on Lightning Experience — the admin UI differs, but the underlying data model (WebStore, BuyerGroup, CommerceEntitlementPolicy) is the same.
  • The most common wrong assumption: all contacts under a BuyerAccount automatically inherit storefront access. They do not. Only contacts explicitly assigned the Buyer or Buyer Manager role via a BuyerAccountAccess (contact-level role assignment) can log in and transact. Missing this step causes silent access failures that appear identical to entitlement misconfiguration.
  • Hard platform limits that cannot be raised via support case:
    • Maximum 200 BuyerGroups per CommerceEntitlementPolicy.
    • A product entitled across more than 2,000 BuyerGroups per store is silently excluded from storefront search indexing beyond that cap — the product remains visible in Commerce admin but disappears from buyer-facing search.

Core Concepts

1. The WebStore → BuyerGroup → EntitlementPolicy Access Chain

The complete access model is a chain of junction objects:

WebStore
  └─ WebStoreBuyerGroup (junction)
       └─ BuyerGroup
            └─ CommerceEntitlementBuyerGroup (junction)
                 └─ CommerceEntitlementPolicy
                      └─ Entitled Product2 records

In parallel, buyer membership flows through:

Account (converted to BuyerAccount)
  └─ BuyerGroupMember  → BuyerGroup
  └─ Contact (assigned Buyer or Buyer Manager role via buyer access record)

A buyer contact can only see and purchase products that are:

  1. Part of a CommerceEntitlementPolicy linked to a BuyerGroup
  2. Where that BuyerGroup is linked to the WebStore the contact is accessing
  3. Where the Account is a member of that same BuyerGroup via BuyerGroupMember
  4. Where the contact themselves has an explicit Buyer or Buyer Manager role assignment

Read the full file on GitHub · 221 lines

Files

What ships with it

6 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. 7d ago First seen · 221 lines · 95 tokens per session scan A 0d969d2e4e96

Subscribe to this mod's changes

b2b-commerce-store-setup is a skill published in the GitHub repository BanibrataChatterjee/AwesomeSalesforceSkills (3 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 95 tokens to every session and 3,058 once invoked, about $0.0005 per session on Opus 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-09-03.

Related

Other skills, from other repositories

b2b-commerce-store-setup

Use this skill to configure a Salesforce B2B Commerce storefront: creating the WebStore, linking BuyerGroups, assigning CommerceEntitlementPolicies, and granting buyer contacts transactional access. Trigger keywords: B2B Commerce, WebStore, BuyerGroup, entitlement policy, buyer account, storefront access. NOT for…

PranavNagrecha/AwesomeSalesforceSkills · 109 tokens

b2b-vs-b2c-requirements

Use this skill to determine whether a Salesforce Commerce project should use B2B Commerce (account-gated, BuyerGroup-based, contract pricing) or D2C Commerce (consumer storefront, guest checkout, individual-based). Trigger keywords: B2B vs B2C, commerce platform selection, buyer journey, account-based purchasing…

PranavNagrecha/AwesomeSalesforceSkills · 126 tokens

commerce-pricing-and-promotions

Configure pricebooks, tiered pricing, promotions, coupon codes, and cart discounts for B2B or D2C Commerce stores. Trigger keywords: WebStorePricebook, BuyerGroupPricebook, PriceAdjustmentSchedule, PromotionsCartCalculator, commerce coupon, cart-level discount, tiered price, Commerce promotion. NOT for Sales Cloud…

PranavNagrecha/AwesomeSalesforceSkills · 106 tokens

commerce-product-catalog

Use when configuring or troubleshooting the B2B/B2C Commerce product catalog — ProductCatalog, ProductCategory, ProductCategoryProduct, WebStoreCatalog, CommerceEntitlementPolicy, product attributes, and product variants. Trigger keywords: product catalog, product category, commerce catalog, entitlement policy…

PranavNagrecha/AwesomeSalesforceSkills · 116 tokens

commerce-catalog-strategy

Use this skill when designing a product catalog taxonomy, planning attribute strategy, or determining search and navigation structure for a B2B or B2C/D2C Commerce store. Triggers on: taxonomy design questions, attribute planning, search index strategy, category navigation structure, or merchandising hierarchy…

PranavNagrecha/AwesomeSalesforceSkills · 114 tokens

shopify-admin

Shopify Admin API access for Primal TCG - clientcredentials token mint (24h expiry) and X-Shopify-Access-Token request pattern.

abel30567/fermi-mcp · 34 tokens