Skip to content
Conduit

skill

pptx-batch-editor

PowerPoint/PPTX batch multi-slide editor Skill for Codex & Claude: replace, align, resize, preserve templates, validate. PPT 批量多页修改、自动对齐与模板保真。

KayZhongyi/pptx-batch-editorcommunitylistedunreviewed

Set up

Skills are installed by placing their folder where your agent loads skills.

The download comes from github.com/KayZhongyi/pptx-batch-editor itself, not from our server, so what you get is exactly what its author published.

Install instructions come from the README

Skills do not use an MCP config. Follow the steps in the README below.

README

synced Oct 28, 2026

PPTX Batch Editor

English

PPTX Batch Editor is a PowerPoint Skill for Codex and Claude. It is built for PPT/PPTX batch editing and consistent changes across multiple slides: inspect the deck, compile a validated recipe, apply the edits, and check the rendered result.

It is designed for editing existing presentations and building from a supplied PowerPoint template. It does not flatten editable slides into screenshots.

What It Handles

InputWhat it doesResult
Existing PPTX + edit requestInventories objects, builds a recipe, applies and verifies batch editsA new editable PPTX; the source is preserved
Finished template + new content or assetsMaps each output slide to a template slide and edits inherited objectsA new deck that keeps the template's visual system
PPTX + layout problemsDiagnoses alignment, spacing, overlap, and size outliers before editingCorrected alignment, distribution, position, or size
Images + content onlyRoutes creation to the host presentation capabilityAsset mapping, design rules, and QA checks

Core Advantages

AdvantageWhy it matters
Multi-slide batch editingReplace logos, titles, footers, images, or repeated objects without editing every slide by hand.
Template preservationReuse original slides, masters, layouts, charts, and editable objects instead of rebuilding a lookalike deck.
Controlled scopeEvery operation uses a stable selector and an expected match count. Unexpected matches stop the operation.
Layout diagnosticsDetect near-misalignment, uneven spacing, overlap, and size outliers before applying a fix.
Asset fidelityKeep logos, screenshots, evidence figures, and product images faithful to the supplied files.
Verification loopInventory before editing, render after editing, then check structure, crop, overflow, and overlap.
Reusable recipesRevalidate and replay a successful edit on a newer version of the same deck.
Zero-dependency helpersThe bundled inspection and validation scripts use only the Python standard library.

Quick Start

Codex:

git clone https://github.com/KayZhongyi/pptx-batch-editor.git
mkdir -p ~/.agents/skills
cp -R pptx-batch-editor/pptx-batch-editor ~/.agents/skills/pptx-batch-editor

Claude Code:

git clone https://github.com/KayZhongyi/pptx-batch-editor.git
mkdir -p ~/.claude/skills
cp -R pptx-batch-editor/pptx-batch-editor ~/.claude/skills/pptx-batch-editor

Claude web or Desktop: download and upload the universal ZIP.

Then describe the task:

Use /absolute/path/source.pptx:
1. Replace every confirmed old logo.
2. Left-align titles that use the same layout.
3. Preserve the source and write /absolute/path/updated.pptx.
4. Run structural and visual checks before delivery.

Runtime Modes

ModeAvailable capabilities
Codex or Claude with presentation supportTemplate-driven builds, object-level edits, asset placement, slide duplication, rendering, and visual QA
Standalone bundled scriptsRead-only inventory, geometry diagnostics, recipe validation, template-plan validation, and exact same-format repeated-image replacement

Full editing uses the presentation capability available in Codex or Claude. In a local workflow, a working PowerPoint installation lets you open, review, and continue editing the output.

Safety Workflow

  1. Keep the source and output paths different.
  2. Inventory slides, layouts, masters, objects, and repeated media.
  3. Require a stable selector and expected_matches for every operation.
  4. Apply edits to a copy of the deck.
  5. Render and inspect every changed slide.
  6. Repair uncertain results or stop and report them.

Included Tools

ToolPurpose
pptx_inventory.pyInspect objects, layouts, masters, and repeated media hashes
analyze_geometry.pyDiagnose alignment, spacing, overlap, and size outliers
validate_recipe.pyValidate edit recipes before a file is changed
replace_repeated_image.pyReplace confirmed same-format repeated media by SHA-256
validate_template_plan.pyValidate template-slide mapping and asset usage

See the public demo, example recipes, and the complete Skill instructions.

Validation

