localize-text

localize-text is a skill for Claude Code, Codex from surfmind-space/awesome-surfmind. It costs 76 tokens per session (798 once invoked), scanned A, original, MIT.

A text adaptation tool for translating content to a particular language, country, and audience. It adjusts local expressions, measurements, prices, dates, examples, formality, and tone while keeping the original meaning.

In plain words
What is it for?
Use it to translate and adapt writing for websites, software, marketing, documentation, or other content aimed at a specific region or audience.
Why use it?
Literal translation can sound unnatural or use unfamiliar local conventions. This helps avoid changes to important facts, links, code, or required wording during localization.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to translate and adapt writing for websites, software, marketing, documentation, or other content aimed at a specific region or audience.

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

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 localize-text

README.md
[![agentmods](https://agentmods.dev/badge/skills/surfmind-space/awesome-surfmind/localize-text.svg)](https://agentmods.dev/skills/surfmind-space/awesome-surfmind/localize-text)
Your own site
<a href="https://agentmods.dev/skills/surfmind-space/awesome-surfmind/localize-text"><img src="https://agentmods.dev/badge/skills/surfmind-space/awesome-surfmind/localize-text.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 798 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.00076 $0.00798
Opus 5 $0.00038 $0.00399
Sonnet 5 $0.00015 $0.00160
Haiku 4.5 $0.00008 $0.00080

Measured 7d ago against content hash 20b076badc5a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

localize-text 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 7d 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.

skills/localize-text/SKILL.md · 80 lines

How it starts

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

Localize Text

Adapt selected or provided text for {value}. Localize for the target language, region, and audience rather than translating word-for-word by adjusting idioms, units, currency, dates, examples, formality, and tone while preserving the original message, facts, and intent.

How To Work

  1. Identify target locale, audience, channel, and tone.
  2. Adapt idioms, units, dates, currency, examples, formality, calls to action, and cultural assumptions.
  3. Preserve factual meaning, brand terms, legal constraints, code, links, and markdown.
  4. For ambiguous dates (9/30), decimal/thousands separators, untranslatable idioms, or rate-dependent prices, pick the local convention and state the assumption rather than translating literally.
  5. Verify that numbers, names, links, code, and legally required wording survive the rewrite unchanged in meaning before returning the result.
  6. Flag content that may need native-speaker, legal, compliance, or brand review.

Output Format

Use concise headings. Include these sections when they fit:

  • Localized text
  • Localization choices
  • Items to review

Guardrails

  • Be useful and specific, but do not overclaim.
  • Separate supported facts, tool-derived context, assumptions, and recommendations.
  • Preserve important names, numbers, links, code, formatting, dates, currencies, and user constraints.
  • If the visible context is insufficient, say what is missing and provide the best supported next step.
  • Do not invent local claims or compliance statements.
  • Do not erase legally required wording.

Example

Localize for Japanese (target value: Japanese):

Source (English):

Our fall sale ends 9/30. Save $50 when you spend over $200 — that's a no-brainer!

Localized text

秋のセールは9月30日(火)までです。20,000円以上のお買い上げで5,000円OFF。この機会をお見逃しなく。

Localization choices

  • Rewrote the date 9/30 as 9月30日 to avoid the US month/day ambiguity.
  • Converted prices to yen at a stated assumed rate (review before publishing).
  • Replaced the idiom "no-brainer" with お見逃しなく ("don't miss it"), which carries the same nudge without literal translation, and shifted to polite (です/ます) register.

Items to review

  • Confirm the JPY conversion and any tax-display rules for the target market.

Read the full file on GitHub · 80 lines

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. 7d ago First seen · 80 lines · 76 tokens per session scan A 20b076badc5a

Subscribe to this mod's changes

localize-text is a skill published in the GitHub repository surfmind-space/awesome-surfmind (5 stars, last pushed 1mo ago), licensed MIT. It adds 76 tokens to every session and 798 once invoked, about $0.0004 per session on Opus 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-08-31.

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

yida-i18n

A tool for managing the languages and translated text in YiDA applications, including which languages are enabled and the wording shown on pages.

openyida/openyida · 87 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

aso-marketing

Optimize App Store and Google Play listings via a 7-phase, plan-approval-gated ASO workflow (keyword strategy, metadata, localization). Don't use for web SEO, paid UA campaigns, or pre-submission compliance audits.

luongnv89/skills · 50 tokens

azure-translator

Expert knowledge for Azure Translator development including troubleshooting, best practices, decision making, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when using translate/detect/dictionary APIs, Custom Translator, glossaries, document jobs, or Docker containers…

MicrosoftDocs/Agent-Skills · 114 tokens