pptx

Automate PowerPoint slide creation, editing, and analysis with Python.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/synapticera/prod-helm-pm --skill pptx-synapticera
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/synapticera/prod-helm-pm/tree/main/.claude/skills/x%3Apptx
Command: npx skills add https://github.com/synapticera/prod-helm-pm --skill pptx-synapticera

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PPTX creation, modification, and analysis are error-prone and time-consuming when done manually. This skill automates end-to-end PowerPoint workflows, enabling consistent slides, branding, and batch updates.

Core Features & Use Cases

  • Automated PPTX creation, editing, and analysis using Python tools (python-pptx) and image processing (Pillow).
  • Template-driven slide assembly, content replacement, and batch processing with inventory and replacement workflows.
  • OOXML-aware validation, placeholder management, and content-type handling for robust PowerPoint automation.

Quick Start

To begin, generate a text inventory from a PPTX with inventory.py, then apply new content via replace.py and save the updated presentation with output.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 slide generation from a template using Python?

Automating PowerPoint slide generation uses Python to map templates and replace content deterministically. You inventory text placeholders from an existing PPTX, then apply batch replacements to assemble new slides while preserving OOXML structure.

What's the best way to batch update text across multiple slides in a presentation?

Batch updating presentation slides involves generating a text inventory from the file, applying new content replacements, and saving the result. This inventory and replacement pipeline ensures consistent branding and content updates without manual editing.

Can I use python-pptx to manage placeholders and validate OOXML content types?

Yes, python-pptx supports placeholder management and OOXML-aware content-type handling for robust presentation automation. Combined with defusedxml for safe parsing, it validates structures to prevent corruption during slide assembly and editing.

Does this approach work for generating pitch decks and training materials?

Yes, template-driven slide assembly works for pitch decks, training materials, and documentation. It applies deterministic workflows to generate consistent presentations, satisfying requirements for batch slide generation and content replacement.

How do I handle images when editing slides with python-pptx and Pillow?

Handling images during slide editing uses Pillow for image processing alongside python-pptx. This combination allows you to prepare and insert images into placeholders programmatically during automated PPTX creation and modification.

Why does my PowerPoint automation break when modifying OOXML structures?

PowerPoint automation breaks when OOXML structures are improperly modified without validation. Using OOXML-aware validation and defusedxml ensures safe parsing and content-type handling, preventing corruption during placeholder management and content replacement.