# Send PPT Translator to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ppt-translator",
    "name": "PPT Translator",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/Nimo1987/ppt-translator",
    "canonicalUrl": "https://clawhub.ai/Nimo1987/ppt-translator",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/ppt-translator",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ppt-translator",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "_meta.json",
      "scripts/translate.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "ppt-translator",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T20:27:36.528Z",
      "expiresAt": "2026-05-07T20:27:36.528Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ppt-translator",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ppt-translator",
        "contentDisposition": "attachment; filename=\"ppt-translator-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "ppt-translator"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ppt-translator"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ppt-translator",
    "downloadUrl": "https://openagent3.xyz/downloads/ppt-translator",
    "agentUrl": "https://openagent3.xyz/skills/ppt-translator/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ppt-translator/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ppt-translator/agent.md"
  }
}
```
## Documentation

### 🎯 PPT Translator

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

### 核心原理

Agent Loop（渲染验证）：

提取 PPT 文字 + 样式
LLM 翻译（保证准确）
写回 PPT（python-pptx）
LibreOffice 渲染成真实 PNG
Vision 模型检测文字溢出
有溢出 → 缩字号 15% → 回步骤 3
通过 → 输出最终 PPTX

### 依赖

python-pptx（pip）
libreoffice（yum/apt）

### 使用方法

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

### Agent 调用流程

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

### 输出

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

### 注意事项

LibreOffice 首次启动较慢（~5s），之后正常
字号缩放是全局的（所有 shape 等比缩），未来可优化为 per-shape
不支持 .ppt（老格式），仅支持 .pptx
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Nimo1987
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T20:27:36.528Z
- Expires at: 2026-05-07T20:27:36.528Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/ppt-translator)
- [Send to Agent page](https://openagent3.xyz/skills/ppt-translator/agent)
- [JSON manifest](https://openagent3.xyz/skills/ppt-translator/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/ppt-translator/agent.md)
- [Download page](https://openagent3.xyz/downloads/ppt-translator)