/shopify-catalog-audit
Use when someone wants to find product-data problems across a Shopify catalog: "audit my catalog", "find PDP problems", "which products have missing photos / thin or missing descriptions / pricing anomalies", "$0 or compare-at-inverted prices", "products missing type or vendor",
Claude Code
$ npx -y skills add kgelster/awesome-ecom-skills --skill shopify-catalog-audit --agent claude-code
Codex
$ npx skills add kgelster/awesome-ecom-skills --skill shopify-catalog-audit -a codex -y
Cursor
$ npx skills add kgelster/awesome-ecom-skills --skill shopify-catalog-audit -a cursor -y
Gemini CLI
$ npx skills add kgelster/awesome-ecom-skills --skill shopify-catalog-audit -a gemini-cli -y
GitHub Copilot
$ npx skills add kgelster/awesome-ecom-skills --skill shopify-catalog-audit -a github-copilot -y
OpenCode
$ npx skills add kgelster/awesome-ecom-skills --skill shopify-catalog-audit -a opencode -y
Windsurf
$ npx skills add kgelster/awesome-ecom-skills --skill shopify-catalog-audit -a windsurf -y
SKILL.md
shopify-catalog-audit.SKILL.mdname: shopify-catalog-audit
description: >-
Use when someone wants to find product-data problems across a Shopify
catalog: "audit my catalog", "find PDP problems", "which products have
missing photos / thin or missing descriptions / pricing anomalies", "$0
or compare-at-inverted prices", "products missing type or vendor", "catalog
quality sweep", "product data health check", "which listings are broken",
"run a catalog audit before a big sale". Read-only: it locates and ranks
problems, it does not change anything. Not for FIXING the problems it finds
(use shopify-catalog-cleanup for debris/archiving, shopify-seo-metadata for
missing SEO meta, shopify-alt-text for missing image alt text).
compatibility: >-
Requires Shopify Admin API read access (custom-app token or Shopify CLI
3.x). Minimum scope: read_products. GraphQL written against Admin API
2025-07.
Shopify Catalog Audit
Finding the problems, not fixing them. This is the **FIND** stage of catalog work: it produces a ranked, justified list of product-data defects and hands them off. The **FIX** stage lives in sibling skills: `shopify-catalog-cleanup` (archiving/debris), `shopify-seo-metadata` (missing SEO meta), `shopify-alt-text` (missing image alt). Don't mutate here.
The core principle: on a catalog too large to eyeball, **don't read every PDP.** Build a cheap deterministic index over the whole catalog, let the model form justified hypotheses about where problems cluster, deep-read only that slice, then verify against the Admin API. The full method is in [references/triage-method.md](references/triage-method.md); the GraphQL recipes are in [references/queries.md](references/queries.md).
Store access
Read-only audit. Grant the **minimum scope, `read_products`**, and nothing else: this skill never needs a write scope, and a read-only token is the cheapest guarantee it can't damage the catalog.
**Lane A: custom-app token (scriptable).** In Shopify admin: Settings → Apps and sales channels → Develop apps → create an app → grant `read_products`, then install and copy the Admin API access token. Export it; never write it to a committed file:
export SHOPIFY_STORE="your-store.myshopify.com"
export SHOPIFY_ACCESS_TOKEN="<your Admin API access token>" # env, not disk
curl -s "https://$SHOPIFY_STORE/admin/api/2025-07/graphql.json" \
-H "X-Shopify-Access-Token: $SHOPIFY_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"query":"{ shop { name } }"}'**Lane B: Shopify CLI OAuth (no stored token).** `shopify store auth --store $SHOPIFY_STORE --scopes read_products` then `shopify store execute` to run a validated read. Good for token-less stores where the owner logs in interactively.
**Toolkit preflight.** Lane B rides on the Shopify CLI: run `shopify version` first and install it if missing. For the full Admin GraphQL schema and validated execution, pair this skill with Shopify's official AI toolkit plugin. In Claude Code, check `claude plugin list`; if it isn't there:
claude plugin marketplace add Shopify/Shopify-AI-Toolkit
claude plugin install shopify-plugin@shopify-ai-toolkit
Recommended, not required: Lane A needs only curl and a token. The toolkit gives the agent the API; this skill gives it the audit playbook.
Non-destructive doctrine
This is a **read-only skill**; the doctrine is trivially satisfied but still governs how you verify.
- **Never mutate.** No `productUpdate`, no `productDelete`, no bulk write. If a
finding needs fixing, name the sibling FIX skill and stop.
- **Verify existence and state via the Admin API, not the sitemap.** The
sitemap (`/sitemap_products_1.xml`) lists **published** products only, and it silently misses drafts, archived items, and unpublished products, which are exactly where data debris hides. An audit that trusts the sitemap under-reports. Read product state back through `admin/api/.../graphql.json`.
- **Ground truth beats self-grading.** A finding is real when re-querying the
Admin API confirms the defect on the live object, not when your index says so.
The audit loop
Two layers: a cheap deterministic index over the whole catalog, then hypothesis-driven triage on top of it. Never paste the whole catalog into the model "to be thorough": that's the cost trap this method avoids.
**1. Build the cheap index.** Paginate `products` and pull only the fields that reveal PDP quality (recipes in [references/queries.md](references/queries.md)). Per product, compute deterministic flags in code (code answers what code can):
- **Images:** `mediaCount` / image count is 0 (missing photo) or 1 (thin, likely
a placeholder for a product that should show several angles).
- **Description:** `descriptionHtml` empty, or stripped length below a small
threshold (e.g. under ~20 chars = effectively empty). Flag "thin", don't judge quality yet.
- **Pricing anomalies:** any variant `price` of `0.00`; any variant where
`compareAtPrice` is set but **≤** `price` (an inverted or fake "sale" that shows no discount or a negative one).
- **Taxonomy gaps:** empty `productType` or empty `vendor`: these break
filtered collections, faceted search, and Google Shopping feeds.
- **Status context:** carry `status` (ACTIVE/DRAFT/ARCHIVED) and
`publishedAt` so a flag can be weighed (a $0 draft is noise; a $0 active published product is a live defect).
Emit a compact per-product row (handle, id, status, the boolean flags). That table, not the raw catalog, is the surface the model reasons over.
**2. Hypothesize on the index, justified.** The model reads the flag table and ranks where the real problems cluster, **with a stated reason per hypothesis: no reason, drop it.** Good hypotheses find *patterns*, not just rows: "every product from vendor X imported last month has 0 images, likely a broken feed import" beats "these 40 products lack images." Weight by live impact: an active, published product with a $0 price
Read more
name: shopify-catalog-audit description: >- Use when someone wants to find product-data problems across a Shopify catalog: "audit my catalog", "find PDP problems", "which products have missing photos / thin or missing descriptions / pricing anomalies", "$0 or compare-at-inverted prices", "products missing type or vendor", "catalog quality sweep", "product data health check", "which listings are broken", "run a catalog audit before a big sale". Read-only: it locates and ranks problems, it does not change anything. Not for FIXING the problems it finds (use shopify-catalog-cleanup for debris/archiving, shopify-seo-metadata for missing SEO meta, shopify-alt-text for missing image alt text). compatibility: >- Requires Shopify Admin API read access (custom-app token or Shopify CLI 3.x). Minimum scope: read_products. GraphQL written against Admin API 2025-07.
Shopify Catalog Audit
Finding the problems, not fixing them. This is the **FIND** stage of catalog work: it produces a ranked, justified list of product-data defects and hands them off. The **FIX** stage lives in sibling skills: `shopify-catalog-cleanup` (archiving/debris), `shopify-seo-metadata` (missing SEO meta), `shopify-alt-text` (missing image alt). Don't mutate here.
The core principle: on a catalog too large to eyeball, **don't read every PDP.** Build a cheap deterministic index over the whole catalog, let the model form justified hypotheses about where problems cluster, deep-read only that slice, then verify against the Admin API. The full method is in [references/triage-method.md](references/triage-method.md); the GraphQL recipes are in [references/queries.md](references/queries.md).
Store access
Read-only audit. Grant the **minimum scope, `read_products`**, and nothing else: this skill never needs a write scope, and a read-only token is the cheapest guarantee it can't damage the catalog.
**Lane A: custom-app token (scriptable).** In Shopify admin: Settings → Apps and sales channels → Develop apps → create an app → grant `read_products`, then install and copy the Admin API access token. Export it; never write it to a committed file:
export SHOPIFY_STORE="your-store.myshopify.com" export SHOPIFY_ACCESS_TOKEN="<your Admin API access token>" # env, not disk
curl -s "https://$SHOPIFY_STORE/admin/api/2025-07/graphql.json" \
-H "X-Shopify-Access-Token: $SHOPIFY_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"query":"{ shop { name } }"}'**Lane B: Shopify CLI OAuth (no stored token).** `shopify store auth --store $SHOPIFY_STORE --scopes read_products` then `shopify store execute` to run a validated read. Good for token-less stores where the owner logs in interactively.
**Toolkit preflight.** Lane B rides on the Shopify CLI: run `shopify version` first and install it if missing. For the full Admin GraphQL schema and validated execution, pair this skill with Shopify's official AI toolkit plugin. In Claude Code, check `claude plugin list`; if it isn't there:
claude plugin marketplace add Shopify/Shopify-AI-Toolkit claude plugin install shopify-plugin@shopify-ai-toolkit
Recommended, not required: Lane A needs only curl and a token. The toolkit gives the agent the API; this skill gives it the audit playbook.
Non-destructive doctrine
This is a **read-only skill**; the doctrine is trivially satisfied but still governs how you verify.
- **Never mutate.** No `productUpdate`, no `productDelete`, no bulk write. If a
finding needs fixing, name the sibling FIX skill and stop.
- **Verify existence and state via the Admin API, not the sitemap.** The
sitemap (`/sitemap_products_1.xml`) lists **published** products only, and it silently misses drafts, archived items, and unpublished products, which are exactly where data debris hides. An audit that trusts the sitemap under-reports. Read product state back through `admin/api/.../graphql.json`.
- **Ground truth beats self-grading.** A finding is real when re-querying the
Admin API confirms the defect on the live object, not when your index says so.
The audit loop
Two layers: a cheap deterministic index over the whole catalog, then hypothesis-driven triage on top of it. Never paste the whole catalog into the model "to be thorough": that's the cost trap this method avoids.
**1. Build the cheap index.** Paginate `products` and pull only the fields that reveal PDP quality (recipes in [references/queries.md](references/queries.md)). Per product, compute deterministic flags in code (code answers what code can):
- **Images:** `mediaCount` / image count is 0 (missing photo) or 1 (thin, likely
a placeholder for a product that should show several angles).
- **Description:** `descriptionHtml` empty, or stripped length below a small
threshold (e.g. under ~20 chars = effectively empty). Flag "thin", don't judge quality yet.
- **Pricing anomalies:** any variant `price` of `0.00`; any variant where
`compareAtPrice` is set but **≤** `price` (an inverted or fake "sale" that shows no discount or a negative one).
- **Taxonomy gaps:** empty `productType` or empty `vendor`: these break
filtered collections, faceted search, and Google Shopping feeds.
- **Status context:** carry `status` (ACTIVE/DRAFT/ARCHIVED) and
`publishedAt` so a flag can be weighed (a $0 draft is noise; a $0 active published product is a live defect).
Emit a compact per-product row (handle, id, status, the boolean flags). That table, not the raw catalog, is the surface the model reasons over.
**2. Hypothesize on the index, justified.** The model reads the flag table and ranks where the real problems cluster, **with a stated reason per hypothesis: no reason, drop it.** Good hypotheses find *patterns*, not just rows: "every product from vendor X imported last month has 0 images, likely a broken feed import" beats "these 40 products lack images." Weight by live impact: an active, published product with a $0 price
Shopify's plugin gives your agent the API. This gives it the playbook. Shopify's official AI toolkit gives your agent the Admin API: schema, mutations, reference.
Other skills on ecom.
More skills from other plugins.
browser-use
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…
Questions about shopify-catalog-audit.
- Which coding agents can use shopify-catalog-audit?
- shopify-catalog-audit installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

