Pptx

Create, edit, and analyze PowerPoint presentations using HTML conversion and OOXML workflows.

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/Kaleb-Rupe/aurora --skill pptx-kaleb-rupe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Pptx
Source: https://github.com/Kaleb-Rupe/aurora/tree/main/claude/skills/Utilities/Documents/Pptx
Command: npx skills add https://github.com/Kaleb-Rupe/aurora --skill pptx-kaleb-rupe

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Working with .pptx files programmatically is complex because they are ZIP archives of XML files, making tasks like building decks from scratch, applying templates, or editing speaker notes error-prone without structured workflows. ## Core Features & Use Cases - Create presentations from scratch: Convert HTML slides to PowerPoint with accurate positioning using the html2pptx.js library and PptxGenJS, with automatic validation of dimensions and overflow. - Template-based generation: Analyze an existing template with thumbnail grids and text inventories, then duplicate, reorder, and replace placeholder content while preserving formatting. - Edit existing decks via OOXML: Unpack a .pptx, edit raw slide and notesSlide XML, validate changes, and repack the file safely. - Analysis and extraction: Extract text with markitdown, render slides to images via LibreOffice and pdftoppm, and build thumbnail grids for visual review. - Use Case: A user asks for a pitch deck for a startup; the skill designs HTML slides with a content-informed color palette, converts them to PowerPoint, adds charts into placeholders, and validates the result with thumbnail inspection. ## Quick Start Create a 10-slide pitch deck about my startup idea with charts and speaker notes.

Frequently Asked Questions about Pptx

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

FAQPage Schema
How do I create a PowerPoint presentation from HTML?

Write one HTML file per slide with fixed body dimensions (720pt × 405pt for 16:9), keeping all text inside p, h1-h6, ul, or ol tags. Then call the html2pptx() function with a PptxGenJS instance to convert each file and save with pptx.writeFile().

How do I edit an existing pptx file programmatically?

Unpack the .pptx with the unpack.py script to expose its OOXML structure, edit files like ppt/slides/slideN.xml or notesSlide XML directly, validate with validate.py against the original, then repack with pack.py.

How do I use an existing PowerPoint template for new slides?

Extract the template's text with markitdown and build a thumbnail grid, then use rearrange.py to duplicate and reorder template slides by index. Finally run inventory.py and replace.py to swap placeholder text while preserving formatting.

Why does my pptx file get corrupted when adding charts?

The most common cause is using a # prefix on hex colors in PptxGenJS, which corrupts the file. Always write colors like "FF0000" without the hash, and avoid CSS gradients in HTML since they must be rasterized to PNG first.

Can I extract speaker notes and comments from a pptx?

Yes, but you need raw XML access rather than plain text extraction. Unpack the file and read ppt/notesSlides/notesSlideN.xml for speaker notes and ppt/comments/ for comments, since markitdown only captures slide text.

What are the limitations of HTML to PowerPoint conversion?

CSS gradients are unsupported and must be rasterized as PNG images with Sharp first. Backgrounds, borders, and shadows only work on div elements, not text elements, and only web-safe fonts like Arial or Georgia render reliably.