sync-translated-docs

sync-translated-docs is a skill for Claude Code, Codex from aiya000/dotfiles. It costs 85 tokens per session (1,164 once invoked), scanned A, original, MIT.

A documentation workflow that keeps two language versions of the same document aligned, such as an English README and its Japanese translation.

In plain words
What is it for?
Use it after changing one file in a translated pair to check, merge, or update the counterpart. It does not create a missing translation.
Why use it?
Editing only one version can leave readers seeing different or outdated information, even when the project still builds normally.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it after changing one file in a translated pair to check, merge, or update the counterpart. It does not create a missing translation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aiya000/dotfiles/sync-translated-docs
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 aiya000/dotfiles --skill sync-translated-docs
Clone the repo
git clone --depth 1 https://github.com/aiya000/dotfiles

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 sync-translated-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/aiya000/dotfiles/sync-translated-docs/github.svg)](https://agentmods.dev/skills/aiya000/dotfiles/sync-translated-docs)
Your own site
<a href="https://agentmods.dev/skills/aiya000/dotfiles/sync-translated-docs"><img src="https://agentmods.dev/badge/skills/aiya000/dotfiles/sync-translated-docs/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 sync-translated-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiya000/dotfiles/sync-translated-docs"><img src="https://agentmods.dev/badge/skills/aiya000/dotfiles/sync-translated-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,164 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.00085 $0.01164
Opus 5 $0.00043 $0.00582
Sonnet 5 $0.00017 $0.00233
Haiku 4.5 $0.00009 $0.00116

Measured yesterday against content hash 17bbf9a0d631, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

sync-translated-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 yesterday.

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_global/skills/sync-translated-docs/SKILL.md · 111 lines

How it starts

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

sync-translated-docs

A translated pair is one document written twice, not two documents. A reader picks whichever language they read and expects the same thing to be there.

Editing one half and stopping is the failure this skill exists to prevent. The two drift apart quietly -- nothing fails to build, no test goes red -- and the drift is only ever noticed by a reader who cannot read the other half to compare.

When this skill does not apply

No counterpart, no skill. A repository whose only readme is README.md, with no README_JP.md or any other translation beside it, is outside this skill entirely -- edit the one file and say nothing about translations.

Do not read this as a suggestion to create the missing half. Whether a project is translated at all is the user's decision, not something to infer from the absence of a file. Only offer to add a translation if the user asks for one.

Finding the counterpart

A file has a counterpart when another file differs from it only by a language marker:

  • README.mdREADME_JP.md / README.ja.md / README-ja.md
  • docs/guide.mddocs/guide_JP.md / docs/ja/guide.md
  • CONTRIBUTING.mdCONTRIBUTING_JP.md

Check for one before editing, not after. ls the directory, or fd 'README'. If the pair exists, both files are in scope from the start -- treat "update the README" as "update both READMEs". If it does not exist, stop here: the section above applies.

The rule

Both halves change in the same commit. Never leave one for later: "later" is where the drift lives.

Applies to every kind of edit:

  • New section → write it in both
  • Reordered sections → reorder both
  • A sentence struck through, marked, or annotated → the same mark in both
  • A deleted paragraph → deleted in both
  • A fixed typo in a shared value (a URL, a version, a command) → fixed in both

What must match, and what may not

Must match:

  • The headings: same set, same order, same nesting depth
  • The list items: same count, same order, one saying what the other says
  • Tables: same rows and columns, same images in the same cells
  • Code blocks, commands, URLs, badges, file paths, version numbers
  • Emphasis and strikethrough: if one half strikes a line out, so does the other

Read the full file on GitHub · 111 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. yesterday First seen · 111 lines · 85 tokens per session scan A 17bbf9a0d631

Subscribe to this mod's changes

sync-translated-docs is a skill published in the GitHub repository aiya000/dotfiles (19 stars, last pushed today), licensed MIT. It adds 85 tokens to every session and 1,164 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-09-11.