Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计通过

ppt-translatePPT 翻译

Agent Skill

ppt-translate 用于整理文档、README、Markdown 和说明材料,适合在 OpenClaw 中需要把零散信息整理成结构清晰的文档时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,304

周安装

183

GitHub Stars

公开资料未说明

下载量

1,508
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ppt-translate(PPT 翻译)
来源仓库:https://github.com/birkhoff-china/ppt-translate
安装命令:
openclaw skills install ppt-translate
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install ppt-translate

简介

将中文 PPT 翻译为英文并保留所有图像和布局。

  • 自动调整字体为 Calibri 优化显示。
  • 适用于国际化演示文稿制作。ppt-translate 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 需确认翻译准确性和文化适配性。
  • 建议人工复核专业术语表达。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
translate-ppt
version
1.0.0
description
Translate Chinese PowerPoint presentations to English while preserving all images, charts, shapes, and media content. Adjusts fonts to Calibri and optimizes layout for professional business presentations. Use when the user asks to translate a PPT/PPTX file from Chinese to English, or mentions PPT translation, slide translation, or presentation localization.
requires
tools
triggers

Translate PPT

Translate Chinese PowerPoint presentations (.pptx) to English with professional business styling.

Overview

This skill translates Chinese PPTX files to English using any OpenAI-compatible LLM endpoint (local or cloud). It preserves all non-text content while:

  • Preserving all non-text content (images, charts, shapes, tables, SmartArt, media)
  • Adjusting fonts to Calibri family for consistent business styling
  • Optimizing text box sizing and layout for English text (typically longer than Chinese)
  • Maintaining original slide masters, layouts, animations, and transitions

Prerequisites

  • Python 3.8+
  • Required packages: python-pptx, requests
  • An LLM endpoint that supports OpenAI-compatible API (e.g., Qoderwork built-in models, Ollama, OpenAI, DeepSeek, etc.)

Quick Start

Option A: Use with Qoderwork (Easiest — No Extra Setup)

If you're running this skill within Qoderwork, models are already available. Just run:

pip install python-pptx requests
python .qoder/skills/translate-ppt/scripts/translate_ppt.py input.pptx --api-base <qoderwork-endpoint> --model <available-model>

Option B: Use with Local Ollama

  1. Install Ollama:

Download and install from https://ollama.com

  1. Pull a recommended model:
   ollama pull qwen2.5:14b
  1. Install Python dependencies:
   pip install python-pptx requests
  1. Run translation:
   python .qoder/skills/translate-ppt/scripts/translate_ppt.py input.pptx

If output path is not specified, defaults to <input_name>_en.pptx.

Option C: Use with Cloud API

Run with your cloud endpoint:

python .qoder/skills/translate-ppt/scripts/translate_ppt.py input.pptx --api-base https://api.openai.com/v1 --api-key sk-xxx --model gpt-4o

Translation Rules

  • Translate: All text content (titles, body text, notes, table cells, grouped shape text)
  • Preserve: Images, charts data, embedded media, hyperlinks, original formatting
  • Mixed content: Only translate Chinese portions of mixed Chinese/English text

Font & Layout Adjustments

ElementFontStyle
TitlesCalibriBold
Body textCalibriRegular
  • Maintain original font sizes (with auto-shrink if text overflows)
  • Adjust text box width up to 20% if English text is significantly longer
  • Preserve original color scheme and text formatting (bold, italic, underline)

Business Style Guidelines

  • Consistent Calibri font family throughout
  • Clean, professional spacing
  • Preserved slide master/layout templates
  • All animations and transitions intact

Recommended Models

Translation quality varies significantly between models. Choose based on your setup:

Note for Qoderwork users: You can use whatever models are already configured in your client environment — no additional setup required.
ModelSizeQualitySpeedCommand
qwen2.5:14b~9GB★★★★★ Best for ChineseFastollama pull qwen2.5:14b
qwen2.5:7b~4.7GB★★★★ Good balanceFasterollama pull qwen2.5:7b
llama3.1:8b~4.7GB★★★ DecentFastollama pull llama3.1:8b
gemma2:9b~5.4GB★★★ DecentFastollama pull gemma2:9b
qwen2.5:3b~2GB★★ BasicFastestollama pull qwen2.5:3b
Tip: For best results with Chinese-to-English business content, Qwen2.5 14B is strongly recommended as it has excellent Chinese language understanding. Smaller models may produce less accurate or less natural translations.

Command-Line Options

OptionDescriptionDefault
--fontOverride default fontCalibri
--modelLLM model to useqwen2.5:14b
--api-baseOpenAI-compatible API base URLhttp://localhost:11434/v1
--api-keyAPI key (optional, not needed for local models)None
--batch-sizeText segments per API call20
--verbose, -vEnable detailed loggingFalse

Troubleshooting

IssueSolution
Connection refusedCheck your API endpoint URL. For Ollama: ensure ollama serve is running. For cloud APIs: verify the URL is correct.
Model not foundVerify the model name is correct for your endpoint. For Ollama: ollama pull <model>
Corrupt PPTXVerify file opens in PowerPoint; try saving as new file first
Font not foundEnsure Calibri is installed on your system
API rate limitsReduce --batch-size or add delay between calls

Reference

See reference.md for detailed API documentation and architecture.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

73.68%
按下载量换算1,111

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills