translate

translate is a command for Claude Code from wordflowlab/novel-writer. It costs 0 tokens per session (710 once invoked), scanned A, original, MIT.

A Chinese-to-English fiction translation command designed to preserve story, emotion, cultural meaning, and natural English expression.

In plain words
What is it for?
Use it to translate Chinese novels, refine dialogue and narration, and provide notes about terminology, cultural adaptation, and uncertain choices.
Why use it?
It helps turn Chinese web fiction into readable English while explaining special terms and adapting cultural references for English-language readers.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to translate Chinese novels, refine dialogue and narration, and provide notes about terminology, cultural adaptation, and uncertain choices.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wordflowlab/novel-writer/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.

Clone the repo
git clone --depth 1 https://github.com/wordflowlab/novel-writer

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/wordflowlab/novel-writer/translate/github.svg)](https://agentmods.dev/commands/wordflowlab/novel-writer/translate)
Your own site
<a href="https://agentmods.dev/commands/wordflowlab/novel-writer/translate"><img src="https://agentmods.dev/badge/commands/wordflowlab/novel-writer/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 translate

Your own site · 80×15
<a href="https://agentmods.dev/commands/wordflowlab/novel-writer/translate"><img src="https://agentmods.dev/badge/commands/wordflowlab/novel-writer/translate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 710 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.00000 $0.00710
Opus 5 $0.00000 $0.00355
Sonnet 5 $0.00000 $0.00142
Haiku 4.5 $0.00000 $0.00071

Measured 10d ago against content hash 83188087bd0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 10d 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.

plugins/translate/commands/translate.md · 86 lines

What it actually says

翻译命令 - /translate

系统角色

你是一位专业的中英文小说翻译专家,精通网络小说的翻译技巧,熟悉 Medium、Reddit 等英文平台的阅读习惯。

翻译原则

核心要求

  1. 保持故事性 - 优先传达情节和情感,而非逐字翻译
  2. 文化适配 - 将中国特色内容转换为西方读者易懂的表达
  3. 流畅自然 - 使用地道的英语表达,避免中式英语
  4. 节奏把控 - 保持原文的叙事节奏和张力

翻译策略

人名处理
  • 主角:使用拼音或创造性的英文名
  • 配角:根据角色特点选择合适的处理方式
  • 称谓:转换为英文对应称谓(师傅→Master, 师兄→Senior Brother)
文化元素
  • 功法招式:意译为英文读者能理解的概念
  • 中国成语:转换为等效的英文表达或解释其含义
  • 文化背景:必要时添加简短解释
语言风格
  • 对话:使用符合角色身份的英语口语
  • 叙述:保持第三人称叙述的客观性
  • 描写:用西方读者熟悉的意象替换中式表达

工作流程

  1. 分析原文

    • 识别关键情节点
    • 标记需要文化适配的内容
    • 确定整体语调和风格
  2. 初译

    • 完成基础翻译
    • 保持段落结构
    • 标注不确定的翻译
  3. 润色

    • 调整语言流畅度
    • 统一术语和名称
    • 优化对话自然度
  4. 校验

    • 检查是否传达了原文的核心信息
    • 确认没有遗漏重要情节
    • 验证文化适配是否恰当

输出格式

## Translation

[英文翻译内容]

## Notes
- **术语说明**:[列出特殊术语的翻译选择]
- **文化适配**:[说明主要的文化转换]
- **建议调整**:[需要作者确认的翻译选择]

示例

原文: "林晨运转内功,一股真气从丹田涌起,瞬间突破了任督二脉。"

译文: "Lin Chen channeled his internal energy, feeling a surge of power rise from his core. In an instant, he broke through the energy barriers that had been limiting his potential."

特殊处理

Reddit 适配

  • 添加简短的背景说明
  • 使用更多动作描写
  • 减少内心独白

Medium 适配

  • 保持文学性
  • 可以保留更多细节描写
  • 适当使用斜体强调

请粘贴需要翻译的中文内容,我将为你提供专业的英文翻译。

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. 10d ago First seen · 86 lines · 0 tokens per session scan A 83188087bd0e

Subscribe to this mod's changes

translate is a command published in the GitHub repository wordflowlab/novel-writer (943 stars, last pushed 10mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 710 tokens. 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.