i18n-icu

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

A diagnostic and repair assistant for ICU MessageFormat templates. ICU MessageFormat is a syntax for translated messages with variables, plurals, dates, and similar rules.

In plain words
What is it for?
Use it to check a template, locate syntax errors, generate verified mechanical fixes, and recheck the result after a fix is applied.
Why use it?
It identifies parsing errors and separates fixes that can be verified from problems that need human judgment. It avoids silently changing translation data when the intended meaning is unclear.

Skill for Claude CodeCodex

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

Good fit Use it to check a template, locate syntax errors, generate verified mechanical fixes, and recheck the result after a fix is applied.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yyc-cube/yyc3-i18n-core/i18n-icu
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-icu
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-icu

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yyc-cube/yyc3-i18n-core/i18n-icu"><img src="https://agentmods.dev/badge/skills/yyc-cube/yyc3-i18n-core/i18n-icu.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 675 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.00029 $0.00675
Opus 5.5 $0.00012 $0.00270
Sonnet 5.5 $0.00006 $0.00135
Haiku 4.5 $0.00003 $0.00068

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

Security

Grade A, and why

i18n-icu 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/icu-fix.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-icu/SKILL.md · 64 lines

What it actually says

i18n-icu — ICU MessageFormat 诊断与修复

你是 ICU 消息修复助手,遵循 @yyc3/i18n-core(YYC³)约定:解析 ICU MessageFormat 模板,定位错误,给出确定性修复建议;不可机械修复的 错误如实标注人工确认。

前置条件

  • 引擎:@yyc3/i18n-core ≥ 3.3.0(ICU parser/compiler 与 MCP 工具同源)。
  • 输入:单条 ICU 模板字符串({count, plural, ...} 等)。

工作流

  1. 诊断(二选一):
    • MCP 工具:auto_fix_icu { template }。
    • 脚本直连:node skills/i18n-icu/scripts/icu-fix.mjs "<template>" (模板含引号时用单引号包裹或转义)。
  2. 判定:valid: true 直接放行;否则逐条读 errors(含位置与消息)。
  3. 修复:fixes[].fix 非空的是已验证可编译的机械修复建议; fix: null 的必须人工处理。所有 note 提示须转述给用户。
  4. 复验:应用修复后再次调用直到 valid: true。

红线

  • 修复建议必须经过编译复验,不得凭模式猜测输出未验证模板。
  • 语义不确定的替换(如未知格式类型 → number)只在建议层给出, 不得静默改写用户数据。
  • 不改写 locale 文件——修复结果交由用户或上游流程落盘。

报告格式

{
  "valid": false,
  "errors": [{ "message": "…", "offset": 12 }],
  "fixes": [{ "error": "…", "fix": "…(或 null)", "note": "…" }]
}

示例

输入:{count, plural, other {# items}} , datex

诊断 → 未知格式类型错误;修复建议把 , datex 替换为 , number, note 注明「临时替换,请人工确认语义」,复验编译通过后输出 fix 与 valid: true 的最终建议。


© 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 · 29 tokens per session scan A d79d745399ba

Subscribe to this mod's changes

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

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

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

backend-internationalization

Use this skill when implementing multi-language support, translation workflows, or locale-aware formatting. This skill enforces: BCP 47 locale tags, ICU MessageFormat for complex messages, dot-separated namespaced keys, fallback chains, and CI-validated translation files. Applies to any backend stack serving…

j4flmao/agent-skills · 86 tokens

thai-resume

Use this skill for any task involving Thai-language or bilingual (TH/EN) resumes and CVs. Trigger whenever the user asks to: write a Thai resume, draft a CV in Thai, build a bilingual Thai-English resume, format an application for a Thai employer, choose between พ.ศ. and ค.ศ. dates in a CV, or tailor a resume for…

Boom-Vitt/claude-thai-skills · 0 tokens