# shopify-use-shopify-cli

A skill that steers your agent toward the right Shopify CLI command and helps it run or fix things now: config validation, store operations, setup errors.

- skill · `type=skill` · Codex, ChatGPT · 1 install · ★ 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-use-shopify-cli/SKILL.md
- Updated: 2026-10-08
- HTML: https://affpapa.org/en/nevibecode/skills/shopify-use-shopify-cli

## What it does

The skill loads into your agent and takes over when a task has to be executed or repaired through Shopify CLI. The agent picks the command path, spells out flags, files and auth requirements, and when a command is unfamiliar it points to `shopify commands` and `shopify help [command]`. For app and extension config checks it goes to `shopify app config validate --json` from the app root instead of GraphQL validation.

What sits inside: install and upgrade steps for the CLI, the order of operations for validating `shopify.app.toml`, `shopify.app.<name>.toml` and `shopify.extension.toml`, store-scoped workflows, and triage for missing commands, outdated versions and auth failures. Commands the agent runs itself get prefixed with `SHOPIFY_CLI_AGENT_INFO` and `SHOPIFY_CLI_AGENT_IDS`; examples shown to you stay plain `shopify ...`.

Node.js is required. When a command is unrecognized, the skill reaches for `shopify upgrade` first rather than improvising a workaround. GraphQL validation is a separate tool and does not cover TOML or extension configs, so mixing the two wastes a round trip.

## Install

### Codex (native platform)

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

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

### Claude Code

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

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

### Cursor

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

### GitHub Copilot

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

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

### Gemini CLI

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

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/shopify-use-shopify-cli/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-use-shopify-cli/SKILL.md

## When to use it
- validate `shopify.app.toml` and extension configs before deploy
- run an existing GraphQL query through the CLI
- update inventory by SKU or location name
- figure out why `shopify store execute` is missing
- authenticate a store and run a store-scoped operation

## Example prompts
- Validate the app config: run `shopify app config validate --json` from the app root
- Run a query against my store with `shopify store execute`
- \`shopify store execute` is not found — what now?

## Similar
- [shopify](https://affpapa.org/en/nevibecode/skills/shopify.md) — skill · 4800 installs
- [shopify-development](https://affpapa.org/en/nevibecode/skills/shopify-development.md) — skill · 1900 installs
- [shopify-expert](https://affpapa.org/en/nevibecode/skills/shopify-expert.md) — skill · 5000 installs
- [shopify-products](https://affpapa.org/en/nevibecode/skills/shopify-products.md) — skill · 1400 installs
- [shopify-setup](https://affpapa.org/en/nevibecode/skills/shopify-setup.md) — skill · 1200 installs
- [shopify-apps](https://affpapa.org/en/nevibecode/skills/sickn33-shopify-apps.md) — skill · 1000 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
