pptx

Read, edit, and generate PowerPoint slide decks with Python scripts.

3|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/pinion05/skills --skill pptx-pinion05
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/pinion05/skills/tree/main/pptx
Command: npx skills add https://github.com/pinion05/skills --skill pptx-pinion05

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill centralizes and automates PowerPoint (.pptx) workflows, enabling you to read, edit, and generate slide decks without manual file handling.

Core Features & Use Cases

  • Read and extract text from slides to analyze content or repurpose material.
  • Edit, template, or assemble presentations from templates, and manage speaker notes or comments.
  • Create new presentations or merge/split decks by manipulating slide files; trigger actions when user mentions deck, slides, or presentation keywords.

Quick Start

Unpack a PPTX for editing: Python scripts/office/unpack.py input.pptx unpacked/ Repack after edits: Python scripts/office/pack.py unpacked/ output.pptx --original input.pptx Generate slide thumbnails: Python scripts/thumbnail.py input.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 creation and editing using Python scripts?

Automate PowerPoint slide creation and editing by unpacking .pptx files into XML components, modifying the content, and repacking the slides using Python scripts. This allows you to generate presentations, extract text, and manage speaker notes without manual file handling.

Can I extract text from presentation slides for content analysis?

Yes, you can extract text from presentation slides by unpacking the .pptx file to access its internal XML structure. The Python scripts read the slide contents, allowing you to analyze or repurpose the extracted material for other workflows.

What is the best way to merge or split PowerPoint decks programmatically?

Merge or split PowerPoint decks programmatically by unpacking the .pptx files and manipulating the individual slide XML files. The scripts allow you to assemble new presentations, template decks, and repackage the modified slides into a final output file.

Do I need LibreOffice to generate slide thumbnails from a PPTX file?

Yes, generating slide thumbnails from a PPTX file requires a supporting tool like LibreOffice for conversion, along with Python libraries such as Pillow, lxml, and defusedxml. The thumbnail script uses these dependencies to render the slides.

How does templating a presentation work by unpacking and repacking slides?

Templating a presentation works by unpacking the .pptx file into an editable directory structure, modifying the XML directly to apply template changes, and then repacking the directory back into a valid .pptx file using the original file as a base.

Are there limitations when manipulating PPTX files directly through XML?

Manipulating PPTX files directly through XML requires strict adherence to the Office Open XML schema to avoid file corruption. You must use libraries like lxml and defusedxml to parse and modify the unpacked content safely before repacking the presentation.