i18n-guide

i18n-guide is a cursor rule for Cursor from gracefullight/docusaurus-plugins. It costs 1,041 tokens per session, scanned A, original, MIT.

Response language rules for agents and workflows.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/gracefullight/docusaurus-plugins/i18n-guide
Clone the repo
git clone --depth 1 https://github.com/gracefullight/docusaurus-plugins

Made for: Cursor.

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

README.md
[![agentmods](https://agentmods.dev/badge/rules/gracefullight/docusaurus-plugins/i18n-guide.svg)](https://agentmods.dev/rules/gracefullight/docusaurus-plugins/i18n-guide)
Your own site
<a href="https://agentmods.dev/rules/gracefullight/docusaurus-plugins/i18n-guide"><img src="https://agentmods.dev/badge/rules/gracefullight/docusaurus-plugins/i18n-guide.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,041 This file is loaded in full into every session.
When invoked 1,041 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.01041 $0.01041
Opus 5 $0.00521 $0.00521
Sonnet 5 $0.00208 $0.00208
Haiku 4.5 $0.00104 $0.00104

Measured today against content hash 3a16b7aad89c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

i18n-guide 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 today.

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.

.cursor/rules/i18n-guide.mdc · 96 lines

How it starts

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

i18n Guide — Response Language Rules

Rules for determining and applying response language across agents and workflows.

Language Resolution

Response language is determined by the following priority:

  1. User prompt language — if the user writes in a specific language, respond in that language
  2. oma-config.yamllanguage field in .agents/oma-config.yaml
  3. Fallback — English (en) if neither of the above is set
# .agents/oma-config.yaml
language: ko  # ko, en, ja, zh, ...

Translation Voice

When translating user-facing content, the translation_voice field in .agents/oma-config.yaml controls global rhythm and formality. It is applied on top of oma-translator content-type persona routing.

Value Effect
formal strict complete sentences, no fragments, formal register only
balanced (default) content-type defaults — fragments only in label/cell positions
interpreter punchy, audience-first, spoken cadence; fragments allowed when natural

Workflows that translate user-facing content should respect this setting via the oma-translator skill rather than hardcoding a tone.

What to Localize

Category Localize? Example
Natural language responses Yes User-facing explanations and descriptions
Error messages (user-facing) Yes Authentication failure messages
Status updates / progress reports Yes "Phase 2 complete, starting Phase 3"
Charter Preflight output Yes Descriptive text localized, keywords stay in English
Result files (result-*.md) Yes User-readable text

What Stays in English

Category Why Example
Code (variables, functions, classes) Codebase consistency getUserProfile()
Git commit messages Conventional commits standard feat: add user auth
PR titles/body GitHub collaboration standard fix: resolve race condition
Technical / domain terms Meaning loss when translated API, JWT, middleware, scaffold
File paths / config keys System identifiers .agents/config/
Log levels / status keywords Parsing compatibility Status: completed, BLOCKED
CLAUDE.md / SKILL.md content System prompts Keep English originals

Read the full file on GitHub · 96 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. today First seen · 96 lines · 1,041 tokens per session scan A 3a16b7aad89c

Subscribe to this mod's changes

i18n-guide is a cursor rule published in the GitHub repository gracefullight/docusaurus-plugins (22 stars, last pushed 2mo ago), licensed MIT. It adds 1,041 tokens to every session, about $0.0052 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-09-03.