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.
npx skills add filipebraida/adonisjs-starter-kit --skill i18ngit clone --depth 1 https://github.com/filipebraida/adonisjs-starter-kitWrote 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.
[](https://agentmods.dev/skills/filipebraida/adonisjs-starter-kit/i18n)<a href="https://agentmods.dev/skills/filipebraida/adonisjs-starter-kit/i18n"><img src="https://agentmods.dev/badge/skills/filipebraida/adonisjs-starter-kit/i18n/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.
<a href="https://agentmods.dev/skills/filipebraida/adonisjs-starter-kit/i18n"><img src="https://agentmods.dev/badge/skills/filipebraida/adonisjs-starter-kit/i18n.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00105 | $0.02011 |
| Opus 5.5 | $0.00042 | $0.00804 |
| Sonnet 5.5 | $0.00021 | $0.00402 |
| Haiku 4.5 | $0.00011 | $0.00201 |
Grade A, and why
i18n 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 15d 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.
How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
i18n
Locales are declared in config/i18n.ts (supportedLocales, defaultLocale); its loaders are found at boot, one per module with a resources/lang/ folder. Translation JSON lives per module at app/<mod>/resources/lang/<locale>/<namespace>.json. The file name is the namespace, on the backend loader and on the frontend glob alike (core.json → core.layout.navMain.dashboard), so the file doesn't repeat core. inside. A module's main file is named after it; a module may hold others (auth/…/errors.json → errors.*, users/…/validator.json for VineJS messages). Backend uses ctx.i18n.t('key'); frontend uses useTranslation(). Locale detection runs as an HTTP middleware that prefers an X-User-Language header → a user-locale cookie → the browser's Accept-Language. Authenticated users have User.locale as the authoritative source: the switch endpoint writes both cookie and DB; every login flow syncs the cookie from user.locale if set.
Rules
- Adding a key requires an entry in every supported locale. There is no auto-generate. Missing keys fall back to the default locale at runtime — the mixed-language UI is the symptom. Two checks guard it: the frontend
tis typed from theenJSON files (.adonisjs/client/i18n.d.ts, generated bypnpm ace codegen), so an unknown key failspnpm typecheck; andapp/core/tests/unit/resources/translations.spec.tsfails when a locale lacks a keyenhas (or has oneenlacks). - Key naming:
<file>.<section>.<key>. The prefix is the file name, the same on the server and the frontend; inside<mod>.jsonyou don't repeat it. E.g. insidecore.json:
and consumed as{ "layout": { "navMain": { "dashboard": "Dashboard" } } }t('core.layout.navMain.dashboard'). - Frontend:
useTranslation()returns{ t, changeLanguage, language }.t(key, params?)supports ICU interpolation. The browser downloads only the current locale (and the fallback);changeLanguageloads a new one before switching. SSR bundles every locale. - Backend:
ctx.i18n.t('key', params?). The i18n instance is bound toHttpContextby the locale-detection middleware. Use in controllers, actions (ifi18nwas in the input), and mail classes. - ICU interpolation:
{name}in the string,t('key', { name: 'Alice' })at the call site. Also supports plurals and selectors. - Validation messages: VineJS uses the request's i18n instance through the messages provider bound in the locale-detection middleware. Localize by adding keys under
<field>.<rule>in<mod>/resources/lang/<locale>/validator.json. - User preference:
User.localeis a nullable column. When authenticated, the switch endpoint updates both the cookie anduser.locale. Login flows syncuser-localecookie fromuser.localeif set. Pre-login (marketing/auth pages) uses cookie /Accept-Language, never DB. - Enum labels are keys, not code. Each enum value has a
<mod>.<enum>.<value>key in every locale (users.roles.admin.name,users.activity.events.roles_synced); transformers ship the raw value and the screen translates it. The enum file never holds display text. - Server-built text is translated before it leaves the request: mails get their strings in the action (see [[mail]]); a flash message uses
ctx.i18n.t(...). packages/uiholds no keys. A primitive takes its texts as props with English defaults (labelsonDataTable,emptyMessage/clearLabelon the filters); a wrapper in#core/uifills them fromt(#core/ui/components/data_table).- Locale switcher UI:
<LanguageSwitcher />lives in every logged-in shell — see [[layout-shells]]. - Adding a locale means updating
supportedLocalesinconfig/i18n.ts, adding a folder under every module'sresources/lang/, and confirming every key exists in the new locale.
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.
- 15d ago Changed · +1 lines b09b4ce20ee5
- 3mo ago First seen · 107 lines · 105 tokens per session scan A 7c79420768a7
i18n is a skill published in the GitHub repository filipebraida/adonisjs-starter-kit (99 stars, last pushed yesterday), licensed MIT. It adds 105 tokens to every session and 2,011 once invoked, about $0.0004 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-30.
i18n compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| i18nfilipebraida/adonisjs-starter-kit | Skill | 99 | yesterday | MIT | A | 105 | Claude Code |
| calendarcnvmnog/calendarcn | Skill | 164 | 4d ago | MIT | A | 76 | Claude Code, Codex |
| ui-beatsnikhils4/ui-beats | Skill | 236 | 3mo ago | MIT | A | 62 | Claude Code, Codex |
| react-doctorshipkit-io/bones | Skill | 21 | yesterday | none | A | 31 | Claude Code, Codex |
| magic-uimagicuidesign/magicui | Skill | 24k | today | MIT | A | 56 | Claude Code, Codex |
| tanstack-queryKiranism/next-shadcn-dashboard-starter | Skill | 7.3k | 3d ago | MIT | A | 48 | Claude Code, Codex |
| gpt-image-playgroundCookSleep/gpt_image_playground | Skill | 4.2k | 2d ago | MIT | A | 164 | Claude Code, Codex |