pptx

Create, read, and edit PowerPoint .pptx presentations with template workflows and visual QA.

1|1|Updated May 16, 2026
One-click install
npx skills add https://github.com/vanduc2514/hackathon-lablab-ibm-bob --skill pptx-vanduc2514
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/vanduc2514/hackathon-lablab-ibm-bob/tree/main/.bob/skills/pptx
Command: npx skills add https://github.com/vanduc2514/hackathon-lablab-ibm-bob --skill pptx-vanduc2514

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Working with PowerPoint files programmatically is error-prone: extracting content, editing slides inside templates, and generating new decks from scratch each require different tools and careful handling of OOXML internals. This Skill provides a complete workflow for any task involving .pptx files, from text extraction to template-based editing to building presentations from scratch. ## Core Features & Use Cases - Read and analyze presentations: Extract text with markitdown, generate thumbnail grids for visual overview, and unpack raw OOXML for deep inspection. - Template-based editing: Unpack a .pptx, duplicate or reorder slides, edit slide XML content, clean orphaned files, and repack with schema validation. - Create decks from scratch: Use pptxgenjs to build slides with text, shapes, images, icons, tables, and charts, guided by built-in design principles for color palettes, typography, and layouts. - Mandatory QA loop: Convert slides to images via LibreOffice and pdftoppm, then visually inspect for overflow, overlap, contrast, and placeholder text issues. - Use Case: You need a 10-slide pitch deck matching your company's template. The Skill analyzes the template layouts, maps your content to varied slide designs, edits the XML, and runs visual QA until the deck renders cleanly. ## Quick Start Ask the assistant to create a presentation about your topic as a .pptx file, or to extract and summarize the text from an existing .pptx file you provide.

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 of slide layouts, use the thumbnail.py script to generate a labeled grid of slide images.

How do I create a PowerPoint presentation programmatically?▼

Use the pptxgenjs JavaScript library to build slides with text, shapes, images, tables, and charts, then call writeFile to save the .pptx. Set the layout to LAYOUT_16x9 and add content with addText, addShape, addImage, and addChart calls.

How do I edit an existing PowerPoint template?▼

Unpack the .pptx with unpack.py, duplicate or reorder slides via add_slide.py and the sldIdLst in presentation.xml, edit each slide's XML content, run clean.py to remove orphaned files, then repack with pack.py for validation.

Why does my pptxgenjs file get corrupted?▼

Common causes include using '#' prefixes in hex colors, encoding opacity in 8-character hex strings instead of the opacity property, reusing option objects across calls, and using negative shadow offsets. Use 6-character hex colors and fresh option objects per call.

Can I convert PowerPoint slides to images for review?▼

Yes. Convert the .pptx to PDF with LibreOffice using soffice --headless --convert-to pdf, then run pdftoppm -jpeg -r 150 to produce one image per slide for visual inspection of layout and overflow issues.

What are the limitations of editing pptx XML directly?▼

Manual slide copying breaks notes references, Content_Types.xml entries, and relationship IDs, so use add_slide.py instead. Longer replacement text may overflow template boxes, and the Edit tool converts smart quotes to ASCII, requiring XML entities for curly quotes.