/install excel-translator
Excel Translator Skill
Overview
This skill translates the text content of an Excel file (.xlsx) from English to Chinese using openpyxl. The Chinese translation is placed directly below the original English text in the same cell, separated by a newline — no new rows or columns are inserted. Original formatting (merged cells, fonts, colors, images) is preserved.
Workflow
- Identify the input
.xlsxfile path from the user. - Run
scripts/translate.pyfrom the shell. - Deliver the output file to the user as an attachment.
Running the Script
python3.11 /home/ubuntu/skills/excel-translator/scripts/translate.py "/path/to/input.xlsx"
The output file is saved automatically with a _translated suffix in the same directory.
Custom output path:
python3.11 /home/ubuntu/skills/excel-translator/scripts/translate.py "/path/to/input.xlsx" -o "/path/to/output.xlsx"
Environment Variables
The script reads API credentials from environment variables. These are pre-configured in the Manus sandbox:
OPENAI_API_KEY— API key for the translation model.OPENAI_BASE_URL— Base URL for the API endpoint (defaults tohttps://api.openai.com/v1).
Bundled Resources
scripts/translate.py— Core translation script. Scans all sheets, translates English text cells concurrently via OpenAI API, writes"English\ Chinese"back into the same cell withwrap_text=True, and saves the result.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install excel-translator - 安装完成后,直接呼叫该 Skill 的名称或使用
/excel-translator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Excel Translator 是什么?
Translates Excel files (.xlsx) from English to Chinese while preserving all formatting, images, and charts. Use for any task where a user provides an Excel f... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 534 次。
如何安装 Excel Translator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install excel-translator」即可一键安装,无需额外配置。
Excel Translator 是免费的吗?
是的,Excel Translator 完全免费(开源免费),可自由下载、安装和使用。
Excel Translator 支持哪些平台?
Excel Translator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Excel Translator?
由 ilove323(@ilove323)开发并维护,当前版本 v1.0.0。