pptx

Create, read, edit, and reassemble PPTX decks using Python libraries.

2|Updated May 13, 2026
One-click install
npx skills add https://github.com/danger-English/claude-code-intro --skill pptx-danger-english
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/danger-English/claude-code-intro/tree/main/skills/pptx
Command: npx skills add https://github.com/danger-English/claude-code-intro --skill pptx-danger-english

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, lxml, Pillow.

What problem does it solve?

PPTX files power most presentations, but creating decks from templates, extracting slide content, and updating notes or layouts can be tedious and error-prone. This Skill automates end-to-end PPTX workflows to save time and reduce manual steps.

Core Features & Use Cases

  • Create and edit slides in PPTX decks using templates and layouts.
  • Read, parse, and extract text, notes, and metadata from slides for reporting or reuse.
  • Assemble and modify decks, merging slides, notes, and templates for rapid presentation generation.

Quick Start

Provide a PPTX file to the Skill and request it to generate a deck from a template or edit slides.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I automate PowerPoint PPTX creation and editing from templates?

Automate PPTX creation and editing by unpacking PowerPoint decks, editing XML with lxml, and repacking slides into a compliant file. This workflow supports templates, layouts, and notes to generate decks end-to-end.

How do I extract text and notes from PowerPoint slides programmatically?

Extract text and notes from PPTX slides by parsing the internal XML structure using Python libraries like lxml and defusedxml. This approach reads slide content and metadata for reporting or reuse.

What's the best way to merge slides from multiple PowerPoint decks into one file?

Merge slides from multiple PPTX decks by unpacking the files, combining slide XML and layouts, validating content, and repacking into a single compliant PowerPoint presentation using Python.

Do I need Python libraries like lxml and Pillow to modify PPTX files?

Yes, modifying PPTX files requires Python libraries including lxml for XML editing, defusedxml for safe parsing, and Pillow for handling images embedded within the PowerPoint slides.

Can I validate PPTX content before repacking a modified PowerPoint deck?

Yes, you can validate PPTX content before repacking. The workflow includes optional content validation after XML editing to ensure the modified PowerPoint deck remains structurally compliant.

Why does my PPTX file break after editing the slide XML directly?

Editing PPTX slide XML directly can break the file if the internal structure becomes invalid. Using lxml for XML modifications and performing optional content validation before repacking ensures structural compliance.