add-translation

add-translation is a skill for Claude Code, Codex from clidey/whodb. It costs 14 tokens per session (396 once invoked), scanned A, original, Apache-2.0.

A workflow for adding English text keys to the app's translation files. Localization means preparing software text so it can be displayed in different languages.

In plain words
What is it for?
Use it for labels, messages, parameterized text, plural forms, and text containing links or other UI elements.
Why use it?
It places shared and component-specific text in the right files and avoids changing other languages unless requested.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it for labels, messages, parameterized text, plural forms, and text containing links or other UI elements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clidey/whodb/add-translation
About the project

WhoDB is a self-hosted workspace for exploring and managing databases through a browser, desktop app, or terminal interface. Developers and data teams use it to browse and edit data, run queries, inspect table relationships, move data, and optionally ask questions through an AI provider. The catalogue includes add-ons for operating WhoDB and working with its database tools.

clidey/whodb · 5,074 stars · on GitHub · whodb.com

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 clidey/whodb --skill add-translation
Clone the repo
git clone --depth 1 https://github.com/clidey/whodb

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 add-translation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/clidey/whodb/add-translation"><img src="https://agentmods.dev/badge/skills/clidey/whodb/add-translation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 396 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.00014 $0.00396
Opus 5.5 $0.00006 $0.00158
Sonnet 5.5 $0.00003 $0.00079
Haiku 4.5 $0.00001 $0.00040

Measured 17d ago against content hash e732975c4546, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

add-translation 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 17d 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/skills/add-translation/SKILL.md · 61 lines

What it actually says

Add Translation Keys

Quick Path (single key)

1. Determine Location

  • Shared across components → frontend/src/locales/common.yaml
  • Component-specific → frontend/src/locales/components/<name>.yaml or pages/<name>.yaml

2. Add en_US Entry Only

en_US:
  newKey: English text here
  parameterized: "Hello {name}, you have {count} items"

Do not add or update non-English locale entries unless the user explicitly asks for translation. Translation tooling is manual maintenance, not part of the default agent workflow.

3. Use in Component

const { t } = useTranslation('components/my-component');
// or for common keys, just use t('key') — they're auto-available

t('newKey')
t('parameterized', { name: userName, count: itemCount })

Pluralization

Add suffix variants:

en_US:
  items: "{count} items"
  items_one: "{count} item"

The count param triggers plural resolution automatically.

JSX in Translations

en_US:
  details: "See our {link} for info."
t('details', { link: <a href="/docs">{t('docsLink')}</a> })

Removing Keys

  1. Remove from YAML file
  2. Leave other language entries untouched unless the user explicitly requested cleanup

Verification

TypeScript does not check keys: t() accepts any string and a missing key renders as the key itself. Confirm each key used in the component exists in its YAML file or common.yaml, then build:

cd frontend && pnpm run build:ce
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. 17d ago First seen · 61 lines · 14 tokens per session scan A e732975c4546

Subscribe to this mod's changes

add-translation is a skill published in the GitHub repository clidey/whodb (5,074 stars, last pushed today), licensed Apache-2.0. It adds 14 tokens to every session and 396 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-11-13.

Related

add-translation compared with skills from other repositories

add-translation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-translationclidey/whodbSkill5.1ktodayApache-2.0A14Claude Code, Codex
test-reviewdatahub-project/datahubSkill13ktodayApache-2.0A0Claude Code, Codex
datahub-test-taxonomydatahub-project/datahubSkill13ktodayApache-2.0A80Claude Code
graphjin-evaldosco/graphjinSkill3.2kyesterdayApache-2.0A27Claude Code, Codex
graphjin-env-workflowsdosco/graphjinSkill3.2kyesterdayApache-2.0A60Claude Code
graphjin-envdosco/graphjinSkill3.2kyesterdayApache-2.0A61Claude Code, Codex
add-graphjin-databasedosco/graphjinSkill3.2kyesterdayApache-2.0A60Claude Code, Codex