pptx

Create, edit, and inspect PowerPoint .pptx presentations using OOXML manipulation and PptxGenJS.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/NT-boop-star/BRMV-tract --skill pptx-nt-boop-star
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/NT-boop-star/BRMV-tract/tree/main/antigravity/skills/pptx
Command: npx skills add https://github.com/NT-boop-star/BRMV-tract --skill pptx-nt-boop-star

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Working with PowerPoint files programmatically is error-prone: extracting content, editing slides in existing templates, and generating new decks from scratch each require different tools and deep knowledge of the OOXML format. This Skill provides complete workflows for all three scenarios, plus design guidance and a mandatory QA loop to catch visual defects. ## Core Features & Use Cases - Read and analyze presentations: Extract text with markitdown, generate thumbnail grids, or unpack raw OOXML for inspection. - Template-based editing: Unpack a .pptx, duplicate or reorder slides, edit slide XML content, clean orphaned resources, and repack with validation. - Create decks from scratch: Generate presentations with PptxGenJS or convert HTML slides to PowerPoint via the html2pptx library with accurate positioning, charts, tables, and icons. - Design and QA guidance: Built-in color palettes, typography pairings, layout patterns, and a required visual verification loop using LibreOffice PDF conversion and slide image inspection. - Use Case: Given a corporate template deck and a set of quarterly results, unpack the template, map content to varied slide layouts, replace placeholder text, then render and visually inspect every slide before delivery. ## Quick Start Use the pptx skill to create a five-slide pitch deck about our product launch and save it as launch.pptx.

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 grid of slide images, or unpack the file to inspect raw slide XML.

How do I edit an existing PowerPoint template programmatically?

Unpack the .pptx into its OOXML directory structure, duplicate or reorder slides via the presentation.xml slide list, edit each slide's XML content, clean orphaned resources, then repack with validation. This preserves the template's layouts, fonts, and theme.

Should I use PptxGenJS or HTML to create PowerPoint slides?

Use the html2pptx library when you want precise layout control with familiar CSS positioning, then add charts via PptxGenJS placeholders. Use PptxGenJS directly for programmatic decks with shapes, tables, and charts defined entirely in JavaScript.

Why does my generated .pptx file fail to open in PowerPoint?

Common causes include using a # prefix on hex colors in PptxGenJS, encoding opacity in 8-character hex strings, negative shadow offsets, or reusing mutated option objects across calls. Use 6-character hex colors and the opacity property instead.

Can CSS gradients be used when converting HTML to PowerPoint?

No, CSS gradients are not supported and will fail validation. Rasterize gradients to PNG images with Sharp first, then reference the image as a background in the HTML before conversion.

How do I verify slides look correct after generating a presentation?

Convert the .pptx to PDF with LibreOffice, then render individual slide images with pdftoppm at 150 DPI. Inspect each image for overlapping elements, text overflow, low contrast, and leftover placeholder text, then fix and re-render affected slides.