storefront-api

storefront-api is a skill for Claude Code from khadinakbarlabs/shopify-app-builder. It costs 18 tokens per session (441 once invoked), scanned A, original, MIT.

A guide to Shopify’s Storefront API, which lets customer-facing websites read shop data and manage shopping carts, checkouts, and customer accounts.

In plain words
What is it for?
It supports product browsing, collection search, cart actions, checkout links, customer login, orders, addresses, and market-specific pricing.
Why use it?
It helps developers build a custom storefront without using Shopify’s standard online-store pages.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the shopify-app-builder plugin — 36 skills, 17 commands, 8 agents shipped together

Good fit It supports product browsing, collection search, cart actions, checkout links, customer login, orders, addresses, and market-specific pricing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khadinakbarlabs/shopify-app-builder/storefront-api
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 khadinakbarlabs/shopify-app-builder --skill storefront-api
Clone the repo
git clone --depth 1 https://github.com/khadinakbarlabs/shopify-app-builder

Made for: Claude Code.

Or install shopify-app-builder, the plugin that ships this one along with the rest of its 36 skills, 17 commands, 8 agents.

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 storefront-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/storefront-api/github.svg)](https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/storefront-api)
Your own site
<a href="https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/storefront-api"><img src="https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/storefront-api/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 storefront-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/storefront-api"><img src="https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/storefront-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 441 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.00018 $0.00441
Opus 5.5 $0.00007 $0.00176
Sonnet 5.5 $0.00004 $0.00088
Haiku 4.5 $0.00002 $0.00044

Measured 23d ago against content hash 77ef0dd1e0c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

storefront-api 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 23d 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/storefront-api/SKILL.md · 39 lines

How it starts

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

Build public shopping experiences safely

Start here

The Storefront API serves shopping experiences; it is not the Admin API.

First useful outcome: Read products and complete a cart flow using supported API fields. Ask only for missing information that changes this task. Inspect the existing project and use synthetic data before touching a merchant store. Explain the next action and its expected result in plain language; offer a recommended default with its tradeoff.

Guided workflow

  1. Confirm public versus server-only access, API version, headless requirements and approved configuration.
  2. Use variables, cursor pagination and framework clients; keep private configuration out of browser bundles.
  3. Implement contextual pricing/currency, cart errors, quantity boundaries and checkout handoff.
  4. Handle missing products, unavailable variants, throttling and stale carts without hiding errors.

Check it worked

Test empty catalogs, pagination, unavailable items, locale/currency and checkout transition on a dev storefront. Report what was changed, what was tested, and what still needs account access or live verification. Do not claim production readiness or approval from generated code alone.

If you get stuck

Do not use an Admin token in storefront/browser code. Give one safe next step and a redacted error example, not a list of speculative fixes.

Safety and optional depth

Use only the user's selected project/accounts. Never read credential caches or request secrets in chat; the operator configures the application's approved secret store. Ask before live deployment, store mutations, billing, publication or paid runs unless that exact action is already authorized. No MCP service is required by this plugin.

For concrete examples in an existing project, read only the relevant section of technical-guide.md. These retained v1.x examples are version-sensitive, not the default template. Verify SDKs, schema fields, CLI flags and platform rules with official documentation before using them.

Read the full file on GitHub · 39 lines

Files

What ships with it

1 file 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. 23d ago Changed · -761 lines · -77 tokens per session 77ef0dd1e0c7
  2. 25d ago Changed · +1 lines 742aea155073
  3. 1mo ago First seen · 799 lines · 95 tokens per session scan A 27be262ebb9e

Subscribe to this mod's changes

storefront-api is a skill published in the GitHub repository khadinakbarlabs/shopify-app-builder (2 stars, last pushed 15d ago), licensed MIT. It adds 18 tokens to every session and 441 once invoked, about $0.0001 per session on Opus 5.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-31.