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.
npx skills add spree/agent-skills --skill spree-i18ngit clone --depth 1 https://github.com/spree/agent-skillsWrote 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.
[](https://agentmods.dev/skills/spree/agent-skills/spree-i18n)<a href="https://agentmods.dev/skills/spree/agent-skills/spree-i18n"><img src="https://agentmods.dev/badge/skills/spree/agent-skills/spree-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.
<a href="https://agentmods.dev/skills/spree/agent-skills/spree-i18n"><img src="https://agentmods.dev/badge/skills/spree/agent-skills/spree-i18n.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00133 | $0.03682 |
| Opus 5 | $0.00067 | $0.01841 |
| Sonnet 5 | $0.00027 | $0.00736 |
| Haiku 4.5 | $0.00013 | $0.00368 |
Grade A, and why
spree-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 10d 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 -H "X-Spree-Api-Key: pk_…" \ How it starts
The opening of the file, as written. The whole thing — 296 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spree I18n + Translations
Two distinct translation surfaces, each with its own mechanism:
| What | Mechanism | Where it lives |
|---|---|---|
| UI strings (labels, buttons, errors, emails) | Standard Rails I18n + Spree.t |
config/locales/<locale>.yml |
| Data (product names, category names, descriptions) | Mobility gem translation tables | spree_<model>_translations tables |
You need both for a multilingual store. UI strings are about how the app speaks; data translations are about what merchant content the customer sees.
UI strings — Spree.t and the YAML files
Every Spree gem ships its own English locale file. Spree.t looks up a key scoped under spree.* in the active locale:
Spree.t(:save) # => "Save"
Spree.t('i18n.this_file_language') # => "English (US)"
Spree.t(:paid, scope: 'payment_states') # => "Paid"
Spree.t(:missing_key, default: 'Fallback') # => "Fallback"
In views / helpers, the shorthand is just Spree.t(...). In ERB templates, you can also use <%= t('.relative_key') %> for lazy lookup based on the controller + action name (standard Rails).
Adding a new UI language
-
Install the translations gem (community-maintained):
# Gemfile gem 'spree_i18n' # ships translations for 40+ localesThis adds
config/locales/<locale>.ymlfiles for every Spree gem in the bundle. -
Add the locale to your store's supported list:
# backend/config/initializers/spree.rb I18n.available_locales = %i[en es fr de it ja] I18n.default_locale = :en -
(Optional) Add the locale to the relevant market's supported_locales so the storefront language switcher offers it. Locales are configured per Market, not on the store:
store = Spree::Store.default store.default_market.update!(supported_locales: ['es', 'fr'])supported_localesaccepts an Array or a comma-separated string;default_localealso lives on the market. When a store has markets (the norm — stores created with adefault_country_iso, including seeds and the admin flow, get a default market automatically), market values take precedence:Store#supported_locales_listcomes entirely from the markets, andStore#default_localereturns the default market's locale — falling back to the store column only when the market'sdefault_localeis blank. With no markets at all, the store-level columns are used directly.
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.
- 10d ago First seen · 296 lines · 133 tokens per session scan A 8c8a5e8684de
spree-i18n is a skill published in the GitHub repository spree/agent-skills (4 stars, last pushed 2mo ago), licensed MIT. It adds 133 tokens to every session and 3,682 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-31.
Other skills, from other repositories
asc-subscription-localization
Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.
tiktok-shop-cross-border
Cross-border selling on TikTok Shop. Market selection, logistics setup, localization strategy, compliance requirements, and international expansion. Use when the user asks about TikTok Shop international selling, cross-border ecommerce, global expansion, or selling in multiple countries.
amazon-global-selling
Evaluate and plan Amazon marketplace expansion across countries and regions. Use when a seller asks which Amazon marketplace to enter, how to compare international demand and economics, what tax, product-compliance, logistics, localization, account, or launch workstreams to investigate, or how to build a gated…
localization-testing
AI-powered localization and internationalization testing skill for e-commerce sites. Designs multi-language QA frameworks, currency validation checks, shipping info verification, and regional compliance audits.
shopify-international
Shopify Markets — multi-currency, translation, duties/taxes, localized pricing, market-specific content.
amazon-international-listings
Multi-marketplace listing management — translation, pricing localization, BIL (Build International Listings).