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 taurgis/sfcc-dev-mcp --skill sfcc-sfra-modelsgit clone --depth 1 https://github.com/taurgis/sfcc-dev-mcpWrote 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/taurgis/sfcc-dev-mcp/sfcc-sfra-models)<a href="https://agentmods.dev/skills/taurgis/sfcc-dev-mcp/sfcc-sfra-models"><img src="https://agentmods.dev/badge/skills/taurgis/sfcc-dev-mcp/sfcc-sfra-models/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/taurgis/sfcc-dev-mcp/sfcc-sfra-models"><img src="https://agentmods.dev/badge/skills/taurgis/sfcc-dev-mcp/sfcc-sfra-models.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00044 | $0.01929 |
| Opus 5 | $0.00022 | $0.00964 |
| Sonnet 5 | $0.00009 | $0.00386 |
| Haiku 4.5 | $0.00004 | $0.00193 |
Grade A, and why
sfcc-sfra-models 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 12d 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 — 323 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SFRA Models Development Skill
This skill guides you through creating and extending models in Salesforce B2C Commerce SFRA.
IMPORTANT: Before developing SFRA models, consult the sfcc-performance skill for database optimization and index-friendly API usage.
Quick Checklist
[ ] Model returns pure JSON (no API objects)
[ ] Decorators mutate objects, never clone/return
[ ] Expensive properties use lazy loading or caching
[ ] Sensitive data is sanitized or excluded
[ ] Custom cartridge mirrors base structure
[ ] Unit tests cover constructor and edge cases
What Are SFRA Models?
SFRA models are a JSON transformation layer that:
- Convert SFCC Script API objects into pure JSON
- Apply business logic specific to the storefront
- Structure data for optimal template rendering
- Provide a consistent interface between controllers and views
Models are passed to templates via viewData (accessible as pdict in templates).
Model Design Principles
- Pure JSON Output - Return only JSON-serializable data
- Single Responsibility - Each model handles one domain
- Composability - Models should be easily combinable
- Performance - Minimize API calls and database queries
- Testability - Models should be unit-testable with mock data
Basic Model Pattern
'use strict';
/**
* Address Model
* @param {dw.customer.OrderAddress} addressObject - Address from API
* @constructor
*/
function Address(addressObject) {
if (addressObject) {
this.address = {
firstName: addressObject.firstName,
lastName: addressObject.lastName,
address1: addressObject.address1,
city: addressObject.city,
postalCode: addressObject.postalCode,
stateCode: addressObject.stateCode,
countryCode: addressObject.countryCode.value,
phone: addressObject.phone
};
}
}
module.exports = Address;
Decorator Pattern
What ships with it
3 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.
- 12d ago First seen · 323 lines · 44 tokens per session scan A a3e8136a5050
sfcc-sfra-models is a skill published in the GitHub repository taurgis/sfcc-dev-mcp (28 stars, last pushed 6d ago), licensed MIT. It adds 44 tokens to every session and 1,929 once invoked, about $0.0002 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-08-30.
Other skills, from other repositories
nebula-logger-instrumentation
Use this skill when the user wants to add or update Nebula Logger instrumentation in Apex, LWC, Aura, Flow, or OmniStudio. Covers logging APIs, save patterns, record association, scenarios, tags, async transaction linking, and save method selection.
ada-diamonds-api
Reference for the Ada Diamonds public REST API (https://www.adadiamonds.com/api/v1) covering every endpoint, self-serve API keys and OAuth 2.1 scopes, the public sandbox key, rate limits, error shapes, versioning, and working curl examples. Use when integrating with Ada Diamonds over HTTP, generating client code…
salesforce
Use when working with Salesforce orgs — executing Apex, writing SOQL/SOSL, managing records, running tests, deploying metadata, or analyzing code. Guidance for the Salesforce MCP Server's tools, prompts, and resources.
sfcc-cartridge-development
Build SFRA-based Salesforce Commerce Cloud cartridges with controllers, ISML templates, and hooks to customize storefront behavior.
sfcc-ocapi-scapi
Integrate with Salesforce Commerce Cloud's headless APIs (OCAPI and Shopper APIs) to build custom storefronts and mobile commerce experiences.
sf-knowledge-api-placeorder
Apply Salesforce knowledge and best practices for Place Order REST API Developer Guide.