MyClaw
HomeProductsUse CasesPricingSkillsResourcesCompany
HomeUse CasesPricingSkills
Sign In
Home
ProductsOpenClaw HostingHermes Agent Hosting
Use CasesPricingSkills
ResourcesCompareTutorialLearnBlogUpdatesResourcesCommunity
CompanyAboutSupport
Sign In
MyClaw.ai

Your AI agent, already running.

Product

OpenClaw HostingHermes Agent HostingUse CasesPricingCompareAlibaba Cloud

Resources

BlogUpdatesSkillsModelsSupportCommunityCapybara

Legal

TermsPrivacyCookieGDPRContact

© 2023 Cubo World Inc. All rights reserved.

← Back to Skills
PDF & Documents
📑

Baoyu Translate

Three-mode document translator (quick, normal, refined) with custom glossaries, chunking, and publication-quality polish workflows.

by JimLiuv1.0.0
ProductivityAI PoweredOpen SourceAutomationDeveloper Tool
Connecting to VM...
Connecting to VM...
npx clawhub@latest install baoyu-translate
16.3kStars
8Current Installs
📦
v1.0.0Version
📅
Apr 19, 2026Updated
View Source(ClawHub)

Baoyu Translate Skill Overview

Baoyu Translate is a structured translation skill that converts articles and documents between languages using three progressively thorough modes: quick (direct translation), normal (analyze then translate), and refined (analyze, translate, review, and polish to publication quality). It handles long-form content via intelligent markdown-aware chunking, maintains terminology consistency through merged glossaries, and saves all intermediate files for full transparency. Configurable via an EXTEND.md preferences file that persists your target language, style, audience, and custom glossaries across sessions.

How to Use It

Step 1: Run in your terminal or install this skill on MyClaw

npx clawhub@latest install baoyu-translate
or

Click the Install button at the top of this page for one-click setup

When to Use Baoyu Translate

Best Fit

  • You need to translate a full article, blog post, or document — not just a phrase — and want the result to read naturally in the target language.
  • You're preparing content for publication and need the refined mode's multi-step review and polish pipeline.
  • You have domain-specific terminology (technical, academic, business) and want consistent translations enforced via a custom glossary.
  • You're working with long markdown documents (>4,000 words) and need chunk-aware translation that preserves structure and terminology consistency across sections.

When Not to Use

  • You only need to translate a short phrase or single sentence — this skill is optimized for documents and articles, not quick lookups.
  • You need real-time or streaming translation integrated into another application; this skill operates as a file-in/file-out workflow.

Key Features

Three Translation Modes

Choose quick for fast direct output, normal (default) for analysis-informed translation with an upgrade prompt to continue polishing, or refined for a full 6-step publication-quality pipeline: analyze → draft → critique → revise → polish.

Intelligent Long-Document Chunking

For content exceeding 4,000 words, the skill splits markdown at block boundaries (headings, paragraphs, lists, code blocks, tables) using a bundled chunk.ts script. Chunks are translated in parallel via subagents when available, then merged — ensuring structural integrity and terminology consistency throughout.

Persistent Preferences via EXTEND.md

Store your default target language, mode, audience, style, and custom glossaries in an EXTEND.md file. The skill checks three locations in priority order (project → XDG config → home directory) and guides you through a first-time setup if no file is found.

Custom Glossaries & Terminology Consistency

Merge inline glossary entries, external glossary files, and a built-in EN→ZH reference glossary. On long documents, the skill pre-extracts proper nouns and recurring terms before chunking to guarantee consistent translations across the entire document.

Nine Translation Style Presets

Control voice and tone independently of audience with presets including storytelling, formal, technical, literal, academic, business, humorous, conversational, and elegant. Custom style descriptions (e.g., --style "poetic and lyrical") are also accepted.

Structured Output with Intermediate Files

Every translation run saves its working files — analysis, assembled prompt, draft, critique, revision — in a named output directory alongside the final translation.md. Nothing is lost, and every decision is auditable.

Use Cases

Publishing a translated tech blog post

Paste or point to an English article, choose normal mode, and get a Chinese translation with domain terminology consistently rendered. After completion, reply "继续润色" to trigger the review and polish steps for a publication-ready result.

Localizing a long technical document

For a 10,000-word markdown specification, the skill extracts terminology, splits the document into chunks, translates them in parallel via subagents, and merges the output — all while enforcing a shared glossary to keep technical terms consistent across sections.

Translating academic or business reports

Use refined mode with --style academic or --style business and --audience academic or --audience business to produce a polished translation that matches the register and tone expected by professional or scholarly readers.

Reusing translation preferences across projects

Configure an EXTEND.md once with your preferred target language, style, and a project-specific glossary. Every subsequent translation in that project automatically inherits these settings without re-specifying them.

Requirements

  • LLM / Agent Runtime — An AI agent runtime capable of running this skill and, optionally, spawning subagents for parallel chunk translation.
  • Bun or npx (required for chunking) — Either bun or npx must be installed to run the markdown chunking scripts. If neither is present, the skill will prompt you to install bun.
Connecting to VM...
npx clawhub@latest install baoyu-translate
16.3kStars
8Current Installs
📦
v1.0.0Version
📅
Apr 19, 2026Updated
View Source(ClawHub)

FAQ

Reviews

0 reviews

Log in to write a review

No reviews yet. Be the first to share your experience!