Capability
- version
- 1.117.3
Other metadata
- metadata
{
"openclaw": {
"homepage": "https://github.com/JimLiu/baoyu-skills#baoyu-translate",
"requires": {
"anyBins": [
"bun",
"npx"
]
}
}
}
Topics
- translation
- multilingual
- chinese
- english
- glossary
- markdown
- content-localization
- document-processing
- workflow-automation
What it does
Translates text, articles, and URLs between languages (EN↔ZH by default) in three modes: quick for direct translation, normal for analysis-informed translation, and refined for publication-quality output with review and polish. Supports custom glossaries, multiple style presets (storytelling, formal, technical, academic, business, etc.), and automatic chunking for long documents to maintain terminology consistency across sections.
Generated from the current SKILL.md.
Frequently asked
Does this skill support languages other than Chinese and English?
The skill defaults to Chinese (zh-CN) and includes a built-in glossary for EN↔ZH pairs. It can accept custom target languages via the `--to` flag or `target_language` in EXTEND.md, but glossary support and auto-detection are optimized for Chinese/English workflows.
What's the difference between quick, normal, and refined modes?
Quick mode translates directly in one pass, best for short informal content. Normal mode analyzes content first, then translates with better consistency. Refined mode adds a review and polish cycle for publication-quality output.
How does the skill handle long articles?
If content exceeds 4000 words (configurable), normal and refined modes automatically chunk it into smaller pieces, extract terminology for consistency, and translate chunks in parallel using subagents if available. Quick mode translates without chunking regardless of length.
Can I use a custom glossary or style?
Yes. Create an EXTEND.md file in your project or home config directory to define custom glossaries (inline or external files), target audience, translation style (e.g., formal, technical, conversational), and other preferences. EXTEND.md is checked on first run and required before any translation.
What does the skill require to run?
Bun or npx (to run bun). The skill includes TypeScript scripts that chunk markdown and coordinate the translation workflow.
Generated from the current SKILL.md. These answers refresh after source changes.