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

shopify-payments-apps — Claude skill: GraphQL for Shopify payments

Writes GraphQL queries and mutations against the Shopify Payments Apps API. Handy when you work on payment sessions, refunds or captures.

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

What shopify-payments-apps does

The skill walks the agent through Payments Apps API work in a fixed order: look up the operation in the docs, write the code from what comes back, then validate it. Searches target an operation or component name rather than the whole task description, so the agent stops leaning on whatever it remembers about the schema.

Two scripts do the work. scripts/search_docs.mjs queries the documentation vector store, and scripts/validate.mjs checks the generated code. The validator takes flags for model, client and version names, plus --artifact-id and --revision. When a check fails, the agent searches for the reported error type, fixes it and validates again, up to three attempts.

Node.js is required. Both scripts report to Shopify at shopify.dev/mcp/usage: search queries, validation results, skill name, model and client identifiers. Set OPT_OUT_INSTRUMENTATION=true to turn that off — otherwise the reporting is on.

What it helps with

  • write a GraphQL mutation that creates a payment session
  • handle authorization, capture and settlement for a payment
  • reconcile a refund or void against the original transaction
  • add error handling for declined payments and network failures
  • wire up 3D Secure and payment confirmation webhooks

Example prompts for the agent

  • Write the paymentSessionPending mutation for the Payments Apps API and validate it
  • Generate a GraphQL query for a refund on a transaction, search the docs for an example first
  • Run my code through scripts/validate.mjs and fix whatever the validation reports

How to install shopify-payments-apps

1Skills CLI (Vercel)

npx skills add openai/plugins --skill shopify-payments-apps -a codex

2Manually: put the files in place

.agents/skills/shopify-payments-apps/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-payments-apps

How do I install shopify-payments-apps in Claude?

Run npx skills add openai/plugins --skill shopify-payments-apps -a codex. The skill file then sits at .agents/skills/shopify-payments-apps/SKILL.md.

What does shopify-payments-apps do?

It helps write GraphQL operations for the Shopify Payments Apps API: it searches the developer docs for examples first, then runs the generated code through a validator.

What data does the skill send to Shopify?

Both scripts report search queries, validation results, the skill name and version, and model and client identifiers. Set OPT_OUT_INSTRUMENTATION=true to opt out.

Similar skills

All skills for Backend and APIs →

From the same set528

The whole set →
stripe-apps This skill guides Stripe App work from scaffolding and Dashboard UI to webhooks, uploads, versioning, and marketplace release. CX Codex GP ChatGPT ★ 7,604repo stars connect-recommend This skill reads your business from a URL or description and recommends a Stripe Connect configuration with a matching charge pattern. Useful when you're building a marketplace or platform that pays out sellers. CX Codex GP ChatGPT ★ 7,604repo stars shopify-polaris-checkout-extensions Writes Shopify checkout UI extension code: searches the docs, validates the result and scaffolds new extensions through Shopify CLI. CX Codex GP ChatGPT ★ 7,604repo stars shopify-polaris-admin-extensions A skill that steers Claude through building Shopify admin UI extensions: look up the docs, write Polaris code, then validate it before you get an answer. CX Codex GP ChatGPT ★ 7,604repo stars shopify-partner Generates and validates Shopify Partner API GraphQL operations for apps and theme management. Requires Node.js. CX Codex GP ChatGPT ★ 7,604repo stars shopify-customer Helps build GraphQL queries and mutations for Shopify’s Customer Account API. Use it when working with a customer’s orders, addresses, or account data. CX Codex GP ChatGPT ★ 7,604repo stars three-statement-model-builder Builds an integrated Excel operating model for a public company, linking its income statement, balance sheet, and cash flow statement. Use it for a new forecast or a model refresh. CX Codex GP ChatGPT ★ 7,604repo stars thesis-tracker Keeps a public-equity thesis alive over time: original underwriting stays put, new evidence gets appended, statuses and actions get refreshed. CX Codex GP ChatGPT ★ 7,604repo stars

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