Skip to main content
skill CX Codex GP ChatGPT official · OpenAI

shopify-storefront-graphql — Claude skill: GraphQL for Shopify

Writes GraphQL queries and mutations against the Shopify Storefront API, searching the docs first and validating the code before it reaches you.

Install into Codex · Skills CLI (Vercel) All methods and platforms ↓
npx skills add openai/plugins --skill shopify-storefront-graphql -a codex
Open on GitHub

What shopify-storefront-graphql does

The skill walks the agent through three steps. First scripts/search_docs.mjs "<query>" looks up the operation or resource in a vector store of the developer docs, then the code is written from what came back, and scripts/validate.mjs runs before anything is returned, with --model, --client-name, --client-version, --artifact-id and --revision flags. When validation fails, the agent searches for the type or value named in the error, fixes it and validates again, up to 3 retries.

Both scripts report to Shopify: the search query, the validation result, the skill name and version, model and client identifiers, and the code being checked. Set OPT_OUT_INSTRUMENTATION=true in your environment to opt out. Node.js is required.

This one is for a custom storefront where you render your own UI and fetch data over GraphQL. If the task mentions tags like <shopify-store>, <shopify-cart>, reach for storefront-web-components instead. Author is Shopify, version 1.9.1.

What it helps with

  • write a Storefront API query from an operation name
  • build a cart and checkout mutation
  • validate GraphQL code before it lands in the project
  • look up current fields and types instead of guessing
  • fix a validation error by the type or value it names

Example prompts for the agent

  • Write a Storefront API query for product variants
  • Create a cart mutation and add a line item
  • Validate this GraphQL query before returning it

How to install shopify-storefront-graphql

1Skills CLI (Vercel)

npx skills add openai/plugins --skill shopify-storefront-graphql -a codex

2Manually: put the files in place

.agents/skills/shopify-storefront-graphql/SKILL.md

For all projects use ~/.agents/skills/

Step by step, with commands for each platform: Codex skills: how to install, where they live, how to call them

Questions about shopify-storefront-graphql

How do I install shopify-storefront-graphql in Claude?

Run npx skills add openai/plugins --skill shopify-storefront-graphql, then npx skills add openai/plugins --skill shopify-storefront-graphql -a codex. The skill file lands at .agents/skills/shopify-storefront-graphql/SKILL.md.

What does shopify-storefront-graphql do?

It helps write GraphQL queries and mutations for the Shopify Storefront API: the agent searches the docs for the operation, generates the code and runs it through a validator.

How is it different from storefront-web-components?

Use this skill for a custom storefront with direct GraphQL calls and your own UI. If the task mentions tags like <shopify-store>, <shopify-cart>, you want storefront-web-components.

Similar skills

All skills for Backend and APIs →

From the same set337

The whole set →
building-mcp-server-on-cloudflare A skill that walks the agent through building a remote MCP server on Cloudflare Workers: tools, OAuth, deployment. Useful when you need to expose your own functions over MCP. CX Codex GP ChatGPT 2installs knowledge-update Injects up-to-date Vercel platform facts into the session and overrides stale model knowledge. Useful when your agent still reaches for Edge Functions or vercel.json. CX Codex GP ChatGPT 1installs twilio-messaging-overview A navigation skill for Twilio Messaging: pick between SMS, WhatsApp, RCS and Messenger, then follow the setup order from first message to production monitoring. CX Codex GP ChatGPT 1installs twilio-account-setup Walks you from Twilio signup to your first sent message: credentials, phone number, SDK, subaccounts. CX Codex GP ChatGPT 1installs shopify-onboarding-dev Walks a developer from nothing to a working Shopify setup: installs the CLI, wires up the AI toolkit, then asks what you want to build. CX Codex GP ChatGPT 1installs shopify-custom-data A Claude and Claude skill that walks the agent through Metafields and Metaobjects in Shopify apps. CX Codex GP ChatGPT 1installs metric-pack-designer A skill that helps you describe a local metric pack for plugin-eval: rubric categories, checks and metrics in a schema-compatible shape. CX Codex GP ChatGPT 1installs evaluate-plugin Walks through a local Claude plugin and tells you what to fix first. Useful before you compare versions. CX Codex GP ChatGPT 1installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor