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 skills add xyva-yuangui/XyvaClaw --skill translationgit clone --depth 1 https://github.com/xyva-yuangui/XyvaClawWrote 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.
[](https://agentmods.dev/skills/xyva-yuangui/xyvaclaw/translation)<a href="https://agentmods.dev/skills/xyva-yuangui/xyvaclaw/translation"><img src="https://agentmods.dev/badge/skills/xyva-yuangui/xyvaclaw/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.
<a href="https://agentmods.dev/skills/xyva-yuangui/xyvaclaw/translation"><img src="https://agentmods.dev/badge/skills/xyva-yuangui/xyvaclaw/translation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.00614 |
| Opus 5.5 | $0.00022 | $0.00246 |
| Sonnet 5.5 | $0.00011 | $0.00123 |
| Haiku 4.5 | $0.00005 | $0.00061 |
Grade A, and why
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.
What it actually says
Translation — 专业翻译
触发场景: 用户需要翻译文字、文档、商品描述、合同、物流单据。
支持语言
zh 中文 / en 英文 / ja 日文 / ko 韩文 / fr 法文 / de 德文 / es 西班牙文 / th 泰文 / vi 越南文 / id 印尼文
翻译领域(专业词汇表)
| 领域 | 标识符 | 词汇表覆盖 |
|---|---|---|
| 电商 | ecommerce |
爆款/大促/SKU/退货/包邮等 |
| 法律 | legal |
甲乙方/违约金/不可抗力/仲裁等 |
| 物流 | logistics |
清关/FOB/CIF/提单/HS编码等 |
| 通用 | general |
无专业词汇表 |
用法
# 文本翻译
python3 {baseDir}/scripts/translate.py text "2026最值得买的降噪耳机" --to en
# 带领域词汇表
python3 {baseDir}/scripts/translate.py text "本合同甲方违约须支付违约金" --to en --domain legal
# 文件翻译(支持 .txt/.md/.pdf/.docx)
python3 {baseDir}/scripts/translate.py file contract.pdf --to en --domain legal
# CSV 批量翻译(指定列名)
python3 {baseDir}/scripts/translate.py batch products.csv \
--col description --to en --domain ecommerce
# 电商 Listing 翻译(自动适配平台字数限制)
python3 {baseDir}/scripts/translate.py ecommerce \
--input listing_zh.json \
--platform amazon \
--to en
# 健康检查
python3 {baseDir}/scripts/translate.py --check
输出
- 文本翻译: 直接打印到终端
- 文件/批量/电商: 保存至
~/.openclaw/output/translations/
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 60 lines · 54 tokens per session scan A 4e688aec6768
translation is a skill published in the GitHub repository xyva-yuangui/XyvaClaw (21 stars, last pushed 2mo ago), licensed MIT. It adds 54 tokens to every session and 614 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-30.
Other skills, from other repositories
china-translate
A Chinese-English translation and localisation guide for technical text and product interfaces. Localisation means adapting wording and cultural references so they sound natural to users in the target language.
content-rewriter
Cross-platform content repurposer. Takes one piece of content and rewrites it for multiple Chinese social media platforms, adapting tone, format, length, and style.
translator
Translate text between 100+ languages with automatic source detection. Use when: the user asks to translate text, detect a language, or work with multilingual content. NOT for: translating code/documentation in bulk, summarization, or rewriting text in the same language.
Chinese Market Content Engineer
A guide for creating and adapting content for major Chinese digital platforms, including WeChat, Xiaohongshu, Douyin, Zhihu, and Bilibili. It covers Chinese and English writing with attention to each platform's audience and format.
seedance-vocab-zh
Look up 550+ Chinese cinematic, photography, and production terms with English equivalents and prompt-ready phrases for Seedance 2.0 across 22 categories, including filter-safe vocabulary for action, weapons, and combat. Use when writing prompts in Mandarin, translating a production concept into Chinese Seedance…
chinese-documentation
A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.