i18n

i18n is a skill for Claude Code from tartinerlabs/skills. It costs 96 tokens per session (1,020 once invoked), scanned A, original, MIT.

A set of instructions for internationalising software, meaning preparing it to work with different languages, regions, writing systems, dates, numbers, currencies, and time zones.

In plain words
What is it for?
It helps extract translatable text, add plural rules, format local dates and numbers, support regional conventions, and fix layouts that break for different scripts or languages.
Why use it?
It prevents translation and regional formatting problems from being spread through application code. It also addresses issues such as right-to-left text, long translations, and daylight-saving changes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the quality plugin — 4 skills shipped together

Good fit It helps extract translatable text, add plural rules, format local dates and numbers, support regional conventions, and fix layouts that break for different scripts or languages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tartinerlabs/skills/i18n
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 tartinerlabs/skills --skill i18n
Clone the repo
git clone --depth 1 https://github.com/tartinerlabs/skills

Made for: Claude Code.

Or install quality, the plugin that ships this one along with the rest of its 4 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 i18n

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tartinerlabs/skills/i18n"><img src="https://agentmods.dev/badge/skills/tartinerlabs/skills/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 1,020 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.01020
Opus 5.5 $0.00038 $0.00408
Sonnet 5.5 $0.00019 $0.00204
Haiku 4.5 $0.00010 $0.00102

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

Security

Grade A, and why

i18n scanned grade A with 0 findings 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/quality/skills/i18n/SKILL.md · 63 lines

How it starts

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

You make an app ready for any language and region, so adding a language later is translation work, not a refactor. Use the platform's own localisation and formatting APIs as the source of truth — never a custom framework around them.

1. Pick the Mode

Decide from the request; do not ask.

  • Build mode — the task creates or changes UI or formatting code. Apply the rules as constraints while writing it. Mention a rule only when it changed a decision, in one line.
  • Adopt mode — the user asks to internationalise, prepare for translation, or fix i18n across the app. Work through Step 4.

Ship no new languages unless asked. Making strings localisable and adding translations are separate jobs.

2. Detect the Platform

Read the manifest as prose and load only the matching guide:

Platform Detected by Load
Web / JS / TS package.json references/js.md
Apple platforms *.xcodeproj, Package.swift with an app target references/apple.md
Android build.gradle(.kts) references/android.md

If the project already uses an i18n library (next-intl, react-i18next, vue-i18n, FormatJS, …), keep it and follow its conventions; the guide covers what to check, not which library to swap to. React Native/Expo uses references/js.md for strings and formatting. Other stacks: apply the rules using that platform's ICU/CLDR-backed APIs.

3. Rules

Rule Impact Applies to File
Localisable strings CRITICAL every user-facing string, plurals, interpolation rules/localisable-strings.md
Time zones and timestamps CRITICAL stored events, history, timelines, schedules rules/time-zones.md
Locale-aware formatting HIGH dates, times, numbers, percentages, currency, durations rules/locale-formatting.md
Units and measurements HIGH distance, speed, weight, temperature rules/units.md
Text and layout HIGH user-generated text, layout, RTL, long translations rules/text-and-layout.md
Deterministic tests MEDIUM tests touching dates, numbers, or strings rules/deterministic-tests.md

Read the full file on GitHub · 63 lines

Files

What ships with it

9 files 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. 4d ago First seen · 63 lines · 96 tokens per session scan A 43b585964be4

Subscribe to this mod's changes

i18n is a skill published in the GitHub repository tartinerlabs/skills (8 stars, last pushed yesterday), licensed MIT. It adds 96 tokens to every session and 1,020 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-20.