pptx

Create, edit, and validate PowerPoint .pptx presentations via XML manipulation and pptxgenjs.

Updated Aug 7, 2026
One-click install
npx skills add https://github.com/Protremix/EvolvixOS --skill pptx-protremix
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/Protremix/EvolvixOS/tree/main/knowledge/experts/office-automation/skills/pptx
Command: npx skills add https://github.com/Protremix/EvolvixOS --skill pptx-protremix

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Working with .pptx files programmatically is error-prone: extracting content, editing slides without corrupting the file, and producing visually polished decks all require deep knowledge of the OOXML format. This Skill provides a complete workflow for reading, editing, and creating PowerPoint presentations with built-in validation and visual quality checks. ## Core Features & Use Cases - Content Extraction & Analysis: Extract text with markitdown, generate thumbnail grids of slides, and unpack raw XML for inspection. - Template-Based Editing: Unpack a .pptx, duplicate or reorder slides, edit slide XML, clean orphaned files, and repack with schema validation and auto-repair. - From-Scratch Creation: Build presentations with pptxgenjs using guided design principles for color schemes, typography, layouts, and charts. - Mandatory Quality Checks: Convert slides to images via LibreOffice and pdftoppm, then run content and visual inspection loops to catch overflow, overlap, and placeholder residue. - Use Case: Given a branded template deck and new quarterly data, duplicate the relevant layout slides, replace placeholder text and charts, then render and visually verify every slide before delivery. ## Quick Start Use the pptx skill to create a five-slide presentation about our Q3 results using the attached template, then visually verify each slide.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I extract text from a PowerPoint .pptx file?▼

Run python -m markitdown presentation.pptx to extract all text content from the slides. For a visual overview, use the thumbnail.py script to generate a labeled grid of slide images.

How do I edit an existing PowerPoint presentation programmatically?▼

Unpack the .pptx with unpack.py, modify slide order in presentation.xml, duplicate slides with add_slide.py, edit each slide's XML directly, then run clean.py and pack.py to rebuild a validated file.

How do I create a PowerPoint presentation from scratch in code?▼

Use pptxgenjs to define slides with text, shapes, images, tables, and charts, then call writeFile to produce the .pptx. Follow the design guidance on color schemes, typography pairing, and layout variety to avoid plain text-only slides.

Why does my generated pptx file appear corrupt in PowerPoint?▼

Common causes include hex colors with a # prefix, transparency encoded in 8-digit color strings, negative shadow offsets, or reusing option objects across pptxgenjs calls. The pack.py validator auto-repairs and checks files against OOXML schemas.

What dependencies are required to convert pptx slides to images?▼

You need LibreOffice (soffice) to convert the .pptx to PDF and pdftoppm from poppler-utils to render PDF pages as JPEG images. If pdftoppm is unavailable, the pdf2image Python package works as a fallback.