i18n-setup

i18n-setup is a skill for Claude Code, Codex from YYC-Cube/YYC3-i18n-Core. It costs 36 tokens per session (746 once invoked), scanned A, original, MIT.

A project setup tool for internationalization, which means preparing software to show different languages and regional formats. It creates language-file templates, configuration, and command-line connections for a new or existing project.

In plain words
What is it for?
Use it to create locale files, connect the translation engine, extract translation keys from existing source code, validate language switching, and export translations as JSON, CSV, or YAML.
Why use it?
It removes the repetitive initial work of adding language support and avoids overwriting files that already exist. It also provides a starting structure for checking and exporting translations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create locale files, connect the translation engine, extract translation keys from existing source code, validate language switching, and export translations as JSON, CSV, or YAML.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yyc-cube/yyc3-i18n-core/i18n-setup
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 YYC-Cube/YYC3-i18n-Core --skill i18n-setup
Clone the repo
git clone --depth 1 https://github.com/YYC-Cube/YYC3-i18n-Core

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-setup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yyc-cube/yyc3-i18n-core/i18n-setup"><img src="https://agentmods.dev/badge/skills/yyc-cube/yyc3-i18n-core/i18n-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 746 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.00036 $0.00746
Opus 5.5 $0.00014 $0.00298
Sonnet 5.5 $0.00007 $0.00149
Haiku 4.5 $0.00004 $0.00075

Measured yesterday against content hash f106f13f7dc0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

i18n-setup 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/setup.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/i18n-setup/SKILL.md · 64 lines

What it actually says

i18n-setup — 项目 i18n 接入脚手架

你是 i18n 接入助手,遵循 @yyc3/i18n-core(YYC³)约定:为新项目或存量 项目生成引擎配置与语言包骨架,并打通 CLI/MCP 工作流。

前置条件

  • 运行时:Node.js ≥ 18(ESM);浏览器项目走 @yyc3/i18n-core/browser。
  • 依赖:npm i @yyc3/i18n-core(零运行时依赖)。
  • 语言集:与用户确认源语言与目标语言(BCP-47),默认 en + zh-CN。

工作流

  1. 脚手架(二选一):
    • CLI:yyc3 i18n init(YYC3-CLI,交互式生成配置与语言包)。
    • 脚本直连:node skills/i18n-setup/scripts/setup.mjs <dir> --locales en,zh-CN (生成 <dir>/i18n.config.json 与 <dir>/locales/<locale>.json 骨架; 已存在的文件跳过不覆盖)。
  2. 装载校验:初始化引擎读取配置,注册语言包,跑 set_locale { locale } 验证切换链路(含插件 onLocaleChange)。
  3. 键提取:存量项目经 i18n-extract 从源码拉键清单,回填语言包。
  4. 导出分发:export_formats { locale, format } 产出 JSON/CSV/YAML 交付物(json 为事实源,csv/yaml 为分发格式)。

红线

  • 不得覆盖既有配置与语言包——脚手架对已存在文件一律跳过。
  • 源语言包是基线:目标语言键集合必须与源对齐(经 i18n-audit 把关)。
  • RTL 语言(如 ar、he)接入时提示启用 rtl-utils 方向处理。

报告格式

{
  "config": "i18n.config.json",
  "created": ["locales/en.json", "locales/zh-CN.json"],
  "skipped": [],
  "nextSteps": ["extract keys", "translate", "audit"]
}

示例

node setup.mjs ./src --locales en,zh-CN,ja → 生成配置 + 三个语言包骨架 ({}),created 列三个文件;再次执行同命令 → 全部进入 skipped, 零覆盖。


© 2026 YanYuCloudCube™(YYC³)· [email protected] · MIT

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. yesterday First seen · 64 lines · 36 tokens per session scan A f106f13f7dc0

Subscribe to this mod's changes

i18n-setup is a skill published in the GitHub repository YYC-Cube/YYC3-i18n-Core (0 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 746 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-11-05.

Related

Other skills, from other repositories

skill-creation

Create a new Stencila workspace skill. Use when asked to create, write, or scaffold a SKILL.md file or skill directory.

stencila/stencila · 32 tokens

iflytek-text-proofread

A tool that checks Chinese writing through iFlytek’s official document-proofreading service. It looks for spelling, punctuation, wording, factual, terminology, and sensitive-content problems.

iflytek/iFly-Skills · 88 tokens

iflytek-translate

A text-translation tool that uses iFlytek's machine-translation service and supports more than 70 language pairs. It can translate text supplied directly, through standard input, or from a file.

iflytek/iFly-Skills · 65 tokens

iflytek-video-translate

A tool that translates a video’s speech into another language and creates dubbed audio. Video localization means adapting video content for viewers who speak a different language.

iflytek/iFly-Skills · 91 tokens

frontmcp-setup

Use when starting, scaffolding, or organizing a FrontMCP project. Covers creating a new project (CLI scaffold or manual) for Node, Vercel, and other targets; standalone versus Nx-monorepo layout, naming conventions, generators, and dependency rules; composing multiple @App classes, ESM packages, and remote MCP servers…

agentfront/frontmcp · 176 tokens

tongwen

Use when translating engineering DWG drawings with Tongwen — TWEXTRACTALL / TWTRANSLATE / TWWRITEBACKFILE in AutoCAD 2019/2021/2025/2026, glossary CSV with CM/TM precedence, placeholder QA blocking write-back, or headless Tongwen.Runner.BatchCli -i -o -c -m runs; also when extraction fails with a Named Pipe connection…

znlgis/opengis-skills · 111 tokens