i18n-setup

i18n-setup is an agent for Claude Code from navraj007in/architecture-cowork-plugin. It costs 26 tokens per session (1,285 once invoked), scanned A, original, Apache-2.0.

An agent that sets up internationalization for frontend applications, meaning support for multiple languages and regional formats. It configures language messages, locale-based routing, right-to-left layouts, and currency and date formatting based on the detected framework.

In plain words
What is it for?
Use it to add language catalogs, a language switcher, locale routing, right-to-left support for languages such as Arabic, and localized currency and date utilities.
Why use it?
It provides the project structure needed to serve different languages and display text and formats correctly for users in different regions.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the architect plugin — 48 skills, 63 commands, 19 agents, 7 MCP servers shipped together

Good fit Use it to add language catalogs, a language switcher, locale routing, right-to-left support for languages such as Arabic, and localized currency and date utilities.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/navraj007in/architecture-cowork-plugin/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.

Clone the repo
git clone --depth 1 https://github.com/navraj007in/architecture-cowork-plugin

Made for: Claude Code.

Or install architect, the plugin that ships this one along with the rest of its 48 skills, 63 commands, 19 agents, 7 MCP servers.

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/agents/navraj007in/architecture-cowork-plugin/i18n-setup/github.svg)](https://agentmods.dev/agents/navraj007in/architecture-cowork-plugin/i18n-setup)
Your own site
<a href="https://agentmods.dev/agents/navraj007in/architecture-cowork-plugin/i18n-setup"><img src="https://agentmods.dev/badge/agents/navraj007in/architecture-cowork-plugin/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/agents/navraj007in/architecture-cowork-plugin/i18n-setup"><img src="https://agentmods.dev/badge/agents/navraj007in/architecture-cowork-plugin/i18n-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,285 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.00026 $0.01285
Opus 5.5 $0.00010 $0.00514
Sonnet 5.5 $0.00005 $0.00257
Haiku 4.5 $0.00003 $0.00128

Measured 2mo ago against content hash 1546ac0cf9b4, 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 2mo 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/i18n-setup.md · 106 lines

How it starts

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

i18n Setup Agent

Autonomous frontend agent that scaffolds internationalization infrastructure: locale message catalogs, i18n library configuration, a locale switcher component, RTL support, and currency/date formatting utilities.

Input

The /architect:i18n-setup command passes:

{
  "frontend": {
    "framework": "Next.js",
    "directory": "/path/to/project/web-app"
  },
  "locales": ["en", "es", "fr", "ar"],
  "i18n_library": "i18next",
  "rtl_enabled": true,
  "design": {
    "body_font": "Noto Sans Arabic"
  }
}

Process

Step 1: Detect Frontend Framework

Use Glob/Read on the target component directory to confirm the framework and pick the idiomatic library:

  • Next.js → next-intl (App Router) or next-i18next (Pages Router)
  • Vite / Create React App / plain React → react-i18next
  • Vue → vue-i18n
  • Angular → @angular/localize

If a framework cannot be detected, stop and report per Error Handling below — do not guess.

Step 2: Detect Existing i18n Setup

Glob for i18n/, locales/, messages/ directories and library-specific config files (next-intl.config.ts, i18next.config.ts). If found and populated, treat as partially set up: add only the missing locales/config rather than overwriting.

Step 3: Generate Locale Message Catalogs

For each locale in the input list, create i18n/<locale>.json (or the framework's idiomatic path, e.g. messages/<locale>.json for next-intl) seeded with common UI phrases (navigation, auth, forms, errors, empty states) in that language — not placeholders. English is always the base/fallback locale.

Step 4: Configure the i18n Library

Write the framework's config file wiring up the locales list, default locale, and fallback behavior. Examples:

  • next-intl: i18n.ts + middleware for locale-prefixed routing (/en/..., /es/...)
  • react-i18next: src/i18n/config.ts with initReactI18next, HttpBackend or static imports
  • vue-i18n: src/i18n/index.ts with createI18n

Step 5: Generate the Locale Switcher Component

Read the full file on GitHub · 106 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. 2mo ago First seen · 106 lines · 26 tokens per session scan A 1546ac0cf9b4

Subscribe to this mod's changes

i18n-setup is an agent published in the GitHub repository navraj007in/architecture-cowork-plugin (2 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 26 tokens to every session and 1,285 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-08-31.

Related

Other agents, from other repositories

spec-validator

Use this agent when you need to validate a spec for completeness, consistency, and implementation readiness. Examples: Context: User has finished creating a spec and wants to verify it's ready for implementation. user: "I've finished the spec for user-authentication. Can you validate it?" assistant: "I'll use the…

Habib0x0/spec-driven-plugin · 275 tokens

spec-consultant

Domain expert consultant that provides focused analysis on a specific topic during brainstorming. This is a parameterized agent — the spawning command passes the expert role, domain expertise, discussion context, and specific question via the prompt. Returns structured analysis to the Lead. Context: During…

Habib0x0/spec-driven-plugin · 228 tokens

spec-reviewer

Reviews code quality, security, and architectural alignment after Tester verifies functionality. Uses the reasoning tier for deep reasoning about subtle issues.

Habib0x0/spec-driven-plugin · 29 tokens

evolve-locale-format-check

Internationalization audit agent for the Evolve Loop (Evaluate archetype). The advisor INSERTS this phase after Build whenever the cycle's scout.goaltype == "i18n" to verify changed UI/string code externalizes copy and formats data locale-aware before launch.

mickeyyaya/evolve-loop · 59 tokens

spec-implementer

Implements code for a single task from the spec. Focuses only on writing code, not testing or reviewing.

Habib0x0/spec-driven-plugin · 28 tokens

i18n-extractor

Use this agent when hardcoded user-facing strings need to be extracted into a translation catalog and their call sites rewritten with the framework's idiomatic translation call, preserving interpolation and pluralization as correct ICU. Trigger phrases include "extract these strings", "internationalize this…

sigistry/marketplace · 0 tokens