translate-ja

translate-ja is a skill for Claude Code, Codex from LienJack/learn-agent. It costs 24 tokens per session (651 once invoked), scanned A, a copy of translate-en, MIT.

A controlled workflow for translating Chinese Markdown articles into Japanese using project translation rules. Markdown is a plain-text document format that supports headings, links, code blocks, and other structure.

In plain words
What is it for?
Planning and translating one or more Chinese articles, mapping links and assets to Japanese paths, checking the results, and stopping when configuration or article problems block a safe translation.
Why use it?
It provides a reviewable dry run before changing files and helps preserve technical content, links, assets, and formatting during translation.

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

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 translate-ja

README.md
[![agentmods](https://agentmods.dev/badge/skills/lienjack/learn-agent/translate-ja.svg)](https://agentmods.dev/skills/lienjack/learn-agent/translate-ja)
Your own site
<a href="https://agentmods.dev/skills/lienjack/learn-agent/translate-ja"><img src="https://agentmods.dev/badge/skills/lienjack/learn-agent/translate-ja.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 651 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 88% copy Near-identical to another mod 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.00651
Opus 5 $0.00012 $0.00326
Sonnet 5 $0.00005 $0.00130
Haiku 4.5 $0.00002 $0.00065

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

Security

Grade A, and why

translate-ja 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 3d 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.

Origin

This is a copy

88% identical to translate-en — 20 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

translate/skills/translate-ja/SKILL.md · 41 lines

What it actually says

日语翻译 Skill

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

输入要求

  • 用户应提供一个或多个中文 Markdown 文章路径,或显式提供 --pipeline claude-code-series 处理系列配置。
  • 如果没有文章路径且没有 pipeline 配置,先要求用户补充,不要猜测最近文件。
  • V1 只支持站内日语 Markdown 与本地 assets,不负责 Zenn 发布。

执行流程

  1. 阅读 translate/README.mdtranslate/workflows/claude-code-series.mdtranslate/workflows/gpt-codex-cli.mdtranslate/prompts/ja-translation.md
  2. 先运行 translate/bin/translate-ja --dry-run --pipeline claude-code-series <article.md> [...],生成翻译计划、检查摘要和运行记录。
  3. 向用户展示源文章、目标路径、frontmatter 策略、链接重写策略、资产引用策略、运行记录、artifacts 路径、warnings 和 blockers。
  4. 如果存在 blocker,停止真实翻译,并说明需要先修复的文章或配置。
  5. 只有用户确认后,才运行不带 --dry-run 且带 --yes 的真实翻译命令;真实翻译通过 GPT Codex (codex exec) 执行,可能消耗模型 API 并改写目标文件。
  6. 翻译完成后运行 translate/bin/translate-check --language ja --pipeline claude-code-series <target.md> [...]
  7. 如果用户要公开发布,引导到 publish/skills/publish-ja/SKILL.md,不要在本 skill 中发布。

翻译规则

  • frontmatter 由 pipeline 配置和本地规则控制,不交给模型自由生成。
  • 正文真实翻译只使用 GPT Codex,不调用 Claude Code 或 claude CLI。
  • 模型只翻译正文;保留 Markdown 结构、代码块、路径、命令、链接和技术标识。
  • 禁止输出过程话、tool call、XML、JSON 碎片、绝对本机路径噪声或翻译过程说明。
  • 本地相对文章链接按 pipeline 映射改写到日语 slug。
  • ./assets/ 引用按目标资产命名规则改写;Mermaid 与普通图片资产由 translate-assets 单独处理。

安全边界

  • dry-run 不调用真实模型,不改写目标 Markdown。
  • 真实翻译前必须展示摘要并等待用户确认。
  • 运行记录不得保存 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. 3d ago First seen · 41 lines · 24 tokens per session scan A 5e7245e0bcaa

Subscribe to this mod's changes

translate-ja 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 651 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to translate-en, differing in 20 lines, and is treated as a copy.

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

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

renhua

Chinese public-writing editor for AI/tech posts, X/Twitter threads, product notes, and public technical essays. Use for 去AI味, 改得像本人, 写推特post, 精修中文AI技术文章 — removes AI-flavored shells while preserving facts, judgment, technical terms, and author voice. Not for academic papers, codebase docs, bid documents, or…

bahayonghang/my-ai-cli-toolkit · 87 tokens

doc-translator

将 PDF 格式或 Web Page 格式的源文档转换成保持原排版格式的 Markdown 格式精译中文文档。.

ThreeFish-AI/negentropy · 34 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