sync-translations

sync-translations is a skill for Claude Code from Hackbyrd/orbital-express. It costs 86 tokens per session (855 once invoked), scanned A, original, MIT.

A procedure for updating Traditional Chinese documentation after the English documentation has changed.

In plain words
What is it for?
Use it after editing English documentation to identify and retranslate only the changed pages in the zh-TW documentation folder.
Why use it?
It finds the affected English pages and keeps their Chinese versions aligned with them.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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.

agentmods
npx agentmods add skills/hackbyrd/orbital-express/sync-translations
Any agent
npx skills add Hackbyrd/orbital-express --skill sync-translations
Clone the repo
git clone --depth 1 https://github.com/Hackbyrd/orbital-express

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 sync-translations

README.md
[![agentmods](https://agentmods.dev/badge/skills/hackbyrd/orbital-express/sync-translations.svg)](https://agentmods.dev/skills/hackbyrd/orbital-express/sync-translations)
Your own site
<a href="https://agentmods.dev/skills/hackbyrd/orbital-express/sync-translations"><img src="https://agentmods.dev/badge/skills/hackbyrd/orbital-express/sync-translations.svg" alt="Measured on agentmods" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 855 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00086 $0.00855
Opus 5 $0.00043 $0.00428
Sonnet 5 $0.00017 $0.00171
Haiku 4.5 $0.00009 $0.00085

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

Security

Grade A, and why

sync-translations 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 6d 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/sync-translations/SKILL.md · 75 lines

How it starts

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

sync-translations Skill

Detect which English docs changed and retranslate only those pages into docs/zh-TW/.

Step 1 — Find changed English doc files

Run this to find which English docs have changed since the last commit (or since a specific commit):

git diff --name-only HEAD docs/ | grep -v "^docs/zh-TW" | grep "\.md$"

If the user specifies a range (e.g. "since last release" or a commit SHA), use:

git diff --name-only <sha> HEAD docs/ | grep -v "^docs/zh-TW" | grep "\.md$"

If no files show up in git diff but the user says specific pages were changed, ask them which files or check git log --oneline docs/ -10 to find recent changes.

Step 2 — Show the user what will be retranslated

Before translating, list the files you found and confirm:

These English pages changed and need their zh-TW versions updated:

  • docs/guide/getting-started.mddocs/zh-TW/guide/getting-started.md
  • docs/philosophy/the-origin.mddocs/zh-TW/philosophy/the-origin.md

Retranslating now…

If the list is empty, tell the user no English doc changes were detected.

Step 3 — Retranslate each changed file

For each changed English file, translate it into Traditional Chinese and overwrite the corresponding docs/zh-TW/ file.

Path mapping: docs/X/Y.mddocs/zh-TW/X/Y.md

Translation rules (apply consistently):

  • Translate all prose naturally into Traditional Chinese (Taiwan, 繁體中文)
  • Keep ALL code blocks, CLI commands, file paths, variable names, function names in English
  • Keep technical terms in English that are standard in Taiwan's tech industry: API, middleware, framework, backend, frontend, Redis, Socket.IO, TypeScript, Vue.js, React, Express.js, Node.js, PostgreSQL, Bull, Joi, Sequelize, Jest, Passport.js, Moment.js, JWT, token, session, OAuth, cron, migration, fixture, schema, UUID, action, controller, model, route, queue
  • Keep product/brand names in English: Orbital Express, FiscalNote, Nitra, Heroku, Render, AWS, GitHub, LinkedIn, npm, yarn
  • Preserve all VitePress markdown: ::: tip/warning/danger/info blocks, tables, headers, code blocks
  • Update internal links: /guide/X/zh-TW/guide/X, /philosophy/X/zh-TW/philosophy/X, etc.
  • Leave external links unchanged
  • Tone: direct and confident, matching the English original

Read the full file on GitHub · 75 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. 6d ago First seen · 75 lines · 86 tokens per session scan A c68719d0f854

Subscribe to this mod's changes

sync-translations is a skill published in the GitHub repository Hackbyrd/orbital-express (14 stars, last pushed 16d ago), licensed MIT. It adds 86 tokens to every session and 855 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

chinese-documentation

中文文档排版参考——中英文空格、全半角标点、术语保留、链接格式、中文文案排版指北约定。仅在用户显式 /chinese-documentation 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 62 tokens

azure-ai-translation-text-py

Azure AI Text Translation SDK for real-time text translation, transliteration, language detection, and dictionary lookup. Use for translating text content in applications. Triggers: "text translation", "translator", "translate text", "transliterate", "TextTranslationClient".

microsoft/skills · 60 tokens

i18n-localization

Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.

vudovn/ag-kit · 27 tokens

harden

Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready. Use when the user asks to harden, make production-ready, handle edge cases, add error states, or fix overflow and i18n issues.

fengshao1227/ccg-workflow · 62 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

i18n-helper

国际化/本地化助手 — 扫描代码中的硬编码文本、生成 i18n 配置、批量翻译.

laolaoshiren/claude-code-skills-zh · 33 tokens