zh-doc-translate

zh-doc-translate is a skill for Claude Code, Codex from guyulong/cn-agent-skills. It costs 20 tokens per session (312 once invoked), scanned A, original, MIT.

A set of instructions for translating technical documents between Chinese and English while preserving code blocks, formatting, commands, links, and selected technical terms.

In plain words
What is it for?
Use it to translate software documentation, including headings, lists, code examples, command lines, and technical vocabulary.
Why use it?
It helps keep translated documentation accurate and usable instead of changing code, commands, or important names during translation.

Skill for Claude CodeCodex

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

Good fit Use it to translate software documentation, including headings, lists, code examples, command lines, and technical vocabulary.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/guyulong/cn-agent-skills/zh-doc-translate
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 guyulong/cn-agent-skills --skill zh-doc-translate
Clone the repo
git clone --depth 1 https://github.com/guyulong/cn-agent-skills

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 zh-doc-translate

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/guyulong/cn-agent-skills/zh-doc-translate"><img src="https://agentmods.dev/badge/skills/guyulong/cn-agent-skills/zh-doc-translate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 312 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.00020 $0.00312
Opus 5 $0.00010 $0.00156
Sonnet 5 $0.00004 $0.00062
Haiku 4.5 $0.00002 $0.00031

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

Security

Grade A, and why

zh-doc-translate 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.

skills/zh-doc-translate/SKILL.md · 41 lines

What it actually says

中英技术文档互译

使用场景

将英文技术文档翻译为中文,或将中文文档翻译为英文。

翻译规则

  1. 代码块:保持原样不翻译
  2. 技术术语:保留英文原文,括号标注中文(如 API(应用程序接口))
  3. 专有名词:不翻译(如 GitHub、Docker、Kubernetes)
  4. 命令行:保持原样
  5. 链接:保持原样

常用术语对照

英文 中文
Repository 仓库
Commit 提交
Branch 分支
Pull Request 拉取请求
Deploy 部署
Dependency 依赖
Framework 框架
Library
Middleware 中间件
Endpoint 端点

输出格式

  • 保持原文的标题层级
  • 保持代码块的语法高亮标记
  • 保持列表格式
  • 段落之间保持适当间距
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 · 41 lines · 20 tokens per session scan A ae36118fd842

Subscribe to this mod's changes

zh-doc-translate is a skill published in the GitHub repository guyulong/cn-agent-skills (3 stars, last pushed 3mo ago), licensed MIT. It adds 20 tokens to every session and 312 once invoked, about $0.0001 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.