commerce-js-integration

commerce-js-integration is a skill for Claude Code, Codex from finsilabs/awesome-ecommerce-skills. It costs 29 tokens per session (2,947 once invoked), scanned A, original, MIT.

A JavaScript software development kit for adding a small online store to a website or JavaScript project. Commerce.js provides access to products, shopping carts, checkout, and orders through its managed commerce service.

In plain words
What is it for?
Use it to display products, manage carts, create checkouts, and capture orders in static sites or React, Vue, and Svelte projects.
Why use it?
It adds basic online selling without requiring a full ecommerce platform or a complex custom backend. This suits sites that need a lightweight, managed commerce connection.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions Gemini CLI; mentions OpenCode.

Good fit Use it to display products, manage carts, create checkouts, and capture orders in static sites or React, Vue, and Svelte projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/finsilabs/awesome-ecommerce-skills/commerce-js-integration
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 finsilabs/awesome-ecommerce-skills --skill commerce-js-integration
Clone the repo
git clone --depth 1 https://github.com/finsilabs/awesome-ecommerce-skills

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-js-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/commerce-js-integration/github.svg)](https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/commerce-js-integration)
Your own site
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/commerce-js-integration"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/commerce-js-integration/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-js-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/commerce-js-integration"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/commerce-js-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,947 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.00029 $0.02947
Opus 5 $0.00015 $0.01473
Sonnet 5 $0.00006 $0.00589
Haiku 4.5 $0.00003 $0.00295

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

Security

Grade A, and why

commerce-js-integration 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 11d 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.

skills/headless-modern/commerce-js-integration/SKILL.md · 344 lines

How it starts

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

Commerce.js Integration

Overview

Commerce.js (Chec) is a headless commerce platform offering a JavaScript SDK that wraps its REST API for managing products, carts, checkouts, and orders. It is designed for developers who want to add commerce functionality to any website or JavaScript framework without the complexity of a full e-commerce platform. The SDK handles product fetching, cart lifecycle, checkout token creation, and order capture in a straightforward, promise-based API.

When to Use This Skill

  • When you want to add e-commerce to a static site or simple React/Vue/Svelte project quickly
  • When you don't need a complex backend and want a managed commerce API without server-side code
  • When building a portfolio project, MVP, or proof-of-concept headless store
  • When your catalog is small (under 1,000 products) and you don't need custom fulfillment logic
  • When you want a simple SDK without managing a full Shopify or commercetools environment

Prerequisites & Platform Notes

This skill is written for custom/headless storefronts (Node.js, Python, or similar backend). The code examples use TypeScript/Node.js and can be adapted to any stack.

Shopify: Shopify Hydrogen is Shopify's headless framework. MACH/composable patterns apply when using Shopify as the commerce backend with a custom frontend, or when mixing Shopify with other best-of-breed services. WooCommerce: WooCommerce can serve as a headless backend via its REST API and WPGraphQL. These patterns apply when decoupling the frontend from WordPress. Magento: Magento's GraphQL API and PWA Studio support headless architectures. These composable patterns apply to Magento as a backend service in a MACH stack.

You'll need:

  • Node.js 18+ (or adapt to your backend language)
  • Stripe account and API keys
  • An email sending service (SendGrid, AWS SES, or Postmark)

Core Instructions

  1. Install the SDK and initialize the client

    npm install @chec/commerce.js
    

Read the full file on GitHub · 344 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. 11d ago First seen · 344 lines · 29 tokens per session scan A 069621ce2afc

Subscribe to this mod's changes

commerce-js-integration is a skill published in the GitHub repository finsilabs/awesome-ecommerce-skills (52 stars, last pushed 6mo ago), licensed MIT. It adds 29 tokens to every session and 2,947 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

netsuite-sdf-safe-guide

Comprehensive NetSuite SDF best practices based on the SAFE Guide (12 principles + appendices). Generates Object XML for all 14 script types, enforces governance limits, security patterns, and defensive coding. Includes N/cache, N/query, concurrency limits, OAuth 2.0 guidance, legacy TBA guardrails, CustomTool runtime…

oracle/netsuite-suitecloud-sdk · 104 tokens

netsuite-ai-connector-instructions

NetSuite Intelligence skill — teaches AI the correct tool selection order, output formatting, domain knowledge, multi-subsidiary and currency handling, and SuiteQL safety checklist for any AI + NetSuite AI Service Connector session.

oracle/netsuite-suitecloud-sdk · 52 tokens

netsuite-suitescript-records-reference

SuiteScript records and fields reference. Look up field IDs, types, required status, and search capabilities for all 272 NetSuite record types. Use this when building SuiteScript to ensure correct field usage.

oracle/netsuite-suitecloud-sdk · 50 tokens

build-with-fillo

Create hosted Fillo forms or build, embed, style, sync, and verify product-native Fillo forms in React, Next.js, Vue, Svelte, Astro, or browser apps. Use when a task mentions Fillo, @usefillo packages, a Fillo form id or slug, a Build with AI handoff, a publishable key, form schema authoring, prefill, uploads…

jacobfunch/usefillo · 115 tokens

e-commerce

E-commerce platforms, payment processing, and shopping cart patterns.

miles990/claude-software-skills · 14 tokens

commerce-checkout-configuration

Use this skill when configuring Salesforce B2B or D2C Commerce checkout: payment methods, shipping/tax integration, guest checkout, order summary setup, and CartCheckoutSession state orchestration. Trigger keywords: checkout flow, payment adapter, shipping tax integration, guest checkout, order summary…

BanibrataChatterjee/AwesomeSalesforceSkills · 97 tokens