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.
npx agentmods add skills/xiaolai/vmark/translate-docsnpx skills add xiaolai/vmark --skill translate-docsgit clone --depth 1 https://github.com/xiaolai/vmarkWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00067 | $0.03876 |
| Opus 5 | $0.00034 | $0.01938 |
| Sonnet 5 | $0.00013 | $0.00775 |
| Haiku 4.5 | $0.00007 | $0.00388 |
Grade A, and why
translate-docs 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 345 lines — stays where its author put it; the contents beside it link to each section on GitHub.
VMark Translation
Two modes share the same 9 locales, the same subagent pipeline, and the same cultural rules:
- Docs mode (default) — translate
website/guide/**/*.mdmarkdown files. - App string mode (
--app) — sync new keys acrosssrc/locales/{locale}/*.json(i18next) andsrc-tauri/locales/{locale}.yml(rust-i18n).
Docs mode is the original flow; App string mode was added to handle the smaller, structured strings that the app ships every day. They share Stages 2–4 (translate → audit → cultural polish) but differ in what they read, what they write, and how they protect existing content.
When to Use
Docs mode
- Adding a new page to
website/guide/ - Updating an existing page that needs translation sync
- User asks to "translate", "localize", or "add language support" for website content
App string mode (--app)
- New keys appear in
src/locales/en/*.jsonorsrc-tauri/locales/en.ymlwithout matching entries in other locales pnpm lint:i18nreports missing keys- User asks to "sync locale files", "translate new i18n keys", or "propagate locale keys"
Target Locales
| Code | Language | CJK? |
|---|---|---|
zh-CN |
Simplified Chinese | Yes |
zh-TW |
Traditional Chinese | Yes |
ja |
Japanese | Yes |
ko |
Korean | Yes |
de |
German | No |
fr |
French | No |
es |
Spanish | No |
it |
Italian | No |
pt-BR |
Brazilian Portuguese | No |
Workflow
Step 1: Prepare Source
- Read the English source file from
website/guide/... - Identify the file path pattern (e.g.,
guide/users-as-developers/foo.md) - Check that all target locale directories exist:
website/{locale}/guide/...
Step 2: Translate (parallel subagents)
Dispatch up to 9 translation subagents in parallel — one per locale. Each subagent receives:
- The full English source content
- The target locale code and language name
- Translation rules (see below)
Translation Rules for Every Locale:
- Translate all prose — headings, paragraphs, list items, block quotes, alert blocks
- Preserve markdown structure exactly — headings levels, link URLs, code blocks, tables, images, front matter
- Keep technical terms in English — product names (VMark, Tauri, ProseMirror, Tiptap, CodeMirror, Mermaid, Vitest), programming terms in code context (LOC, TDD, CI/CD, API, MCP), file paths, command names
- Translate table headers and cell text — but keep code/numbers as-is
- Translate VitePress containers —
::: info,::: tip,::: warninglabels stay as-is (VitePress renders them), but translate the content inside - Adapt culturally — don't just word-swap. Use natural phrasing. Examples:
- "TL;DR" → "太长不看版" (zh-CN), "要約" (ja), "요약" (ko)
- "out of the box" → use the local idiom, not a literal translation
- Currency/number formatting: use locale conventions in prose (but keep raw numbers in tables/code)
- Em-dash spacing — follow VMark convention:
word — wordwith spaces in English/European locales. CJK locales use——(double em-dash) without spaces.
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.
- 3d ago First seen · 345 lines · 67 tokens per session scan A 7683af50abbe
translate-docs is a skill published in the GitHub repository xiaolai/vmark (544 stars, last pushed 3d ago), licensed ISC. It adds 67 tokens to every session and 3,876 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-30.
Other skills, from other repositories
dsh-translate-docs
Manually run the extended DeepSeek Harness bilingual-document workflow, including generated briefings, delegated prose translation, whole-document translation, and scoped pairing verification.
i18n-localization
Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.
translate-skill
将 mattpocock/skills 的内容翻译、刷新或复核到简体中文本地化仓库 vinvcn/mattpocock-skills-zh-CN 时使用这个项目级 skill。适用于 skill files、README content、CLAUDE.md、CONTEXT.md、docs,以及其他需要保留行为关键 identifiers 的上游用户可见内容。.
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.
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.
harden
Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready.