pptx

Create, parse, and edit PPTX files with XML validation and packaging rules.

1|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/DEEP-PolyU/matopt-xlab --skill pptx-deep-polyu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/DEEP-PolyU/matopt-xlab/tree/main/backend/skills/pptx
Command: npx skills add https://github.com/DEEP-PolyU/matopt-xlab --skill pptx-deep-polyu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, lxml, Pillow, and includes scripts (resource) components.

What problem does it solve?

PPTX deck creation, parsing, and editing often require manual, error-prone workflows. This skill automates end-to-end PPTX manipulation, enabling template-based slide generation, content extraction, and in-place edits of presentation XML while keeping the packaging intact.

Core Features & Use Cases

  • Automated slide generation from templates and layouts
  • Content extraction and editing directly inside PPTX XML
  • Deck maintenance tasks such as duplicating slides, reordering, and repacking edits into a .pptx
  • Use Case: Generate a polished pitch deck from a template and automatically update slide content from a data source

Quick Start

Start by running the PPTX toolkit to unpack a presentation, edit slides with the included scripts, and repack into a new PPTX

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I automate PPTX slide generation from a template?

Automate PPTX slide generation by unpacking a template presentation, injecting content directly into the slide XML layouts, and repacking the files into a new .pptx deck.

Can I extract text content directly from PPTX XML?

Yes, you can extract text content directly from PPTX XML by parsing the unpacked presentation files to retrieve slide data while enforcing XML validation rules.

What is the best way to duplicate and reorder slides in a presentation?

The best way to duplicate and reorder slides is by unpacking the .pptx deck, manipulating the internal XML structure to rearrange or copy slide files, and repacking the presentation.

Does PPTX automation require lxml and Pillow to edit presentation files?

Yes, PPTX automation relies on lxml for XML parsing and Pillow for image handling, ensuring that presentation edits and repacking maintain strict PPTX validation and packaging rules.

Why does my edited PPTX file not open after manual XML changes?

An edited PPTX file fails to open when internal XML validation or packaging rules are broken, which is why automated scripts enforce validation during slide editing and repacking.