shopify-checkout-extensions

shopify-checkout-extensions is a skill for Claude Code, Codex from finsilabs/awesome-ecommerce-skills. It costs 31 tokens per session (2,374 once invoked), scanned A, original, MIT.

A guide to changing Shopify checkout with UI extensions and Shopify Functions. UI extensions add interface elements, while Functions run custom rules for discounts, shipping, payments, or order validation.

In plain words
What is it for?
Use it to add upsells and custom fields, create tiered discounts, filter shipping methods, customize payment choices, and validate orders.
Why use it?
It provides supported ways to customize checkout without editing Shopify’s retired checkout template system.

Skill for Claude CodeCodex

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is } from "../generated/api";.

Good fit Use it to add upsells and custom fields, create tiered discounts, filter shipping methods, customize payment choices, and validate orders.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/finsilabs/awesome-ecommerce-skills
agentmods
npx agentmods add skills/finsilabs/awesome-ecommerce-skills/shopify-checkout-extensions

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 shopify-checkout-extensions

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/shopify-checkout-extensions"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/shopify-checkout-extensions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,374 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.00031 $0.02374
Opus 5 $0.00015 $0.01187
Sonnet 5 $0.00006 $0.00475
Haiku 4.5 $0.00003 $0.00237

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

Security

Grade A, and why

shopify-checkout-extensions 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.

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/platform-shopify/shopify-checkout-extensions/SKILL.md · 300 lines

How it starts

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

Shopify Checkout Extensions

Overview

Shopify Checkout Extensions allow apps to render custom UI blocks inside Shopify's checkout without forking the checkout template. Shopify Functions let you replace backend logic — discounts, shipping, payment methods, and order validation — with custom WebAssembly modules that run inside Shopify's infrastructure. Together they replace the deprecated checkout.liquid customization approach and work with both Shopify Plus and non-Plus stores (UI extensions) or Plus-only (some Functions targets).

When to Use This Skill

  • When adding custom UI blocks to checkout (upsells, trust badges, gift message fields, warranty options)
  • When implementing custom discount logic beyond native Shopify discount rules (e.g., tiered discounts, B2B pricing)
  • When creating custom shipping method filtering or renaming based on cart contents
  • When building payment customization to hide/rename payment methods for specific customers
  • When validating order contents before checkout completes (e.g., quantity limits, region restrictions)
  • When replacing deprecated checkout.liquid customizations for Shopify Plus stores

Core Instructions

  1. Scaffold an extension with Shopify CLI

    # Inside an existing Shopify app directory
    shopify app generate extension
    # Choose: Checkout UI extension OR Shopify Function
    # Name: my-checkout-extension
    

    This creates an extensions/my-checkout-extension/ directory with src/index.tsx (UI) or src/index.ts (Function).

  2. Build a Checkout UI extension

    Checkout UI extensions use a React-like component API from @shopify/ui-extensions-react/checkout:

    // extensions/order-upsell/src/index.tsx
    import {
      reactExtension,
      useCartLines,
      useApplyCartLinesChange,
      useSettings,
      BlockStack,
      Button,
      Image,
      Text,
      InlineStack,
      Divider,
    } from "@shopify/ui-extensions-react/checkout";
    
    const CheckoutBlock = reactExtension(
      "purchase.checkout.block.render",
      () => <OrderUpsell />
    );
    export { CheckoutBlock };
    
    function OrderUpsell() {
      const cartLines = useCartLines();
      const applyCartLinesChange = useApplyCartLinesChange();
      const { upsell_variant_id: upsellVariantId } = useSettings();
    
      // Only show upsell if a variant is configured and cart doesn't already contain it
      if (!upsellVariantId) return null;
    
      const alreadyInCart = cartLines.some(
        (line) => line.merchandise.id === upsellVariantId
      );
    
      if (alreadyInCart) return null;
    
      const handleAddUpsell = async () => {
        await applyCartLinesChange({
          type: "addCartLine",
          merchandiseId: upsellVariantId,
          quantity: 1,
        });
      };
    
      return (
        <BlockStack spacing="base">
          <Divider />
          <InlineStack blockAlignment="center" spacing="base">
            <Image source="https://cdn.shopify.com/s/files/..." aspectRatio={1} />
            <BlockStack>
              <Text emphasis="bold">Add a gift bag for $3.99</Text>
              <Text appearance="subdued">Beautiful packaging for your order</Text>
            </BlockStack>
            <Button onPress={handleAddUpsell}>Add</Button>
          </InlineStack>
        </BlockStack>
      );
    }
    

Read the full file on GitHub · 300 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. 9d ago First seen · 300 lines · 31 tokens per session scan A 2740381060bb

Subscribe to this mod's changes

shopify-checkout-extensions is a skill published in the GitHub repository finsilabs/awesome-ecommerce-skills (52 stars, last pushed 6mo ago), licensed MIT. It adds 31 tokens to every session and 2,374 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-09-03.

Related

Other skills, from other repositories

convex-billing

Add Stripe billing/payments to the Convex app via @convex-dev/stripe (checkout + webhook + gating).

openclaw/clawhub · 29 tokens

baselinker-webhooks

Receive BaseLinker (Base.com) webhooks. Use when building a BaseLinker order or warehouse callback receiver, because BaseLinker is not a normal webhook source: deliveries arrive as HTTP HEAD requests with NO body, the entire payload is in the query string (observed params: orderid, state), there is NO signature…

hookdeck/webhook-skills · 131 tokens

b2c-custom-job-steps

Create custom job steps for B2C Commerce batch processing. Use this skill whenever the user needs to write a batch job, data export script, scheduled cleanup task, or any server-side processing that runs on a schedule. Also use when they ask about steptypes.json, chunk-oriented vs task-oriented job steps…

SalesforceCommerceCloud/b2c-developer-tooling · 148 tokens

b2c-business-manager-extensions

Build Business Manager extension cartridges with custom admin tools, menu items, and dialog actions. Use this skill whenever the user needs to create bm cartridges, add menu actions or dialog buttons in BM, configure bmextensions.xml, or extend admin pages with form overlays. Also use when customizing the BM interface…

SalesforceCommerceCloud/b2c-developer-tooling · 90 tokens

b2c-custom-api-development

Develop Custom SCAPI REST endpoints with api.json routes, schema.yaml definitions, and OAuth scope configuration. Use this skill whenever the user needs to create a custom API on the Commerce platform, define OpenAPI 3.0 schemas for request/response, structure the rest-apis cartridge folder, or debug endpoint…

SalesforceCommerceCloud/b2c-developer-tooling · 152 tokens

tiktok-shop-webhooks

Receive and verify TikTok Shop webhooks. Use when setting up TikTok Shop webhook handlers, debugging Authorization-header signature verification, or handling events like ORDERSTATUSCHANGE, PACKAGEUPDATE, RECIPIENTADDRESSUPDATE, PRODUCTSTATUSCHANGE, or SELLERDEAUTHORIZATION.

hookdeck/webhook-skills · 59 tokens