ergopti: Skill for Claude Code

.agents/skills/i18n/SKILL.md

i18n is a skill for Claude Code, Codex from adrienm7/ergopti. It costs 32 tokens per session (507 once invoked), scanned A, original, MIT.

A workflow for changing user-facing text through a localisation system, which provides translated versions for different languages. It keeps the English text as the source and updates all supported locales.

In plain words
What is it for?
Use it when adding or changing labels, messages, and other interface copy, then checking that every locale has the required translation key.
Why use it?
It prevents untranslated or hardcoded interface text from appearing inconsistently across menus, dialogs, tooltips, onboarding, and web views.

Skill for Claude CodeCodex

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 adrienm7/ergopti's own configuration. It tells Claude Code and Codex how to work on ergopti 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 ergopti configures →

Reuse

Borrowing it

Nothing to install: this file belongs to adrienm7/ergopti. 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/adrienm7/ergopti/main/.agents/skills/i18n/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/adrienm7/ergopti

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 i18n

README.md
[![agentmods](https://agentmods.dev/badge/skills/adrienm7/ergopti/i18n/github.svg)](https://agentmods.dev/skills/adrienm7/ergopti/i18n)
Your own site
<a href="https://agentmods.dev/skills/adrienm7/ergopti/i18n"><img src="https://agentmods.dev/badge/skills/adrienm7/ergopti/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/adrienm7/ergopti/i18n"><img src="https://agentmods.dev/badge/skills/adrienm7/ergopti/i18n.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 507 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.00032 $0.00507
Opus 5.5 $0.00013 $0.00203
Sonnet 5.5 $0.00006 $0.00101
Haiku 4.5 $0.00003 $0.00051

Measured 10d ago against content hash c4f180f6ea5b, 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 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.

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.

.agents/skills/i18n/SKILL.md · 50 lines

What it actually says

User-facing text

AGENTS.md makes developer text English and routes user-facing French through this skill. French is not hardcoded: every user-facing string goes through the i18n system in all 21 languages. This includes WebView UIs (metrics, download window, onboarding), not just native menus.

Never hardcode a UI string anywhere. There is exactly one narrow exception, and it is documented in code where it applies: a fatal pre-boot error modal that fires before i18n can be loaded.

Where the strings live

static/ergopti_plus/_shared/data/locales/
├── en.json    ← canonical key set (tracked)
├── fr.json … zh.json   (20 more, tracked)
└── *.tsv      ← gitignored self-healing fast-parse cache — never edit, never commit

21 locales: ar cs da de en es fr he hi it ja ko nl no pl pt ru sv tr uk zh.

The .tsv files are a regenerated parse cache (project-locale-fast-cache). Only the .json is the source. Editing a .tsv does nothing durable.

Procedure

  1. Add the key to en.json first — it is the canonical key set that every other locale is diffed against.
  2. Propagate to the other 20. python tools/locale/check_locales.py --fix is the backfill tool; review what it writes rather than trusting it blindly.
  3. Reference the key from code via the i18n accessor — never inline the text.
  4. Run the gate. npm run test:js carries the translations audit, and tests/meta/infra/i18n/test_locale_json_valid.ahk enforces key parity in the AHK suite.

A missing key in one locale fails CI. Adding an English string "temporarily" with the intent to translate later does not survive the gate — do it in the same commit.

Reviewing

When reviewing a diff that adds UI, check for the string literal, not the key: a hardcoded French label reads naturally and slips through review precisely because it looks correct to a French speaker.

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. 10d ago Changed c4f180f6ea5b
  2. 15d ago First seen · 50 lines · 32 tokens per session scan A 438c8cf314b8

Subscribe to this mod's changes

i18n is a skill published in the GitHub repository adrienm7/ergopti (14 stars, last pushed yesterday), licensed MIT. It adds 32 tokens to every session and 507 once invoked, about $0.0001 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-14.

Related

Other skills, from other repositories

intl-expansion

International market expansion strategy. Market selection, entry modes, localization, regulatory compliance, and go-to-market by region. Use when expanding to new countries, evaluating international markets, planning localization, or building regional teams.

alirezarezvani/claude-skills · 46 tokens

chinese-documentation

A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.

jnMetaCode/superpowers-zh · 62 tokens

edit-site

Plans, coordinates and customizes PAC CLI-downloaded Standard or Enhanced data model non-SPA Power Pages sites created from Microsoft templates or manually in Design Studio. Use for requests involving pages, localized content, navigation, assets, snippets, site markers, Liquid/web templates, page layouts, or styling.…

microsoft/power-platform-skills · 104 tokens

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.

rorkai/app-store-connect-cli-skills · 60 tokens

seedance-vocab-en

This skill should be used when an English Seedance 2.0 prompt needs clearer production wording, less generic prose, or precise vocabulary for camera, lighting, motion, VFX, audio, and constraints. Route blocked prompts through seedance-filter for context and boundary review.

Emily2040/seedance-2.0 · 61 tokens

performance-report

Generate affiliate performance reports with KPIs and recommendations. Triggers on: "show my affiliate report", "how are my programs doing", "performance review", "earnings report", "monthly affiliate report", "weekly report", "analyze my affiliate earnings", "which program is best", "EPC report", "conversion rate…

Affitor/affiliate-skills · 80 tokens