sf-b2c-isml

sf-b2c-isml is a skill for Claude Code from OrcaQubits/agentic-commerce-skills-plugins. It costs 68 tokens per session (2,010 once invoked), scanned A, original, MIT.

A guide to writing ISML templates, Salesforce B2C Commerce's template language for generating storefront pages. It covers page layouts, conditions, loops, reusable templates, and translated messages.

In plain words
What is it for?
Use it to create page templates, display product or customer data, include shared layouts, add conditional content, and render translated text.
Why use it?
It helps developers build and extend server-rendered B2C storefront pages while handling output encoding and localisation correctly.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the salesforce-commerce plugin — 22 skills, 1 agent shipped together

Good fit Use it to create page templates, display product or customer data, include shared layouts, add conditional content, and render translated text.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orcaqubits/agentic-commerce-skills-plugins/sf-b2c-isml
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 OrcaQubits/agentic-commerce-skills-plugins --skill sf-b2c-isml
Clone the repo
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins

Made for: Claude Code.

Or install salesforce-commerce, the plugin that ships this one along with the rest of its 22 skills, 1 agent.

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 sf-b2c-isml

README.md
[![agentmods](https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/sf-b2c-isml/github.svg)](https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/sf-b2c-isml)
Your own site
<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/sf-b2c-isml"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/sf-b2c-isml/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 sf-b2c-isml

Your own site · 80×15
<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/sf-b2c-isml"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/sf-b2c-isml.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,010 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.00068 $0.02010
Opus 5 $0.00034 $0.01005
Sonnet 5 $0.00014 $0.00402
Haiku 4.5 $0.00007 $0.00201

Measured 2d ago against content hash 545d082bf902, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-16, from the pricing page.

Security

Grade A, and why

sf-b2c-isml 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 2d 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.

salesforce-commerce/skills/sf-b2c-isml/SKILL.md · 192 lines

How it starts

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

sf-b2c-isml

Build ISML (Internet Store Markup Language) templates for Salesforce B2C Commerce storefronts.

Before Writing Code

Fetch live documentation FIRST:

  • Search: "Salesforce B2C Commerce ISML reference 2026"
  • Search: "B2C Commerce template best practices encoding modes"
  • WebFetch: Official ISML tag reference from Salesforce docs
  • WebFetch: Template best practices and encoding guidelines

Why: ISML syntax, tag attributes, encoding modes, and localization patterns evolve with each B2C Commerce release. Always verify current specs before generating template code.

Conceptual Architecture

ISML Key Tags

Tag Purpose Key Attributes
<isprint> Output with encoding value, encoding (required for XSS safety)
<isif> / <iselseif> / <iselse> Conditional rendering condition
<isloop> Iteration items, var, status, begin, end, step
<isset> Variable assignment name, value, scope (page/request/session)
<isinclude> Include partial template template (path) or url (controller action)
<isdecorate> Decorator/layout wrapper template (decorator path)
<isreplace> Insertion point in decorator (no attributes)
<isslot> Content slot id, context (category/folder/global), description
<iscache> Template-level caching type, hour, varyby
<isscript> Inline server-side JS (use sparingly -- prefer controllers)
<iscontent> Set content type/charset type, charset
<isstatus> Set HTTP status code code
<isredirect> Server-side redirect location
<iscomment> Server-side comment (not rendered to client)

Encoding Modes for <isprint>

Mode Context When to Use
htmlcontent HTML body text Default for most output (de facto SFRA standard)
htmlsinglequote Single-quoted HTML attributes <div title='...'>
htmldoublequote Double-quoted HTML attributes <div title="...">
htmlunquote Unquoted HTML attributes Rarely needed; prefer quoted attributes
jshtml JavaScript strings in HTML <script>var x = '...';</script>
jsattribute JS in HTML event attributes onclick="..."
jsonvalue JSON values JSON data output
uricomponent URL query parameters Query string values
uristrict Full URI encoding Path segments
xmlcontent XML body content XML/RSS feeds
off No encoding Trusted content ONLY -- avoid in production

Read the full file on GitHub · 192 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. 2d ago First seen · 192 lines · 68 tokens per session scan A 545d082bf902

Subscribe to this mod's changes

sf-b2c-isml is a skill published in the GitHub repository OrcaQubits/agentic-commerce-skills-plugins (39 stars, last pushed 2d ago), licensed MIT. It adds 68 tokens to every session and 2,010 once invoked, about $0.0003 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-15.