API Translator for Openclaw

A specialized tool that transforms technical API documentation into accurately localized Traditional Chinese using LLM intelligence.

dolphins1123
v1.1.0
Mar 18, 2026
0
832
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install api-translator

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install api-translator using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is API Translator?

The API Translator is a powerful utility within the Openclaw Skills ecosystem designed to bridge the gap between English-centric technical documentation and Traditional Chinese-speaking developers. It goes beyond simple word-for-word translation by applying context-aware localization, specifically targeting Taiwan-standard technical terminology to ensure clarity and professional accuracy.

By leveraging Large Language Models (LLMs), the skill intelligently distinguishes between descriptive prose and functional code blocks. This ensures that while the explanation of a method is easy to read, the actual implementation details, variable names, and code structures remain intact and functional for the developer.

API Translator Use Cases

  • Localizing English API documentation for development teams in Taiwan.
  • Translating complex technical specifications while maintaining strict Markdown formatting.
  • Batch processing multiple API version documents for comparison in a native language.
  • Understanding foreign API endpoints quickly without losing technical context in code snippets.

How API Translator Works

  1. The user provides a URL or raw content of an API document to the agent.
  2. The skill utilizes a web_fetch tool to extract clean content from the provided source.
  3. Content is processed through an LLM using a specialized translation prompt that enforces Taiwan-specific technical terms.
  4. Code blocks and Markdown structures are identified and preserved to prevent syntax errors.
  5. The finalized, localized documentation is returned to the user in the requested format.

API Translator Setup

To enable this skill within your environment, ensure you have the core Openclaw Skills package installed and configured with your preferred LLM provider.

# Install the skill via the Openclaw CLI
openclaw install api-translator

# Verify installation
openclaw skills list

API Translator Data Schema & Taxonomy

The API Translator organizes processed data based on the requested output format and source metadata.

Feature Detail
Supported Sources HTML Webpages, JSON API responses, Markdown files
Output Formats Markdown (.md), JSON, Plain Text (.txt)
Terminology Mapping Standardizes terms like 'Endpoint' to '端點' and 'Data' to '資料'
Preservation 100% preservation of code blocks and technical identifiers

API Translator Advanced Features

  • Multi-URL Batch Processing: Translate multiple documentation links in a single command.
  • Custom Formatting Flags: Toggle between markdown, json, and txt outputs using the --format flag.
  • Syntax Integrity: Built-in --preserve-code logic enabled by default to protect development assets.
  • Localization Engine: Strict adherence to Taiwan technical vernacular for professional-grade documentation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*