pptx

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

1|Updated Jul 12, 2026
One-click install
npx skills add https://github.com/matsumuratk/elmo-aws --skill pptx-matsumuratk
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/matsumuratk/elmo-aws/tree/main/.claude/skills/pptx
Command: npx skills add https://github.com/matsumuratk/elmo-aws --skill pptx-matsumuratk

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Working with .pptx files programmatically is error-prone: extracting content, editing slides inside templates, and generating decks from scratch all require deep knowledge of OOXML structure, and small mistakes corrupt the file. This Skill provides a complete workflow for reading, editing, and creating PowerPoint presentations with built-in validation and visual QA. ## 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 content, clean orphaned files, and repack with schema validation and auto-repair. - Creating Decks from Scratch: Generate presentations with pptxgenjs including text, shapes, images, icons, tables, and styled charts, guided by design palettes and typography rules. - Use Case: A user asks for a 10-slide pitch deck based on an existing branded template. The Skill analyzes the template layouts, maps content to varied slide designs, edits the XML, validates the output, and renders slides to images for visual QA before delivery. ## Quick Start Use the pptx skill to create a five-slide presentation about our quarterly results with charts and a consistent color palette.

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 a .pptx file. For a visual overview, use the thumbnail script to generate a labeled grid of slide images, or unpack the file to inspect raw slide XML directly.

How do I edit an existing PowerPoint template programmatically?▼

Unpack the .pptx into its XML parts, duplicate or delete slides via the slide ID list in presentation.xml, edit each slide's XML content, clean orphaned files, then repack with validation. The pack step auto-repairs common issues and checks against OOXML schemas.

What library can create PowerPoint slides from scratch in JavaScript?▼

pptxgenjs generates .pptx files from scratch with support for text, shapes, images, tables, and charts. Install it with npm install -g pptxgenjs, create a presentation instance, add slides with positioned elements, and write the file.

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

Common causes include using # prefixes on hex colors, encoding opacity in 8-character hex strings, negative shadow offsets, or broken relationship references. The validation scripts check XML against XSD schemas and verify all relationship IDs and content type declarations.

Can I convert PowerPoint slides to images for visual inspection?▼

Yes, convert the .pptx to PDF with LibreOffice's soffice in headless mode, then use pdftoppm to render each page as a JPEG at 150 DPI. This produces individual slide images suitable for visual QA of layout, overflow, and contrast issues.