hydrogen-storefront

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

A guide to Hydrogen, Shopify’s Remix-based framework for building custom storefront websites.

In plain words
What is it for?
It supports creating storefront projects, loading products and collections, managing carts and checkout, adding customer accounts, tuning caching, and deploying to Oxygen.
Why use it?
It helps developers assemble product pages and shopping flows while handling Shopify data, accounts, caching, and deployment.

Skill for Claude Code

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

Part of the shopify-app-builder plugin — 32 skills, 9 commands, 5 agents shipped together

Good fit It supports creating storefront projects, loading products and collections, managing carts and checkout, adding customer accounts, tuning caching, and deploying to Oxygen.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khadinakbarlabs/shopify-app-builder/hydrogen-storefront
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 hydrogen-storefront
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 32 skills, 9 commands, 5 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 hydrogen-storefront

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/hydrogen-storefront"><img src="https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/hydrogen-storefront.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 183 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,558 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.00183 $0.05558
Opus 5 $0.00092 $0.02779
Sonnet 5 $0.00037 $0.01112
Haiku 4.5 $0.00018 $0.00556

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

Security

Grade A, and why

hydrogen-storefront 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/hydrogen-storefront/SKILL.md · 971 lines

How it starts

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

Hydrogen 2026 Storefront Framework

Hydrogen is Shopify's Remix-based framework for building fast, custom storefronts. This skill covers Hydrogen 2026 project setup, the Storefront API client, cart management with hooks, Customer Account API, caching strategies, Oxygen deployment, CLI commands, and real-world PDP and collection page patterns.

When Asked

When asked to scaffold a new Hydrogen storefront: Provide the npm create @shopify/hydrogen command, explain project structure, and show how to configure .env with Storefront API credentials.

When asked to fetch and display products: Use the Storefront API via the storefront client (GraphQL query), show how to load product details, variants, and media; explain caching strategies.

When asked to implement a shopping cart: Use createCartHandler for backend cart mutations, useCart hook for frontend state, and explain line item management, discounts, and checkout flow.

When asked about Customer Account API: Explain how to enable, authenticate with OAuth, and use for customer login, order history, account details, and profile updates.

When asked to optimize performance and caching: Discuss Cache-Control headers, Oxygen runtime caching, request coalescing, and streaming SSR; provide cache strategy examples.

When asked to deploy to Oxygen: Show CLI deployment steps (hydrogen deploy), environment variable setup, monitoring, and rollback procedures.

When asked to implement search or filtering: Use Hydrogen Search API, faceting, filtering by attribute, and show autocomplete and collection filter patterns.


Hydrogen 2026 Architecture Overview

Hydrogen provides:

  • Remix Framework: Server-side rendering (SSR), file-based routing, loader/action functions, Remix utilities
  • Storefront API Client: GraphQL client for fetching product, collection, cart, order, and customer data
  • useCart Hook: Client-side cart state management with add-to-cart, update, remove operations
  • createCartHandler: Server-side cart mutations (create, update, discount, checkout)
  • Customer Account API: OAuth-based customer login, order history, account endpoints
  • Caching: Cache-Control headers, Oxygen response caching, request deduplication
  • Oxygen Platform: Serverless execution environment with global edge cache
  • CLI: hydrogen dev, hydrogen preview, hydrogen deploy commands
  • Analytics & Reporting: Built-in Oxygen analytics, custom event tracking

Read the full file on GitHub · 971 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 · 971 lines · 183 tokens per session scan A ca0bcc03b136

Subscribe to this mod's changes

hydrogen-storefront is a skill published in the GitHub repository khadinakbarlabs/shopify-app-builder (1 stars, last pushed 1mo ago), licensed MIT. It adds 183 tokens to every session and 5,558 once invoked, about $0.0009 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-31.

Related

Other skills, from other repositories

frontend

Builds, styles, and polishes web UI and UX. Use for any frontend, page, component, styling, layout, animation, or visual-quality task, or when asked to make an interface look or feel a certain way.

code-yeongyu/oh-my-openagent · 49 tokens

interaction-skill

Layer A interaction-mechanics reference anchored to the beui.dev catalog. Stacks on any style skill whenever work adds or changes motion or interaction — micro-interactions, animated components, transitions, gestures, hover/press/state feedback, loading/success/error morphs, 'make it feel alive'. Mandates reading the…

code-yeongyu/oh-my-openagent · 104 tokens

layout-skill

Layer A layout-mechanics reference. Stacks on any style skill when the screen is an app shell, dashboard, settings, list-detail, mail/inbox, or any layout with fixed regions plus a scrolling body — or when a layout breaks under long, empty, or unbroken content. Owns spatial structure and scroll ownership; owns zero…

code-yeongyu/oh-my-openagent · 88 tokens

ui-designer

Elite UI/UX Design Lead & Frontend Architect. Generates distinctive, non-templated interfaces with opinionated aesthetics, deliberate typography, and exact UX copy. Triggers on UI design, frontend styling, or layout creation.

GulajavaMinistudio/awesome-copilot-id · 49 tokens

html-css-responsive

Custom Instructions: HTML5 & CSS3 Responsive Design Expert.

GulajavaMinistudio/awesome-copilot-id · 15 tokens

tray-scripts-externos

API de Scripts Externos da Tray. Utilize quando o desenvolvedor precisar gerenciar scripts JavaScript customizados injetados na vitrine da loja, incluindo listagem, cadastro, atualização e exclusão.

tray-tecnologia/tray-api-ai-plugin · 49 tokens