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.
npx skills add SalesforceCommerceCloud/b2c-developer-tooling --skill sfnext-scapigit clone --depth 1 https://github.com/SalesforceCommerceCloud/b2c-developer-toolingWrote 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.
[](https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-scapi)<a href="https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-scapi"><img src="https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-scapi/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.
<a href="https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-scapi"><img src="https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/sfnext-scapi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00227 | $0.02548 |
| Opus 5.5 | $0.00091 | $0.01019 |
| Sonnet 5.5 | $0.00045 | $0.00510 |
| Haiku 4.5 | $0.00023 | $0.00255 |
Grade A, and why
sfnext-scapi 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.
How it starts
The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Storefront Next SCAPI Clients and Custom APIs
The runtime (@salesforce/storefront-next-runtime/scapi) already ships typed clients for the standard shopper APIs (products, search, baskets, customers, orders, and so on). You do not "add" those. sfnext scapi add does one of two things on top:
- Override a built-in client (client key matches, for example
shopperProducts) with a richer schema, typically your tenant's schema expanded withc_*custom attributes, soproduct.c_myAttris typed. - Add a custom API you deployed to B2C Commerce (a new property such as
clients.loyalty).
Which one you get is decided automatically from the client key. Deep dive: docs/README-SCAPI.md in your project.
The CLI surface
Run as b2c sfnext scapi ..., or inside your project as pnpm sfnext scapi ... (the sfnext bin ships with the project). Add -d <dir> / --project-directory to target another directory.
| Command | What it does |
|---|---|
scapi available |
Probes your tenant: for each of the built-in shopper APIs counts c_* attributes, lists tenant custom APIs, and prints the matching scapi add command. Needs OAuth. No filter flags. |
scapi add <apiFamily> <apiName> <apiVersion> |
Pull mode: fetch the schema from the SCAPI Schemas API. Needs OAuth. |
scapi add --schema <file> --name <clientKey> |
Local mode: use a YAML/JSON OpenAPI file. --name is required here. |
scapi list |
Shows registered Overrides and Custom APIs (schema, base path, locale). |
scapi remove <clientKey> |
Removes the registration and its generated files (one positional argument: the client key, for example loyalty). |
add flags: --name <key> (defaults to camelCase of the API name in pull mode), --base-path <path> (derived from the schema servers[].url if omitted), --supports-locale / --no-supports-locale (overrides inherit the built-in default), --expand-custom-properties (default on, pull mode only; include c_*, use --no-expand-custom-properties to skip). Re-running add regenerates; there is no --force and no --json. There is no install step after add.
What ships with it
2 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.
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.
- 2mo ago First seen · 127 lines · 227 tokens per session scan A 19e3aca66aa6
sfnext-scapi is a skill published in the GitHub repository SalesforceCommerceCloud/b2c-developer-tooling (58 stars, last pushed today), licensed Apache-2.0. It adds 227 tokens to every session and 2,548 once invoked, about $0.0009 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-10-05.
sfnext-scapi compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sfnext-scapiSalesforceCommerceCloud/b2c-developer-tooling | Skill | 58 | today | Apache-2.0 | A | 227 | Claude Code |
| shopify-app-developmentfinsilabs/awesome-ecommerce-skills | Skill | 71 | 1mo ago | MIT | A | 27 | Claude Code, Codex |
| sfcc-ocapi-scapifinsilabs/awesome-ecommerce-skills | Skill | 71 | 1mo ago | MIT | B | 34 | Claude Code, Codex |
| pp-delhivery-mapsmvanhorn/printing-press-library | Skill | 2.2k | yesterday | Apache-2.0 | E | 104 | Claude Code |
| grow-payment-gatewaysquadcodercom/squadcoder | Skill | 12 | 5mo ago | MIT | A | 274 | Claude Code, Codex |
| israeli-shipping-managersquadcodercom/squadcoder | Skill | 12 | 5mo ago | MIT | A | 207 | Claude Code |
| convex-billingopenclaw/clawhub | Skill | 9.6k | yesterday | MIT | A | 29 | Claude Code, Codex |