Jiaqi

PPT Translator

Officev1.0.0
By JiaqiUpdated 2026-05-17ppt-translator@clawhub_nimo1987/ppt-translator
SlidesProcess Automation

According to AlphaMoat, as of 2026-09, PPT Translator has 4,544 downloads and 0 stars — ranked #2,110 of 5,078 AI skills overall, and #181 of 435 in Office.

Installs
839
Downloads
4.5K
Stars
-
Overall Rank
#2,110
Top 42% overall · Top 42% in Office
PlatformInstallsDownloadsStarsComments
ClawHub ↗692.3K--
SkillHub ↗8394.5K-—

Platforms count differently and update at different times.

What this skill does

It extracts all text, translates it, then runs scripts/translate.py for a render-and-verify loop that uses LibreOffice rendering plus visual checks to confirm no text overflows. LibreOffice is slower on its first start.

Profile published 2026-10-27

What you can do with it

  • Produce an English version of a Chinese deck
  • Replace copy across several language versions

When to use it

  • When the layout must not shift after translation
  • When slide text tends to overflow

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Translate this deck into English without breaking the layout
Translate these slides and check for text overflow

Monthly Trend

Downloads4.5K
1.3K3.1K4.8K2026-03 · Downloads 1.6K2026-05 · Downloads 2.6K2026-06 · Downloads 2.7K2026-07 · Downloads 3.2K2026-08 · Downloads 3.6K2026-09 · Downloads 4.5K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-094.5K—-
2026-083.6K+11.2%-
2026-073.2K+18.1%-
2026-062.7K+4.9%-
2026-052.6K—-
2026-031.6K—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

1.4 KB · ClawHub v1.0.0
---
name: ppt-translator
description: Translate PowerPoint files to any language while preserving layout. Uses a render-and-verify agent loop (LibreOffice + Vision) to guarantee no text overflow. Activate when user wants to translate a PPT/PPTX file.
---

# 🎯 PPT Translator

保持排版翻译 PPT,支持任意语言对。

## 核心原理
Show all (54 lines)

**Agent Loop(渲染验证):**
1. 提取 PPT 文字 + 样式
2. LLM 翻译(保证准确)
3. 写回 PPT(python-pptx)
4. LibreOffice 渲染成真实 PNG
5. Vision 模型检测文字溢出
6. 有溢出 → 缩字号 15% → 回步骤 3
7. 通过 → 输出最终 PPTX

## 依赖

- `python-pptx`(pip)
- `libreoffice`(yum/apt)

## 使用方法

```bash
python3 scripts/translate.py \
  --input /path/to/file.pptx \
  --output /path/to/output.pptx \
  --translations '{"原文": "translation", ...}' \
  --max-iter 5
```

## Agent 调用流程

1. 用户发送 PPTX 文件
2. Agent 提取所有文字 → 翻译(自己翻译或调用 LLM)
3. 调用 `scripts/translate.py` 执行渲染验证循环
4. 循环完成后将输出 PPTX 发回用户

## 输出

- 最终 PPTX 文件(可编辑)
- 渲染验证 PNG(可选,用于确认)
- 迭代日志(几轮收敛、最终字号缩放比)

## 注意事项

- LibreOffice 首次启动较慢(~5s),之后正常
- 字号缩放是全局的(所有 shape 等比缩),未来可优化为 per-shape
- 不支持 .ppt(老格式),仅支持 .pptx

Popular in Office

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.