translate

An entry skill for translating Chinese Markdown articles into English or Japanese through project translation workflows. It detects the requested language and sends the work to the matching language-specific process.

In plain words
What is it for?
Use it with article paths or the supported series pipeline to create English or Japanese versions, using an explicit language option or an unambiguous language request.
Why use it?
It prevents the wrong translation workflow from being selected when the language is unclear. It also requires the relevant instructions and confirmation steps before translating or publishing content.

Skill for Claude CodeCodex

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/lienjack/learn-agent/translate
Any agent
npx skills add LienJack/learn-agent --skill translate
Clone the repo
git clone --depth 1 https://github.com/LienJack/learn-agent

Made for: Claude Code, Codex.

Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 684 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 $0.00024 $0.00684
Opus 5 $0.00012 $0.00342
Sonnet 5 $0.00005 $0.00137
Haiku 4.5 $0.00002 $0.00068

Measured 2d ago against content hash d20feac5c722, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 2d 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.

translate/skills/translate/SKILL.md · 48 lines

What it actually says

自动翻译入口 Skill

本 skill 只能通过显式引用本文件路径触发,不依赖全局安装、symlink 或 $skill-name 自动发现。

输入要求

  • 用户应提供一个或多个中文 Markdown 文章路径,或显式提供 --pipeline claude-code-series 处理系列配置。
  • 用户可以用自然语言说明目标语言,例如“翻译成英文”“做日语版”“生成 Japanese 版本”。
  • 用户也可以显式传入 --language en--language ja;显式参数优先级最高。
  • 如果没有文章路径且没有 pipeline 配置,先要求用户补充,不要猜测最近文件。

语言识别规则

按以下顺序判断目标语言:

  1. 如果输入包含 --language en--lang enlanguage=enlang=en,选择英文。
  2. 如果输入包含 --language ja--lang jalanguage=jalang=ja,选择日语。
  3. 如果用户说“英文”“英语”“English”“EN”“英译”,选择英文。
  4. 如果用户说“日语”“日文”“日本語”“Japanese”“JA”“Zenn”,选择日语。
  5. 如果同时出现英文和日语信号,或没有任何语言信号,必须先向用户澄清,不要自动选择。

澄清时给出编号选项并等待用户回复:

  1. 英文
  2. 日语

执行流程

  1. 阅读 translate/README.mdtranslate/workflows/claude-code-series.mdtranslate/workflows/gpt-codex-cli.md
  2. 根据语言识别规则确定目标语言。
  3. 如果目标语言是英文,阅读并执行 translate/skills/translate-en/SKILL.md
  4. 如果目标语言是日语,阅读并执行 translate/skills/translate-ja/SKILL.md
  5. 保留用户传入的 --pipeline、文章路径和其他非语言参数;转交给对应语言 skill。
  6. 不在本入口中直接调用模型翻译、不发布到外部平台、不处理图片资产;正文真实翻译由对应语言 skill 通过 GPT Codex (codex exec) 执行,图片资产继续使用 translate/skills/translate-assets/SKILL.md

安全边界

  • 本入口只做语言识别和 skill 路由,不复制英文/日语翻译规则。
  • 真实翻译前仍必须遵守对应语言 skill 的 dry-run、摘要展示和用户确认流程。
  • 正文真实翻译只使用 GPT Codex,不调用 Claude Code 或 claude CLI。
  • 运行记录不得保存 API key、cookie、token 或完整私密响应。
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. 2d ago First seen · 48 lines · 24 tokens per session scan A d20feac5c722

Subscribe to this mod's changes

translate is a skill published in the GitHub repository LienJack/learn-agent (23 stars, last pushed 1mo ago), licensed MIT. It adds 24 tokens to every session and 684 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-30.

Related

Other skills, from other repositories

starcat-localization-sync

Starcat 本地化生产、同步与发布门禁流程。用于同步 Localizable.xcstrings 与 supports/starcat-localization 的 xcloc、生成或修复 AI 初稿、人工审核或维护者明确接受 AI 翻译、导入已批准翻译、审计 18 种语言、调整 draft/released、扩展 AppLocale,以及排查 key、状态、占位符、技术字面量、UI 或 RTL 问题。.

starcat-app/Starcat · 105 tokens

youtube-transcribe

YouTube 视频 → 下载 → 转录 → 翻译 → 存为 Markdown。 支持中英文,英文内容自动翻译成中文,输出中英对照。.

chubbyguan/chubbyskills · 41 tokens

video-to-notes

Use immediately for any bare YouTube or YouTube Shorts URL, youtu.be link, Bilibili or b23.tv link, or other video URL; do not ask what the user wants. Treat a message containing only a supported video URL as a request to create timestamped notes and a report, then publish to the configured local, Notion, or Obsidian…

KIRVO-REPORTING/video-to-notes · 101 tokens

wiki-knowledge-agent

Turn chat-pasted text/links into a verified, translated, searchable wiki knowledge base. When a user pastes a link or text (in ANY channel — Discord, Slack, CLI, etc.), fetch+verify it, classify it (useful vs ad), translate+summarize it into the target language, save it to the wiki, and optionally alert on…

atukunare/wiki-knowledge-agent · 141 tokens

graph

Interactive knowledge graph analysis. Routes natural language questions to graph scripts, interprets results in domain vocabulary, and suggests concrete actions. Triggers on "/graph", "/graph health", "/graph triangles", "find synthesis opportunities", "graph analysis".

agenticnotetaking/arscontexta · 50 tokens

batch-processor

Manage large document processing by splitting into batches and coordinating the full translation workflow (extraction, translation, formatting). Use when handling documents larger than 30 pages, 60 paragraphs, or 6000 words.

ThreeFish-AI/negentropy · 46 tokens