todox: Skill for Claude Code

.claude/skills/i18n-strings/SKILL.md

i18n-strings is a skill for Claude Code from beydemirfurkan/todox. It costs 50 tokens per session (752 once invoked), scanned A, original, MIT.

A set of project rules for adding visible text and labels to the todox application in English and Turkish.

In plain words
What is it for?
Use it when changing user-facing text, adding labels, or updating the application's two language dictionaries.
Why use it?
It prevents missing translations, mismatched placeholders, and translation code being used in the wrong kind of component.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is beydemirfurkan/todox's own configuration. It tells Claude Code how to work on todox itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything todox configures →

Reuse

Borrowing it

Nothing to install: this file belongs to beydemirfurkan/todox. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/beydemirfurkan/todox/main/.claude/skills/i18n-strings/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/beydemirfurkan/todox

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/beydemirfurkan/todox/i18n-strings"><img src="https://agentmods.dev/badge/skills/beydemirfurkan/todox/i18n-strings.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 752 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.00050 $0.00752
Opus 5 $0.00025 $0.00376
Sonnet 5 $0.00010 $0.00150
Haiku 4.5 $0.00005 $0.00075

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

Security

Grade A, and why

i18n-strings 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 9d 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.

.claude/skills/i18n-strings/SKILL.md · 68 lines

How it starts

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

Strings

Every visible string comes from lib/i18n/. There is no library and no next-intl: a cookie, a lookup table, and a function.

The two dictionaries

  • lib/i18n/en.ts is the source. Its keys are the type Key.
  • lib/i18n/tr.ts is Record<Key, string>, so a missing translation fails the build. Add to both, in the same commit.
  • English is the default (DEFAULT_LANG in lib/i18n/index.ts), and only because a caller that states no preference is usually not a person — Googlebot and every link-preview fetcher send no Accept-Language. A Turkish browser sends tr and is negotiated to Turkish. Write the Turkish properly — full orthography, real diacritics. Do not machine-translate it: it is a first-class language here, not a translation of the English.
  • Keep a new key next to the ones it belongs with; both files are grouped by area (/* chrome */, /* auth */, …) and in the same order.

Placeholders

translator() substitutes {name} from a vars object:

t("minutesAgo", { n: 5 })   // "5m ago" / "5dk önce"

The type system guarantees the key exists in both languages. It says nothing about what is inside it, so a translation that drops {n} loses the number silently. lib/i18n/index.test.ts asserts placeholder parity — if you add a key with a placeholder, that test already covers it.

t cannot enter a client component

getT() (lib/lang.ts) reads the cookie through next/headers, so it is server-only, and t is a function — functions are not serialisable across the boundary. Passing it to a "use client" component is a runtime error, not a compile error.

Translate on the server, pass strings as props. The pattern is everywhere:

  • app/features/auth-form.tsx — takes submitLabel, successLabel, a pre-translated messages record.
  • app/features/token-form.tsx, app/features/lang-button.tsx — same.

Server components call const { t } = await getT() directly.

Where the language comes from

Read the full file on GitHub · 68 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. 9d ago First seen · 68 lines · 50 tokens per session scan A f8721ca7dec1

Subscribe to this mod's changes

i18n-strings is a skill published in the GitHub repository beydemirfurkan/todox (2 stars, last pushed 2d ago), licensed MIT. It adds 50 tokens to every session and 752 once invoked, about $0.0003 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.