# /baoyu-translate: Translate long articles so they read like native writing

Source: https://trendhub.net/skills/jimliu-baoyu-skills/baoyu-translate
Skill folder: https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-translate
Pack: Baoyu Skills (https://trendhub.net/skills/jimliu-baoyu-skills)
Works with: Any agent (npx skills), Claude Code, ClawHub / OpenClaw

This skill gives the agent a staged translation workflow instead of a single pass. It loads your saved preferences and glossaries, analyses the source, builds a shared prompt, and for long pieces splits the text and drafts chunks in parallel. Refined mode adds a written critique, a revision and a final polish, with every intermediate file kept in one output folder.

## When to use it

- You need a blog post or report translated for publication, not just for a quick read.
- A long document must keep the same terminology from the first page to the last.
- You want a translation pitched at a specific audience, such as engineers or business readers.

## How it works

1. **Load preferences**: It reads EXTEND.md, or runs a blocking first-time setup for target language, mode, audience, style and save location, then merges the built-in and custom glossaries.
2. **Prepare the source**: It saves URLs or pasted text to a Markdown file and creates a dedicated output folder next to it.
3. **Analyse and chunk**: In normal and refined modes it writes an analysis and shared prompt, and splits texts over the threshold so subagents can draft each part.
4. **Translate and refine**: It rewrites into natural target language, keeps Markdown intact and notes specialist terms, and in refined mode critiques, revises and polishes the draft.
5. **Report and flag images**: It saves translation.md, prints a summary and lists embedded images that probably still carry source-language text.

## What it steers the agent away from

- Word-for-word renderings of idioms and metaphors.
- Terms that drift between sections of a long document.
- Silently applying defaults before your preferences are recorded.

## What it can touch

It reads the source file or URL, runs a bundled bun script to split Markdown, may start subagents, and writes analysis, draft and final files plus an EXTEND.md preferences file.

## Pairs well with

- `/baoyu-format-markdown`
- `/baoyu-url-to-markdown`

## Questions

### Which language does it translate into by default?

Simplified Chinese (zh-CN) unless you set another target with --to or in EXTEND.md.

### Can I upgrade a normal translation later?

Yes. Reply 'refine' after a normal run and it carries on with the critique, revision and polish steps on the existing output.
