translate-init

translate-init is a skill for Claude Code from roshaw/claude-translation-agency. It costs 178 tokens per session (2,587 once invoked), scanned A, original, MIT.

A guided setup wizard for creating a project's translation.config.json file and registering that project for translation.

In plain words
What is it for?
Use it to prepare a project before running /translate, either in the current folder or at a specified path.
Why use it?
It removes the guesswork from configuring translation options and puts the file in the correct project folder. It can reuse existing settings and fill in details it detects.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

Good fit Use it to prepare a project before running /translate, either in the current folder or at a specified path.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roshaw/claude-translation-agency/translate-init
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 roshaw/claude-translation-agency --skill translate-init
Clone the repo
git clone --depth 1 https://github.com/roshaw/claude-translation-agency

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 translate-init

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/roshaw/claude-translation-agency/translate-init"><img src="https://agentmods.dev/badge/skills/roshaw/claude-translation-agency/translate-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 178 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,587 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.00178 $0.02587
Opus 5 $0.00089 $0.01293
Sonnet 5 $0.00036 $0.00517
Haiku 4.5 $0.00018 $0.00259

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

Security

Grade A, and why

translate-init 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 11d 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/translate-init/SKILL.md · 150 lines

How it starts

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

translate-init

A guided wizard that builds translation.config.json at the root of the project being translated (the target project — the folder with the source files) and registers that folder as a tracked project. It asks about each option one step at a time, explaining what the option does and what to put, and pre-fills what it can detect. Run it once per project, then run /translate.

Placement is the whole point. The file goes in the target project, not in the Translation Agency toolkit folder. Pointing at C:\Projects\MyApp writes C:\Projects\MyApp\translation.config.json.

Invocation

/translate-init                    # set up the current folder as the target project
/translate-init --path <dir>       # set up a specific project, e.g. --path C:\Projects\MyApp
/translate-init <path>             # shorthand for --path

Step 0 — Resolve the target project root

--path / bare <path> → that folder; else the current directory (accept an absolute computer path as given). This root is where the config is written. If a translation.config.json already exists, read it and offer to update it (its current values become the defaults) — never silently clobber.

Step 1 — Detect, so defaults are pre-filled (don't ask what you can infer)

Using Glob/Grep/Read (never shell loops), infer: source language (messages.en.ts, en/, .en.md, -en.po, or a content sample; default en); existing target languages already present; formats present (JS/TS or JSON catalogs, WordPress .pot/.po, i18next/.arb, MD/MDX/HTML trees, subtitles, CSV); a likely include set (where translatable files actually live); a verify command (npx tsc --noEmit if there's a tsconfig); and any WordPress text domain. Print a short "here's what I found" summary before asking anything.

Step 2 — Walk the operator through each option (the guided part)

Ask about the settings one at a time, each with a one-line explanation of what it controls and what to enter, and the detected value pre-filled as the default. Use AskUserQuestion (batching a few related ones per screen is fine), but always include the explanation so the operator understands the choice. If the session is unattended, skip the prompts, use detected defaults + general + inplace + first-run research + report queries, and state the assumptions.

Read the full file on GitHub · 150 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. 11d ago First seen · 150 lines · 178 tokens per session scan A f3c3d9c1d5b9

Subscribe to this mod's changes

translate-init is a skill published in the GitHub repository roshaw/claude-translation-agency (2 stars, last pushed 14d ago), licensed MIT. It adds 178 tokens to every session and 2,587 once invoked, about $0.0009 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.

Related

Other skills, from other repositories

internationalization

Plan and run a multi-language or multi-region site. Use this skill when adding new locales, choosing URL structure for languages (subfolders vs subdomains vs ccTLDs), implementing hreflang, planning translation workflow, handling currency and date formats, designing for RTL languages, or auditing a stalled…

rampstackco/claude-skills · 123 tokens

deutsch-englisch-digitale-inhalte-handbuch

Für Deutsch Englisch AGB: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Schnittstellenkarte mit Zuständigkeits- und Nachweisfragen. Fachgebiet: AGB-Recht-Prüfer. Route: deutsch-englisch-digitale-inhalte-handbuch.

Klotzkette/claude-fuer-deutsches-recht · 68 tokens

deutsch-englisch-agb

Für Deutsch Englisch AGB: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Schnittstellenkarte mit Zuständigkeits- und Nachweisfragen. Fachgebiet: AGB-Recht-Prüfer. Route: deutsch-englisch-agb.

Klotzkette/claude-fuer-deutsches-recht · 60 tokens

resume-cover-letter

Write a resume / CV or cover letter tailored to a specific role. Handles regional format differences (AU/NZ, US, UK), ATS-friendly formatting, achievement-focused bullets, and cover letter structure. Use whenever the user mentions a job application, resume, CV, cover letter, career document, applying for a role, or…

jezweb/claude-skills · 79 tokens

nz-business-english

New Zealand business English writing style for professional communications — warm, inclusive, EN-NZ spelling (colour, organise, centre). Use whenever the user is writing for a New Zealand audience: emails, chat messages, proposals, client communications, blog posts, web copy, or any business writing. Apply to…

jezweb/claude-skills · 76 tokens

uk-business-english

British business English writing style for professional communications — polished, understated, EN-GB spelling (colour, organise, centre). Use whenever the user is writing for a British audience: emails, chat messages, proposals, client communications, blog posts, web copy, or any business writing. Apply to drafting…

jezweb/claude-skills · 74 tokens