pptx

Create and edit PowerPoint decks programmatically using python-pptx and html2pptx.

16|Updated Dec 28, 2025
One-click install
npx skills add https://github.com/Hongyu-yu/matsci-ai-skills --skill pptx-hongyu-yu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/Hongyu-yu/matsci-ai-skills/tree/main/skills/pptx
Command: npx skills add https://github.com/Hongyu-yu/matsci-ai-skills --skill pptx-hongyu-yu

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Programmatic PowerPoint deck creation, editing, and analysis to automate slide workflows and OOXML manipulation.

Core Features & Use Cases

  • Create and modify PPTX presentations from code, supporting layouts, shapes, images, and text.
  • Read and analyze slide content by extracting text, placeholders, and layout information, including support for grouped shapes and overflow/warning data.
  • Template-based deck generation and OOXML editing workflows: unpack, rearrange slides, and apply scripted content to placeholders.

Quick Start

Install dependencies and run the PPTX skill to generate a sample deck from HTML or an existing PPTX template.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I automate PowerPoint presentation creation from HTML?

You can automate PowerPoint deck creation from HTML by using html2pptx and python-pptx tooling to convert HTML content into formatted slides. This workflow supports layouts, shapes, images, and text replacement for automated slide generation.

Can I extract text and layout information from existing PPTX files programmatically?

Yes, you can extract text, placeholders, and layout information from existing PPTX files programmatically. The python-pptx tooling reads slide content, including support for grouped shapes and overflow/warning data analysis.

What's the best way to batch customize PowerPoint templates with Python?

The best way to batch customize PowerPoint templates with Python is by unpacking PPTX files and applying scripted content to placeholders via OOXML editing. This approach supports slide rearrangement and template-based deck generation.

Does python-pptx support rearranging slides and handling overflow data?

Yes, python-pptx supports slide rearrangement and overflow data handling within PowerPoint presentations. You can unpack templates, reorder slides programmatically, and read overflow or warning data from grouped shapes during analysis.

Do I need Pillow and six to edit PPTX files with this automation approach?

Yes, you need Pillow and six as dependencies alongside python-pptx to edit PPTX files with this automation approach. These libraries provide image processing and Python compatibility support required for automated slide generation workflows.

When should I use OOXML-based edits for PowerPoint deck customization?

You should use OOXML-based edits for PowerPoint deck customization when you need template-based generation, slide rearrangement, or precise placeholder handling. This approach enables scripted content application and PPTX unpacking for batch workflows.