pptx

Create and modify PowerPoint presentations using python-pptx and Pillow.

2|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/roderik/mpe --skill pptx-roderik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/roderik/mpe/tree/main/.agents/skills/pptx
Command: npx skills add https://github.com/roderik/mpe --skill pptx-roderik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-pptx, Pillow, six, defusedxml.

What problem does it solve?

This Skill enables Claude to programmatically create, edit, and analyze PowerPoint presentations (.pptx), reducing manual formatting toil and ensuring consistency across slides.

Core Features & Use Cases

  • Create new presentations from templates or programmatic inputs.
  • Modify slide layouts, notes, comments, and content with code.
  • Analyze slides for layout consistency, placeholder usage, and OOXML validity across multiple tools.

Quick Start

Use the pptx skill to generate a simple 2-slide presentation:

  • Slide 1: Title
  • Slide 2: Content Then export as output.pptx and run inventory/thumbnail tools to validate content.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I automate PowerPoint creation and editing with Python?

You can automate PowerPoint creation and editing by using Python tooling like python-pptx to programmatically generate slides, modify layouts, and update notes. This approach ensures consistent, repeatable slide workflows without manual formatting.

What is OOXML validation for PPTX files and when do I need it?

OOXML validation for PPTX files checks the underlying XML structure of your presentations for compliance and consistency. You need it when generating slides programmatically to ensure the output files are structurally valid and open correctly across platforms.

Does python-pptx work with Pillow for rendering slide content?

Yes, python-pptx works alongside Pillow to render text and visual content within slides. Combining these dependencies allows you to parse PPTX structures while handling image processing and text rendering for presentation production.

What's the best way to analyze PowerPoint slides for layout consistency?

The best way to analyze PowerPoint slides for layout consistency is using Python scripts to inspect placeholder usage and OOXML validity. This automated analysis validates template adherence across multiple slides and tools.

Can I modify PowerPoint notes and comments programmatically?

Yes, you can modify PowerPoint notes and comments programmatically using python-pptx. This allows you to update slide notes, adjust layouts, and replace content dynamically through code for automated presentation workflows.

Why does my programmatically generated PPTX file fail validation?

Programmatically generated PPTX files may fail OOXML validation due to incorrect placeholder usage or structural inconsistencies. Running inventory and thumbnail validation tools helps identify and resolve these layout and XML compliance issues.