translate-ja

translate-ja is a skill for Claude Code 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 Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code; runs codex exec; mentions Codex.

Good fit 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.

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

Made for: Claude Code.

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/github.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/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 translate-ja

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00024 $0.00651
Opus 5.5 $0.00010 $0.00260
Sonnet 5.5 $0.00005 $0.00130
Haiku 4.5 $0.00002 $0.00065

Measured 3mo ago against content hash 5e7245e0bcaa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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.md、translate/workflows/claude-code-series.md、translate/workflows/gpt-codex-cli.md 和 translate/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. 3mo 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 (28 stars, last pushed 7d ago), licensed MIT. It adds 24 tokens to every session and 651 once invoked, about $0.0001 per session on Opus 5.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

translate-ja compared with skills from other repositories

translate-ja next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
translate-jaLienJack/learn-agentSkill287d agoMITA24Claude Code
starcat-localization-syncstarcat-app/StarcatSkill230yesterdayMITA105Codex
youtube-transcribechubbyguan/chubbyskillsSkill1.4k1mo agoMITB41Claude Code, Codex
wiki-curationCiao1019/PetrichorSkill1602mo agoApache-2.0A21Claude Code, Codex
cet-skillmingchen666/RevivaSkill3568d agononeA38Claude Code, Codex
operating-system-visualizationmingchen666/RevivaSkill3568d agononeA67Claude Code
research-noteCiao1019/PetrichorSkill1602mo agoApache-2.0A19Claude Code, Codex