Baoyu Translate
A three-mode (quick/normal/refined) translation pipeline for Claude Code with glossary merging, chunking, and parallel subagent drafting.
Content & WritingIntermediate★ 24,749⑂ 2,764AI score 10/10Last updated: Jul 4, 2026
What it does
- Triggers on phrases like "translate", "翻译", "精翻", "localize", "proofread translation", or when you hand it a URL/file with translation intent.
- Three modes: quick (direct), normal (analyze → translate, default), refined (analyze → draft → critique → revise → polish for publication quality).
- Merges glossaries from a built-in EN→ZH list, project/user
EXTEND.md, external glossary files, and a--glossaryCLI flag. - Long documents (>4000 words) are split at markdown block boundaries via
scripts/main.ts, translated by one subagent per chunk in parallel, then merged in order. - Every artifact lands in
{source}-{lang}/:01-analysis.md,02-prompt.md,03-draft.md,04-critique.md,05-revision.md, and the finaltranslation.md. - Preserves markdown and YAML frontmatter (renaming source fields with a
sourceprefix) and flags text-heavy images that may still need localization.
Who it's for
- Content creators who regularly republish foreign tech blogs or newsletters.
- Developers and technical writers localizing docs between English and Chinese/other languages.
- Teams handling long documents where terminology consistency matters.
Example uses
- "精翻 this article URL" → refined mode runs the full analyze/draft/critique/polish chain and leaves an auditable file trail.
- Drop in a 10k-word whitepaper → terms are extracted into a session glossary, chunks are drafted in parallel, then merged.
- Run
--style "technical" --audience "business"to re-voice the same source for an executive readership.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/JimLiu/baoyu-skills/HEAD/skills/baoyu-translate/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/baoyu-translate folder from the GitHub repo JimLiu/baoyu-skills into my ~/.claude/skills/baoyu-translate/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/JimLiu/baoyu-skills.git && mkdir -p ~/.claude/skills && cp -r baoyu-skills/skills/baoyu-translate ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and check
bun --version; if bun is missing, Node.js withnpxalso works. - Clone the repo:
git clone https://github.com/JimLiu/baoyu-skills.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill in:
cp -r baoyu-skills/skills/baoyu-translate ~/.claude/skills/ - Restart Claude Code and ask it to "translate this file to English".
- On first run it will ask for target language, mode, audience, style, and save location, creating an
EXTEND.mdyou can later edit to add your own glossary.
View source on GitHub ↗License: MIT