shop: Skill for Claude Code

.agents/skills/enable-i18n/SKILL.md

enable-i18n is a skill for Claude Code, Codex from vercel/shop. It costs 96 tokens per session (5,883 once invoked), scanned A, original, MIT.

A setup guide for adding multilingual text and locale-based URLs to a Next.js Shopify storefront using next-intl. It adds per-language message files and a language switcher, but does not configure Shopify Markets.

In plain words
What is it for?
Use it when a storefront needs URLs such as /en-US/products/foo and translated interface copy without Shopify Markets. It helps add the locale configuration, routing, message catalogs, and switcher.
Why use it?
It removes the need to design locale routing, translation-file loading, and language switching from scratch. It also makes clear that language selection is separate from regional commerce settings such as prices and inventory.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is vercel/shop's own configuration. It tells Claude Code and Codex how to work on shop itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything shop configures →

About the project

Vercel Shop is a monorepo, meaning one code repository that contains multiple related applications and tools, for a Next.js Shopify storefront template, its documentation site, and a scaffolding CLI. It helps developers create and work with Shopify storefronts built on Next.js. The catalogue entries are skills, commands, a plugin, and an instruction for working with this project.

vercel/shop · 126 stars · on GitHub · vercel.shop

Reuse

Borrowing it

Nothing to install: this file belongs to vercel/shop. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vercel/shop/main/.agents/skills/enable-i18n/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/vercel/shop

Made for: Claude Code, Codex.

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 enable-i18n

README.md
[![agentmods](https://agentmods.dev/badge/skills/vercel/shop/enable-i18n/github.svg)](https://agentmods.dev/skills/vercel/shop/enable-i18n)
Your own site
<a href="https://agentmods.dev/skills/vercel/shop/enable-i18n"><img src="https://agentmods.dev/badge/skills/vercel/shop/enable-i18n/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 enable-i18n

Your own site · 80×15
<a href="https://agentmods.dev/skills/vercel/shop/enable-i18n"><img src="https://agentmods.dev/badge/skills/vercel/shop/enable-i18n.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,883 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.
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.00096 $0.05883
Opus 5.5 $0.00038 $0.02353
Sonnet 5.5 $0.00019 $0.01177
Haiku 4.5 $0.00010 $0.00588

Measured 11d ago against content hash 0b85d42561b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

enable-i18n 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 11d 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 -I http://localhost:3000/
.agents/skills/enable-i18n/SKILL.md · 413 lines

How it starts

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

Enable i18n (next-intl, no Markets)

Add next-intl so the storefront serves locale-prefixed URLs (/en-US/products/foo), loads per-locale message catalogs, and exposes a copy-language switcher. The default is one deployment with clean URLs, inline component copy with reusable functions in lib/content/index.ts, and shopConfig.localization = { country: "US", language: "EN", locale: "en-US" }. There is no next-intl dependency, message catalog, lib/i18n/ directory, or lib/params/server.ts locale resolver to reuse in a fresh template.

Use enable-shopify-markets instead for regional commerce. This skill translates storefront copy and adds routing; it must not infer a commerce country from a copy locale or mutate cart buyer country when language changes. Keep Shopify country/language configuration explicit, preserve intentional operation locale/cache inputs, and always display currency from Shopify responses.

Inspect and preserve the installation

Read scoped AGENTS.md, package.json, next.config.ts, lib/config/index.ts, lib/content/index.ts, routes, components, layout, proxy, and any existing localization files. Trace copy consumers, formatting, SEO, markdown, cart, auth, and chat boundaries before editing.

Choose the migration path from evidence:

  • Fresh simplified template: introduce next-intl, catalogs, request config, routing, and the locale resolver using the steps below.
  • Already localized or customized: preserve its next-intl version/configuration, catalogs, translations, rich text, providers, supported locales, domains, prefixes, locale cookies, redirects, and commerce behavior. Fill only missing pieces. Do not replace existing catalogs with template English, move routes twice, or reset the locale list to these examples. If the requested routing conflicts with existing public URLs, obtain a migration decision before changing them.
  • Mixed migration: inventory inline copy, content functions, and catalogs. Convert only unmigrated consumers and retain modules still in use. Do not delete working translations or collapse locale-sensitive commerce/cache arguments.

Read the full file on GitHub · 413 lines

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. 11d ago Changed 0b85d42561b0
  2. 22d ago Changed · -1 lines 0ff53597d94d
  3. 29d ago Changed · -57 lines ec3bce5a04d8
  4. 1mo ago Changed · +12 lines 876ffa4364c2
  5. 1mo ago First seen · 459 lines · 96 tokens per session scan A 7ccf6d4c167c

Subscribe to this mod's changes

enable-i18n is a skill published in the GitHub repository vercel/shop (126 stars, last pushed 5d ago), licensed MIT. It adds 96 tokens to every session and 5,883 once invoked, about $0.0004 per session on Opus 5.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-09-26.

Related

enable-i18n compared with skills from other repositories

enable-i18n next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
enable-i18nvercel/shopSkill1265d agoMITA96Claude Code, Codex
intl-expansionalirezarezvani/claude-skillsSkill29kyesterdayMITA27Claude Code
azure-ai-translation-text-pymicrosoft/skillsSkill3.2kyesterdayMITA60Claude Code
chinese-documentationjnMetaCode/superpowers-zhSkill8.5k11d agoMITA62Claude Code
hardenfengshao1227/ccg-workflowSkill6.0k5d agoMITA62Claude Code
edit-sitemicrosoft/power-platform-skillsSkill1.1kyesterdayMITA104Claude Code
asc-subscription-localizationrorkai/app-store-connect-cli-skillsSkill1.1kyesterdayMITA60Claude Code