commerce-order-management

commerce-order-management is a skill for Claude Code, Codex from BanibrataChatterjee/AwesomeSalesforceSkills. It costs 103 tokens per session (3,456 once invoked), scanned A, original, Apache-2.0.

A guide to managing orders in Salesforce Order Management, including fulfillment, returns, exchanges, cancellations, and order status changes.

In plain words
What is it for?
Use it to create order summaries, route fulfillment orders, process returns and cancellations, handle payment jobs, and subscribe to order events.
Why use it?
It helps avoid using the wrong Salesforce order tools and explains the requirements for handling order changes safely.

Skill for Claude CodeCodex

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

Good fit Use it to create order summaries, route fulfillment orders, process returns and cancellations, handle payment jobs, and subscribe to order events.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/banibratachatterjee/awesomesalesforceskills/commerce-order-management
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 commerce-order-management
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 commerce-order-management

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/banibratachatterjee/awesomesalesforceskills/commerce-order-management"><img src="https://agentmods.dev/badge/skills/banibratachatterjee/awesomesalesforceskills/commerce-order-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,456 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.00103 $0.03456
Opus 5 $0.00051 $0.01728
Sonnet 5 $0.00021 $0.00691
Haiku 4.5 $0.00010 $0.00346

Measured 9d ago against content hash a8ab3319d193, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

commerce-order-management 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check_commerce_order_management.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/commerce-order-management/SKILL.md · 232 lines

How it starts

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

Commerce Order Management

This skill activates when a practitioner needs to set up or extend Salesforce Order Management (OMS): creating OrderSummary records from activated Orders, building FulfillmentOrder routing logic, processing cancellations and returns through Connect API actions, handling async payment jobs, and subscribing to OMS platform events. It covers only OMS-licensed orgs — it does NOT cover CPQ orders or standard Salesforce Orders outside of OMS.


Before Starting

Gather this context before working on anything in this domain:

  • Confirm the org has a Salesforce Order Management or Commerce license. OMS objects (OrderSummary, FulfillmentOrder, ReturnOrder) and Connect API order management actions are unavailable without it.
  • Establish the OrderLifeCycleType for each OrderSummary before creation: MANAGED (all mutations must go through Connect API actions) or UNMANAGED (direct DML is allowed). This value is immutable after the OrderSummary record is created.
  • Verify the upstream Order is in Activated status before triggering OrderSummary creation. A Draft or non-activated Order will not produce a valid OrderSummary.
  • CPQ-generated Orders do NOT automatically create OrderSummary records and are not in scope for this skill.
  • Payment gateway and payment method setup must be confirmed before testing ensure-funds or ensure-refunds flows.

Core Concepts

Order Lifecycle in OMS

The canonical OMS object chain is:

Order (Activated)
  └── OrderSummary (OrderLifeCycleType: MANAGED | UNMANAGED)
        ├── OrderItemSummary (one per OrderItem, represents product line)
        └── OrderDeliveryGroupSummary (groups items by shipping address/method)
              └── FulfillmentOrder
                    └── FulfillmentOrderLineItem
ReturnOrder
  └── ReturnOrderLineItem

An Order must reach Status = Activated before the OMS trigger fires to create the OrderSummary. The OrderSummary represents the commercial truth of the order throughout its lifecycle and is the anchor for all downstream financial and fulfillment records.

Read the full file on GitHub · 232 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. 9d ago First seen · 232 lines · 103 tokens per session scan A a8ab3319d193

Subscribe to this mod's changes

commerce-order-management is a skill published in the GitHub repository BanibrataChatterjee/AwesomeSalesforceSkills (3 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 103 tokens to every session and 3,456 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

commerce-order-management

Use this skill for Salesforce Order Management (OMS) tasks: order lifecycle, OrderSummary creation and status, FulfillmentOrder creation and routing, returns, exchanges, cancellations, and platform event subscriptions. Trigger keywords: order management, OrderSummary, FulfillmentOrder, ReturnOrder, ensure-funds…

PranavNagrecha/AwesomeSalesforceSkills · 112 tokens

order-management-system

Design an order management system that routes orders to the right warehouse, handles split shipments, and manages backorders gracefully.

finsilabs/awesome-ecommerce-skills · 26 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

order-processing-pipeline

Implement a reliable order state machine that moves orders from pending through payment, fulfillment, and delivery with webhook-driven transitions.

finsilabs/awesome-ecommerce-skills · 27 tokens

cpq-approval-workflows

Configuring or troubleshooting Salesforce CPQ Advanced Approvals: SBAAApprovalRulec, SBAAApprovalVariablec for cross-line aggregation, SBAAApprovalChainc for ordered approver sequences, escalation timeouts, Smart Approvals for re-quote skip logic, and the managed package's permission sets. Trigger keywords: CPQ…

PranavNagrecha/AwesomeSalesforceSkills · 145 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