pptx

Generate, edit, and analyze PPTX files using Python and HTML-to-PowerPoint pipelines.

26|15|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/AnswerZhao/agent-skills --skill pptx-answerzhao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/AnswerZhao/agent-skills/tree/main/glm-skills/document-skills/pptx
Command: npx skills add https://github.com/AnswerZhao/agent-skills --skill pptx-answerzhao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-pptx, Pillow, playwright, sharp, pptxgenjs, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the end-to-end PowerPoint workflow by enabling programmatic PPTX creation, editing, and analysis, reducing manual errors and repetitive tasks.

Core Features & Use Cases

  • Automated PPTX creation: generate new decks from data and templates.
  • Batch editing and replacement: extract inventory, update slides, and apply replacements across multiple files.
  • Template-driven layout management: inventory-based analysis to guide slide design, reordering, and speaker notes.

Quick Start

Install the required tooling (Python libraries and Node.js tools) as described in this repository. Then generate a text inventory for a PPTX by running:

  • python inventory.py path/to/presentation.pptx path/to/inventory.json
  • python scripts/replace.py path/to/presentation.pptx path/to/replacements.json path/to/output.pptx
  • python scripts/thumbnail.py path/to/presentation.pptx

Frequently Asked Questions about pptx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate PowerPoint content creation from data and templates?

Automated PPTX creation generates new presentation decks programmatically from data and templates. This skill uses Python scripts and an HTML-to-PowerPoint pipeline to build slides, reducing manual errors and repetitive formatting tasks.

What is the best way to batch edit and replace text across multiple PowerPoint files?

Batch editing and replacement extracts a text inventory from PPTX files, applies JSON-based replacements, and outputs updated slides. The process uses Python scripts to automate updating text across multiple presentation files efficiently.

How does the HTML-to-PPTX pipeline work for generating slides?

The HTML-to-PPTX pipeline converts HTML layouts into PowerPoint slides using Node-based tooling. It leverages Playwright for rendering, Sharp for image processing, and PptxGenJS to generate the final PPTX file format.

Do I need Python and Node.js to run this PPTX automation workflow?

Yes, this workflow requires both Python and Node.js environments. Python handles PPTX inventory extraction, replacement, and thumbnail generation, while Node.js drives the HTML-to-PPTX rendering pipeline using Playwright and Sharp.

Can I generate grid thumbnails for PowerPoint slides to validate layouts?

Yes, grid thumbnail generation creates visual previews of PPTX slides to validate template layouts. The thumbnail script processes presentation files using Python and Pillow to output images for layout verification.