doc-translation

doc-translation is a skill for Claude Code, Codex from xyy277/doc77. It costs 48 tokens per session (304 once invoked), scanned A, original, MIT.

A tool for translating technical documentation while preserving its Markdown structure. Markdown is a plain-text format for headings, lists, links, tables, and code blocks.

In plain words
What is it for?
Use it to translate documentation between Chinese and English, including headings, tables, frontmatter descriptions, and code comments.
Why use it?
It helps translate the written parts of documentation while keeping code, URLs, file paths, formatting, and technical terminology handled consistently.

Skill for Claude CodeCodex

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

Good fit Use it to translate documentation between Chinese and English, including headings, tables, frontmatter descriptions, and code comments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xyy277/doc77/doc-translation
View source ↗ xyy277/doc77
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 xyy277/doc77 --skill doc-translation
Clone the repo
git clone --depth 1 https://github.com/xyy277/doc77

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 doc-translation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xyy277/doc77/doc-translation"><img src="https://agentmods.dev/badge/skills/xyy277/doc77/doc-translation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 304 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.00048 $0.00304
Opus 5.5 $0.00019 $0.00122
Sonnet 5.5 $0.00010 $0.00061
Haiku 4.5 $0.00005 $0.00030

Measured 1mo ago against content hash 5f9bcc803c82, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

doc-translation 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 1mo 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.

packages/ai/src/skills/builtin/skills/doc-translation/SKILL.md · 32 lines

What it actually says

文档翻译技能

翻译原则

  1. 保持原文的 Markdown 格式(标题、列表、代码块、链接)
  2. 技术术语优先使用行业标准译法
  3. 代码块内容不翻译(仅翻译注释)
  4. URL 和文件路径不翻译
  5. 保持原文的段落结构和列表层级

术语处理

  • 首次出现的术语:中文翻译(英文原文)
  • 后续出现:仅用中文翻译
  • 无标准译法的术语保留英文

翻译方向

  • 中 → 英:使用自然流畅的英语表达,避免中式英语
  • 英 → 中:使用规范的中文技术文档风格,避免翻译腔

特殊处理

  • 表格:保持结构,翻译单元格内容
  • frontmatter:翻译 description 等字段,保留 key 名
  • 代码注释:翻译为目标语言
  • 错误信息:保留原始错误码,翻译描述
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. 1mo ago First seen · 32 lines · 48 tokens per session scan A 5f9bcc803c82

Subscribe to this mod's changes

doc-translation is a skill published in the GitHub repository xyy277/doc77 (8 stars, last pushed 16d ago), licensed MIT. It adds 48 tokens to every session and 304 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-08-31.

Related

Other skills, from other repositories

llmwiki

Build and use a persistent, citation-traceable knowledge wiki from documents, research papers, notes, or project documentation. Use for llmwiki projects, retrieving reusable evidence for an agent task, or compiling a corpus for repeated questions. A one-off file read or live web search does not need a wiki.

atomicstrata/llm-wiki-compiler · 66 tokens

gwm

Manage git worktrees across any repository with the gwm Rust binary (CLI + ratatui TUI). Use when the user asks to create / list / remove / bootstrap / switch / link worktrees, run a command across worktrees (gwm exec) or reclaim build artifacts (gwm clean), materialise a PR into a worktree (gwm review), drive a…

kbrdn1/gwm-cli · 0 tokens

seedance-vocab-es

This skill should be used when the user asks for Spanish Seedance 2.0 prompt wording, Spanish cinematic vocabulary, or translation of camera, lighting, action, VFX, audio, and production terms into Spanish.

anymouschina/TapCanvas · 50 tokens

starcat-localization-sync

A process for managing Starcat’s app translations from draft text through review, import, and release across 18 languages. It keeps the app’s translation catalogue and the public translation repository aligned.

starcat-app/Starcat · 105 tokens

sw-do

Work a SpecWeave increment task by task - claim, implement inside its Files, test, commit, done with evidence - alone, unattended or in lanes, then close. Use for "implement", "continue", "auto".

anton-abyzov/specweave · 46 tokens

review

Adversarial review of an increment before it ships, by a fresh context or another model family; every finding cites path:line and is re-verified. Use for "review", "qa", "critique this".

anton-abyzov/specweave · 45 tokens