python3 -m py_compile pptx-batch-editor/scripts/*.py
python3 pptx-batch-editor/scripts/validate_recipe.py examples/logo-swap.recipe.json
python3 pptx-batch-editor/scripts/validate_recipe.py examples/geometry-tidy.recipe.json
python3 pptx-batch-editor/scripts/validate_template_plan.py pptx-batch-editor/assets/template-driven-build.plan.example.json
python3 -m unittest discover -s tests -v
python3 scripts/build_dist.py --check

CI validates the scripts, recipes, template plan, and test suite. A passing CI run does not replace visual inspection in PowerPoint.

License

MIT. See LICENSE. The repository does not bundle customer decks, paid templates, commercial fonts, or unlicensed visual assets.


中文

PPTX Batch Editor 是一个给 Codex 和 Claude 使用的 PowerPoint Skill,面向 PPT/PPTX 批量多页修改:先清点现有文件,把自然语言要求转换成可校验的编辑配方,再批量执行修改并检查渲染结果。

它适合修改已有 PPT,也可以根据用户提供的成品模板制作新 PPT。页面仍然可编辑,不会被拍平成整页图片。

能处理什么

你提供它会做你拿到
现有 PPTX + 修改要求清点对象,生成配方,批量修改并验证新的编辑好的PPTX,保留源文件
成品模板 + 新内容或素材把每张输出页映射到模板页,再修改继承对象保留模板视觉系统的新 PPT
PPTX + 排版问题先诊断对齐、间距、重叠和尺寸异常,再执行修改完成对齐、分布、移动或缩放的页面
只有图片和内容交给宿主演示文稿能力新建 PPT素材映射、设计规则和 QA 检查

核心优势

优势对用户的价值
批量修改多页一次处理多页中的 Logo、标题、页脚、图片或重复对象,不需要逐页修改。
保留模板复用原始页面、母版、版式、图表和可编辑对象,不重新画一套相似页面。
修改范围可控每个操作都有稳定选择器和预期匹配数量,匹配异常就停止。
自动排版诊断修改前发现近似错位、间距不均、重叠和尺寸异常。
素材保持原样Logo、截图、数据图和产品图不会被当成装饰图重画。
修改后可验收修改前先清点,修改后检查结构、裁剪、溢出和重叠。
配方可以复用在新版 PPT 上重新校验后,可以重复执行之前的修改。
内置脚本零依赖清点、诊断和校验脚本只使用 Python 标准库。

快速开始

Codex:

git clone https://github.com/KayZhongyi/pptx-batch-editor.git
mkdir -p ~/.agents/skills
cp -R pptx-batch-editor/pptx-batch-editor ~/.agents/skills/pptx-batch-editor

Claude Code:

git clone https://github.com/KayZhongyi/pptx-batch-editor.git
mkdir -p ~/.claude/skills
cp -R pptx-batch-editor/pptx-batch-editor ~/.claude/skills/pptx-batch-editor

Claude 网页版或 Desktop:下载并上传通用 ZIP。

安装后直接描述任务:

处理 /absolute/path/source.pptx:
1. 替换所有已确认的旧 Logo。
2. 统一同版式页面的标题左对齐。
3. 保留源文件,输出 /absolute/path/updated.pptx。
4. 交付前完成结构和视觉检查。

运行模式

模式可以做什么
Codex 或 Claude 提供演示文稿能力根据模板制作、对象级修改、放置素材、复制页面、渲染和视觉检查
单独运行内置脚本只读清点、几何诊断、配方验证、模板计划验证和精确的同格式重复图片替换

完整编辑由 Codex 或 Claude 当前可用的演示文稿能力执行。本地电脑装有并能正常使用 PowerPoint,就可以打开、检查并继续编辑输出文件。

安全流程

  1. 源文件和输出文件使用不同路径。
  2. 先清点页面、版式、母版、对象和重复素材。
  3. 每个操作必须有稳定选择器和 expected_matches。
  4. 在 PPT 副本上执行修改。
  5. 渲染并检查所有修改过的页面。
  6. 无法确认的结果继续修复,或者停止并说明原因。

内置工具

工具用途
pptx_inventory.py清点对象、版式、母版和重复媒体哈希
analyze_geometry.py诊断对齐、间距、重叠和尺寸异常
validate_recipe.py修改文件前校验编辑配方
replace_repeated_image.py按 SHA-256 替换确认过的同格式重复图片
validate_template_plan.py校验模板页面映射和素材使用

查看公开演示、示例配方和完整的 Skill 说明。

本地校验

python3 -m py_compile pptx-batch-editor/scripts/*.py
python3 pptx-batch-editor/scripts/validate_recipe.py examples/logo-swap.recipe.json
python3 pptx-batch-editor/scripts/validate_recipe.py examples/geometry-tidy.recipe.json
python3 pptx-batch-editor/scripts/validate_template_plan.py pptx-batch-editor/assets/template-driven-build.plan.example.json
python3 -m unittest discover -s tests -v
python3 scripts/build_dist.py --check

CI 会检查脚本、示例配方、模板计划和测试套件。CI 通过不代表视觉验收完成,最终效果仍需要使用 PowerPoint 检查。

开源许可

MIT,详见 LICENSE。仓库不包含客户 PPT、付费模板、商业字体或没有明确许可的视觉素材。

↑↓ navigate openesc close