# 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.

- skill · `type=skill` · Codex, ChatGPT · ★ 7604
- Author: Shopify · official OpenAI repository
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/openai/plugins/tree/HEAD/plugins/shopify/skills/shopify-customer/SKILL.md
- Updated: 2026-10-08
- HTML: https://affpapa.org/en/nevibecode/skills/shopify-customer

## What it does

This skill guides Shopify developers through finding relevant API documentation, drafting a GraphQL operation, and checking the result. Customer Account API works in an authenticated customer’s context and exposes that customer’s own data. It serves a different purpose from Admin API, which handles store management.

The skill uses `scripts/search_docs.mjs` to look up documentation and `scripts/validate.mjs` to check generated code. Node.js is required. Both scripts send usage details to Shopify; validation can also transmit the code being checked and related context. Set `OPT_OUT_INSTRUMENTATION=true` beforehand to disable that reporting.

Documentation search comes before code generation, and validation is required before returning code. If the scripts cannot run, those steps cannot be completed.

## Install

### Codex (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add openai/plugins --skill shopify-customer -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/shopify-customer/SKILL.md` — For all projects use ~/.agents/skills/

### Claude Code

1. **Skills CLI (Vercel)**
```bash
npx skills add openai/plugins --skill shopify-customer -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/shopify-customer/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/shopify-customer/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/shopify-customer/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install openai/plugins shopify-customer
```

2. **Manually: put the files in place**
- File: `.github/skills/shopify-customer/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/openai/plugins --path plugins/shopify/skills/shopify-customer
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/shopify-customer/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/openai/plugins/tree/HEAD/plugins/shopify/skills/shopify-customer/SKILL.md

## When to use it
- build a GraphQL query for a customer’s order history
- draft a mutation to update an account address
- find Customer Account API operations for payment methods
- check a GraphQL operation before returning it

## Example prompts
- Write a Customer Account API query for the authenticated customer’s orders.
- Draft a mutation to add an address to the customer’s account.
- Find an operation for updating a customer profile, then validate the GraphQL code.

## Similar
- [churn-prevention](https://affpapa.org/en/nevibecode/skills/coreyhaines31-churn-prevention.md) — skill · 121600 installs
- [revops](https://affpapa.org/en/nevibecode/skills/revops.md) — skill · 114000 installs
- [ads](https://affpapa.org/en/nevibecode/skills/ads.md) — skill · 83400 installs
- [pricing](https://affpapa.org/en/nevibecode/skills/pricing.md) — skill · 79900 installs
- [marketing-plan](https://affpapa.org/en/nevibecode/skills/marketing-plan.md) — skill · 68400 installs
- [humanizer](https://affpapa.org/en/nevibecode/skills/blader-humanizer.md) — skill · 10600 installs

From the same set: [openai/plugins](https://affpapa.org/en/nevibecode/by/openai/plugins.md) — 528 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
