shopify-catalog-cleanup

shopify-catalog-cleanup is a skill for Claude Code from kgelster/awesome-ecom-skills. It costs 151 tokens per session (2,468 once invoked), scanned A, original, MIT.

A Shopify catalog cleanup tool for changing products and related catalog data after an audit finds problems.

In plain words
What is it for?
Use it to archive dead or out-of-stock products, remove leftover metafields from uninstalled apps, hide ghost review stars, and clean product content.
Why use it?
It removes catalog debris such as discontinued products, empty review ratings, unused app fields, and unwanted HTML. It previews item counts before making changes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the ecom plugin — 10 skills shipped together

Good fit Use it to archive dead or out-of-stock products, remove leftover metafields from uninstalled apps, hide ghost review stars, and clean product content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kgelster/awesome-ecom-skills/shopify-catalog-cleanup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kgelster/awesome-ecom-skills --skill shopify-catalog-cleanup
Clone the repo
git clone --depth 1 https://github.com/kgelster/awesome-ecom-skills

Made for: Claude Code.

Or install ecom, the plugin that ships this one along with the rest of its 10 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for shopify-catalog-cleanup

README.md
[![agentmods](https://agentmods.dev/badge/skills/kgelster/awesome-ecom-skills/shopify-catalog-cleanup/github.svg)](https://agentmods.dev/skills/kgelster/awesome-ecom-skills/shopify-catalog-cleanup)
Your own site
<a href="https://agentmods.dev/skills/kgelster/awesome-ecom-skills/shopify-catalog-cleanup"><img src="https://agentmods.dev/badge/skills/kgelster/awesome-ecom-skills/shopify-catalog-cleanup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for shopify-catalog-cleanup

Your own site · 80×15
<a href="https://agentmods.dev/skills/kgelster/awesome-ecom-skills/shopify-catalog-cleanup"><img src="https://agentmods.dev/badge/skills/kgelster/awesome-ecom-skills/shopify-catalog-cleanup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,468 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 30
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 35
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 90
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Data Exfiltration · line 39
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00151 $0.02468
Opus 5 $0.00076 $0.01234
Sonnet 5 $0.00030 $0.00494
Haiku 4.5 $0.00015 $0.00247

Measured 13d ago against content hash a275568a1e82, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

shopify-catalog-cleanup scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "https://$SHOPIFY_STORE/admin/api/2025-07/graphql.json" \
skills/shopify-catalog-cleanup/SKILL.md · 200 lines

How it starts

The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Shopify Catalog Cleanup

Fixing the debris an audit found. This is the mutating counterpart to shopify-catalog-audit (which finds problems) and shopify-seo-metadata (which fills missing metadata). Everything here writes to the catalog, so the whole skill is built around one rule: preview the count, then mutate.

Store access

Lane A: custom-app token (scriptable). In Shopify admin: Settings → Apps and sales channels → Develop apps → create an app → grant read_products and write_products, install, 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,write_products then shopify store execute. 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 your agent the API; this skill gives it the playbook.

The one rule: preview count, then mutate

Every recipe in references/recipes.md pairs a read-only count/preview query with the mutation it feeds. The discipline is not optional:

  1. Run the count first. products(query:"…") with a filter returns count and a page of titles. Read them.
  2. Sanity-check the number against expectation. If you expected ~40 dead products and the count says 900, stop and re-scope: your filter is wrong, not the store. A count far above expectation is a bug in your query.
  3. Only then mutate, and prefer the reversible path (below).

Read the full file on GitHub · 200 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 200 lines · 151 tokens per session scan A a275568a1e82

Subscribe to this mod's changes

shopify-catalog-cleanup is a skill published in the GitHub repository kgelster/awesome-ecom-skills (46 stars, last pushed 21d ago), licensed MIT. It adds 151 tokens to every session and 2,468 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

paid-ads-amazon

Plan and review Amazon Ads with margin-aware ACoS, product, and search-term guardrails. Use for Amazon advertising, Sponsored Products, Sponsored Brands, Sponsored Display, ASIN targeting, Amazon ACoS, or Amazon Ads performance exports.

nowork-studio/notfair-plugin · 55 tokens

beat-sync-reel

Generates Instagram Reels where product image cuts are synced to audio beats. Accepts audio as a local file, URL, or search query. Uses librosa for beat detection, FFmpeg Ken Burns for scene animation, and Pillow for text overlays. No AI video generation — fully free, fast, and scalable.

gooseworks-ai/goose-skills · 68 tokens

ebay-search

Search eBay listings - find items, auctions, deals, and compare prices.

gooseworks-ai/goose-skills · 19 tokens

einbeziehung-online-clickwrap-browsewrap

Für Einbeziehung Online Clickwrap Browsewrap: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt.

Klotzkette/claude-fuer-deutsches-recht · 42 tokens

kurzfristige-preiserhoehung-lieferfrist

Für Kurzfristige Preiserhöhung 309: prüft Frist, Form, Zuständigkeit und Eilbedarf; Ergebnis: Fristen- und Risikoampel. Fachgebiet: AGB-Recht-Prüfer. Route: kurzfristige-preiserhoehung-lieferfrist.

Klotzkette/claude-fuer-deutsches-recht · 72 tokens

plattform-online-gate-rollout-rangfolge

Für Plattform und Online Checkout: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: plattform-online-gate-rollout-rangfolge.

Klotzkette/claude-fuer-deutsches-recht · 62 tokens