ledger-live: Skill for Claude Code

.agents/skills/i18n-keys/SKILL.md

i18n-keys is a skill for Claude Code, Codex from LedgerHQ/ledger-live. It costs 69 tokens per session (799 once invoked), scanned A, original, MIT.

A set of rules for adding and checking translation wording keys in a software project. An i18n key is a stable identifier that connects code to translated text, and this workflow checks that English entries exist.

In plain words
What is it for?
Use it when adding or changing translation calls, key tables, or English catalog entries, or when the project's i18n key lint check fails.
Why use it?
It prevents the application from referring to missing English text and keeps features responsible for their own wording.

Skill for Claude CodeCodex

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

This is LedgerHQ/ledger-live's own configuration. It tells Claude Code and Codex how to work on ledger-live 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 ledger-live configures →

Reuse

Borrowing it

Nothing to install: this file belongs to LedgerHQ/ledger-live. 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/LedgerHQ/ledger-live/develop/.agents/skills/i18n-keys/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/LedgerHQ/ledger-live

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 i18n-keys

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ledgerhq/ledger-live/i18n-keys"><img src="https://agentmods.dev/badge/skills/ledgerhq/ledger-live/i18n-keys.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 799 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.00069 $0.00799
Opus 5.5 $0.00028 $0.00320
Sonnet 5.5 $0.00014 $0.00160
Haiku 4.5 $0.00007 $0.00080

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

Security

Grade A, and why

i18n-keys 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 26d 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/i18n-keys/SKILL.md · 62 lines

How it starts

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

i18n keys

pnpm lint:i18n-keys (tools/nx-plugins/enforce-i18n-keys) checks that every key used in features/, domain/ and shared/ exists in the English catalog of each app consuming the package: Desktop static/i18n/en/app.json, Mobile src/locales/en/common.json. .web.* files are checked against Desktop only, .native.* against Mobile only. Other locales are not checked: only edit English.

Principle: the feature owns its keys

A feature resolves its own wording with useTranslation(). Apps must not inject keys or labels into features: pass a domain id or variant (stage, status) and let the feature map it to wording. A key prop coming from apps/* is a smell; key props between components of the same package are fine.

Write keys the check can verify

A key is verified when its type is a finite set of literals. A key typed string is unverifiable: it is counted and the count may never go up (unverifiable-baseline.json). Prefer, in this order:

  1. Literal at the call site: t("payTab.login.title"). Greppable, needs no types.
  2. Domain union, key derived in one place: a new member fails the check until its key exists.
    type Stage = "intro" | "login";
    declare const stage: Stage;
    t(`payTab.login.${stage}.title`); // every Stage member is expanded and checked
    
  3. Internal prop typed as a union of full keys: last resort, it duplicates key strings in a type.
    type Props = { titleKey: "x.intro.title" | "x.login.title" };
    

What widens a key to string and hides it:

const COPY: Record<Id, { titleKey: string }> = { ... }; // annotation widens: use as const satisfies
const rows = [{ key: "a" }, { key: "b" }]; // add as const
function labelKey(kind: Kind): string { ... } // annotate the literal union

Template spans must be unions or literal consts, not string or number. Template keys are not greppable: the check, not search, protects a "dead" key from deletion.

When the check fails

Read the full file on GitHub · 62 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. 26d ago First seen · 62 lines · 69 tokens per session scan A 1d6e8a928219

Subscribe to this mod's changes

i18n-keys is a skill published in the GitHub repository LedgerHQ/ledger-live (624 stars, last pushed yesterday), licensed MIT. It adds 69 tokens to every session and 799 once invoked, about $0.0003 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-10-03.

Related

Other skills, from other repositories

intl-expansion

International market expansion strategy. Market selection, entry modes, localization, regulatory compliance, and go-to-market by region. Use when expanding to new countries, evaluating international markets, planning localization, or building regional teams.

alirezarezvani/claude-skills · 46 tokens

chinese-documentation

A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.

jnMetaCode/superpowers-zh · 62 tokens

edit-site

Plans, coordinates and customizes PAC CLI-downloaded Standard or Enhanced data model non-SPA Power Pages sites created from Microsoft templates or manually in Design Studio. Use for requests involving pages, localized content, navigation, assets, snippets, site markers, Liquid/web templates, page layouts, or styling.…

microsoft/power-platform-skills · 104 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

seedance-vocab-ja

This skill should be used when the user asks for Japanese Seedance 2.0 prompt wording, Japanese cinematic vocabulary, or translation of camera, lighting, action, VFX, audio, and production terms into Japanese.

Emily2040/seedance-2.0 · 50 tokens

research[G.8]-translate

A Chinese-to-English translation workflow for a research manuscript, preserving its structure, comments, formulas, figures, and references.

LMDHQ-0420/ResearchPilot-Skills · 27 tokens