Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

baoyu-translate

Skill by JimLiu

Translates articles, blog posts and other files into a target language, with quick, normal and refined modes. Aimed at writers and teams who need Chinese or English translations with custom glossaries.

  • Score 93
  • 28k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install baoyu-translate

Built from the published package, never by AI.

git clone --depth 1 https://github.com/JimLiu/baoyu-skills /tmp/baoyu-skills && mkdir -p ~/.claude/skills && cp -r /tmp/baoyu-skills/skills/baoyu-translate ~/.claude/skills/baoyu-translate

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install baoyu-translate in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

baoyu-translate is an agent skill that translates text, articles and files. It supports three modes: quick translates in one pass, normal analyzes the content before translating, and refined adds a review and polish step. Users can set the target language, audience, style and glossaries. Preferences are stored in an EXTEND.md file, and the skill asks setup questions the first time it runs.

Long content is split at markdown block boundaries and translated in chunks, with a shared glossary to keep terms consistent. The final result is saved as translation.md in a new folder next to the source. The skill also lists images that likely contain text in another language, without localizing them unless the user asks. It is intended for people who need article, blog or document translations, including publication-quality work.

Written from the project's SKILL.md and checked against it.

What it can do

  • Quick modeTranslates short or informal text in a single pass without chunking.
  • Normal modeAnalyzes the content for domain, tone and terminology, then translates it.
  • Refined modeAdds critical review, revision and polish steps for publication-quality output.
  • Custom glossariesMerges glossaries from EXTEND.md, glossary files and a --glossary flag.
  • Style presetsOffers voice options such as storytelling, formal, technical, academic and humorous.
  • Audience presetsAdjusts tone and annotation for general readers, developers, researchers or business readers.
  • Chunked translationSplits long markdown into chunks and translates them with a shared glossary and context.
  • Image language checkLists text-heavy images whose language likely differs from the translated article.

What you need

  • bun, or npx to run bun
  • Agent runtime that can run the skill

Try asking

  • Translate this article to Chinese using refined mode.
  • Quick translate this short post into English.
  • Translate report.md to zh-CN and use my glossary file.

Good to know

  • Quick mode never chunks, so long content may translate less consistently.
  • Images are listed for language review but not localized unless requested.
  • Subagent drafting runs only when an Agent tool is available; otherwise chunks are translated in sequence.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/baoyu-translate/SKILL.md, skills/baoyu-translate/scripts/chunk.ts, skills/baoyu-translate/scripts/main.ts. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md13 KB
  • references/config/extend-schema.md3 KB
  • references/config/first-time-setup.md4 KB
  • references/glossary-en-zh.md842 B
  • references/refined-workflow.md5 KB
Show all 11 files
  • references/subagent-prompt-template.md3 KB
  • references/workflow-mechanics.md625 B
  • scripts/bun.lock1 KB
  • scripts/chunk.ts8 KB
  • scripts/main.ts1 KB
  • scripts/package.json110 B

Alternatives to baoyu-translate

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

baoyu-translate: common questions

Does it support custom glossaries?

Yes. Glossaries can be set inline in EXTEND.md, loaded from glossary_files, or passed with a --glossary flag, which overrides the others.

What translation modes are available?

Quick, normal and refined. Quick translates directly, normal analyzes first, and refined adds review and polish steps.

Where does the translated file go?

The final translation is saved as translation.md in a folder named {source-basename}-{target-lang} next to the source file.

How do I install baoyu-translate?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is baoyu-translate free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is baoyu-translate safe to use?

It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to baoyu-translate?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

baoyu-translate Install

Add to stack

Loading.