shopify-redirect-mapping

shopify-redirect-mapping is a skill for Claude Code from kgelster/awesome-ecom-skills. It costs 138 tokens per session (2,197 once invoked), scanned A, original, MIT.

A tool that matches old or broken website URLs to live pages on a Shopify store and prepares 301 redirects. A 301 redirect permanently sends visitors and search engines from an old address to a new one.

In plain words
What is it for?
Use it to turn lists of 404 errors, including Google Search Console exports or old WordPress URLs, into Shopify redirect mappings.
Why use it?
It helps recover visitors and search value lost after a migration, URL change, or catalogue restructure. A review queue lets someone check uncertain matches before applying them.

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 turn lists of 404 errors, including Google Search Console exports or old WordPress URLs, into Shopify redirect mappings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kgelster/awesome-ecom-skills/shopify-redirect-mapping
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-redirect-mapping
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-redirect-mapping

README.md
[![agentmods](https://agentmods.dev/badge/skills/kgelster/awesome-ecom-skills/shopify-redirect-mapping/github.svg)](https://agentmods.dev/skills/kgelster/awesome-ecom-skills/shopify-redirect-mapping)
Your own site
<a href="https://agentmods.dev/skills/kgelster/awesome-ecom-skills/shopify-redirect-mapping"><img src="https://agentmods.dev/badge/skills/kgelster/awesome-ecom-skills/shopify-redirect-mapping/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-redirect-mapping

Your own site · 80×15
<a href="https://agentmods.dev/skills/kgelster/awesome-ecom-skills/shopify-redirect-mapping"><img src="https://agentmods.dev/badge/skills/kgelster/awesome-ecom-skills/shopify-redirect-mapping.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,197 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: 3 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 111
    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 115
    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 132
    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.00138 $0.02197
Opus 5 $0.00069 $0.01099
Sonnet 5 $0.00028 $0.00439
Haiku 4.5 $0.00014 $0.00220

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

Security

Grade A, and why

shopify-redirect-mapping 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 12d 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.

Recommended, not required: Lane A needs only curl and a token. The toolkit
skills/shopify-redirect-mapping/SKILL.md · 188 lines

How it starts

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

Shopify Redirect Mapping

Turn a list of 404ing URLs into live 301 redirects on a Shopify store using type-aware fuzzy matching with a manual review queue for the leftovers. The job is reclaiming search equity and rescuing lost visitors, not building a perfect 1:1 map. For bulk apply through a spreadsheet instead of the API, hand the final map to the sibling shopify-matrixify skill's Redirects sheet.

The one rule that matters: recall over precision

A wrong-but-related redirect beats a 404. A visitor who lands on a close product or the right category still converts; a visitor who hits a dead page leaves. Google keeps some of the old page's equity when the 301 points somewhere topical; it keeps none when the URL 404s. So tune for coverage, not for a flawless match, and let a human review pass catch the misfires.

Worked case (an automotive-lifestyle brand, anonymized). A first pass used a single conservative 0.92 similarity threshold across all URL types. Out of 1,010 dead URLs it produced 6 redirects: effectively nothing, and the merchant called it useless. Re-running with per-type thresholds plus cross-type fallbacks yielded 725 live redirects (~72% coverage) from the same export. The lesson is blunt: do not ship a conservative first pass. Precision-first thresholds look safe and deliver nothing.

Per-type thresholds (defaults, not suggestions)

Different URL types tolerate different looseness. Classify each dead path by its prefix, then match it only against live inventory of the same type at these cut-offs:

  • Products: 0.85. Accepts some "same suffix, different product" matches (a discontinued -jacket landing on another -jacket). That is the acceptable cost of recall; the review pass pulls the ones that are genuinely wrong.
  • Collections: 0.70. Most dead collection URLs are restructure churn. Any nearby collection is a better landing than the homepage.
  • Blogs / pages: 0.85. Brand pages that resolve to collections: 0.70. The review queue catches the rest.

Read the full file on GitHub · 188 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. 12d ago First seen · 188 lines · 138 tokens per session scan A 27b8d24af860

Subscribe to this mod's changes

shopify-redirect-mapping is a skill published in the GitHub repository kgelster/awesome-ecom-skills (46 stars, last pushed 20d ago), licensed MIT. It adds 138 tokens to every session and 2,197 once invoked, about $0.0007 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