adminforth-i18n-static

adminforth-i18n-static is a skill for Claude Code from devforth/adminforth. It costs 44 tokens per session (707 once invoked), scanned A, original, MIT.

A workflow for translating the AdminForth administration panel using one JSON file per language. It synchronizes translation keys, fills missing values, and checks for untranslated or incorrectly pluralized text.

In plain words
What is it for?
Use it to add an AdminForth language, fill missing UI translations, or update existing language files without changing their keys.
Why use it?
It prevents language files from drifting away from the current interface and makes missing translations visible before release.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to add an AdminForth language, fill missing UI translations, or update existing language files without changing their keys.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/devforth/adminforth/adminforth-i18n-static
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 devforth/adminforth --skill adminforth-i18n-static
Clone the repo
git clone --depth 1 https://github.com/devforth/adminforth

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 adminforth-i18n-static

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/devforth/adminforth/adminforth-i18n-static"><img src="https://agentmods.dev/badge/skills/devforth/adminforth/adminforth-i18n-static.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 707 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.00044 $0.00707
Opus 5.5 $0.00018 $0.00283
Sonnet 5.5 $0.00009 $0.00141
Haiku 4.5 $0.00004 $0.00071

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

Security

Grade A, and why

adminforth-i18n-static 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 2d 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.

dev-demo/.agents/skills/adminforth-i18n-static/SKILL.md · 41 lines

How it starts

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

AdminForth Static Translations Workflow

How Translations Work

  • Every supported language has its own flat JSON file <translationsDir>/<language code>.json (langs/ by default), e.g. langs/uk.json, langs/pt-BR.json.
  • Keys are original English strings from admin UI, values are translations: { "Save": "Зберегти" }.
  • Empty value means "not translated yet", admin shows the original English key instead.
  • Files are read on every request, so edits are visible after page reload without restart.

Workflow

  1. Sync keys first, so every language file contains all actual keys: pnpm exec adminforth-i18n-static sync (or npx adminforth-i18n-static sync for npm). It prints every language file with counts: total, added, stale and untranslated.
  2. Fill empty values in language files the user asked for (all non-English files if not specified).
  3. Run sync again and make sure untranslated is 0 for translated files and there is no wrong plural warning. Fix every listed plural string.

Translation Rules

  • Never change, add or remove keys, only write values. Keep keys order.
  • Do not translate en.json: sync fills its values with the keys (original English strings). Change its values only if the user asks to rephrase English texts.
  • Do not touch non-empty values unless the user asks to fix them.
  • Do not remove stale keys (reported as stale), the user decides about them.
  • Keep variables in curly brackets exactly as in the key and do not translate them: "Hello {name}" → "Привіт {name}", never {ім'я}.
  • Keys with | are plural forms. Keep the same number of forms separated by |, except Slavic languages (uk, ru, be, pl, cs, sk, bg, sr, hr, mk, sl) which need 4 forms "zero | singular | 2-4 | 5+", e.g. "apple | apples" in uk.json becomes "яблук | яблуко | яблука | яблук".
  • For codes with region (e.g. pt-BR) use regional spelling, punctuation and formatting.
  • Keep translations short: they are UI labels, buttons and messages of an admin panel.
  • If meaning of a key is not clear (short words like Show, of, to, Your or sentence fragments), find where it is used: search for the key in $t('...') / t('...') calls in project custom components and in AdminForth sources (node_modules/adminforth/dist/spa/src, node_modules/@adminforth/*/dist/custom). Translate by context: a button, a label or a part of a sentence glued with other text in the template, then the translation must fit the whole phrase.
  • Keep JSON valid with 2 spaces indentation.

Read the full file on GitHub · 41 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. 2d ago First seen · 41 lines · 44 tokens per session scan A 723be702d5b4

Subscribe to this mod's changes

adminforth-i18n-static is a skill published in the GitHub repository devforth/adminforth (394 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 707 once invoked, about $0.0002 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-14.

Related

Other skills, from other repositories

ctx

A project-context tool for recording important lessons about bugs and failure-prone code in nearby AGENTS.md documents. These documents give coding agents repository-specific guidance.

yilecoding/fastapi-react-admin · 67 tokens

add-backend

Everything about the data layer — pick one of six ready-to-run backend templates (TanStack Start + Drizzle + better-auth, Hono + Drizzle + better-auth, Hono + Prisma + better-auth, Hono + Drizzle + Auth.js/NextAuth, FastAPI + SQLAlchemy + JWT, Supabase) and wire the frontend to it through the Repository + AuthProvider…

ahpxex/open-dashboard · 169 tokens

scaffold-dashboard

Stand up the dashboard foundation (the platform layer — UI primitives, form system, charts, Repository + adapters, auth seam, theme, routing shell) into a new project as a zero-config runnable app. Run this FIRST when building a dashboard, then compose screens from the add-component catalogue's shapes…

ahpxex/open-dashboard · 82 tokens

add-component

Add a copy-ready admin UI building block to a dashboard built on the scaffold-dashboard base — forms (form, wizard, combobox, file upload, inline edit), lists & tables (CRUD list, card grid, infinite/virtual, column controls, filter panel, saved views, CSV export/import), rich views (kanban, calendar, tree, timeline…

ahpxex/open-dashboard · 164 tokens

rebrand

Rebrand the app — change the product name, logo, description, theme, and navigation. Use when porting this template into a new product.

ahpxex/open-dashboard · 33 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