pptx

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

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/tmtgroupbot/lptracker-deploy --skill pptx-tmtgroupbot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/tmtgroupbot/lptracker-deploy/tree/main/skills/pptx
Command: npx skills add https://github.com/tmtgroupbot/lptracker-deploy --skill pptx-tmtgroupbot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires markitdown, pptxgenjs, playwright, react-icons, sharp, 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. This Skill provides structured workflows to create new presentations from HTML, edit existing slides via raw OOXML, apply template designs, and extract content like text, speaker notes, and comments. ## Core Features & Use Cases - HTML-to-PowerPoint Creation: Design slides in HTML with precise positioning and convert them to .pptx using the html2pptx library and PptxGenJS, with support for charts, tables, and images. - OOXML Editing: Unpack, edit, validate, and repack raw presentation XML to modify slides, layouts, speaker notes, and comments in existing files. - Template-Based Generation: Analyze template decks with thumbnail grids and text inventories, then duplicate, reorder, and populate slides with new content. - Use Case: A user asks for a quarterly sales deck. The Skill generates HTML slides following a consistent color palette, converts them to PowerPoint, adds bar charts via PptxGenJS, and validates the result with thumbnail grids. ## Quick Start Create a 5-slide PowerPoint presentation about our Q3 results using a modern blue color palette with a title slide and a sales chart.

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?

Create one HTML file per slide with fixed body dimensions (720pt x 405pt for 16:9), then use the html2pptx.js library with PptxGenJS to convert each file into a slide. Charts and tables are added to placeholder areas via the PptxGenJS API before saving 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 the slide XML files directly, validate changes with validate.py against the original, then repack with pack.py. This is required for comments, speaker notes, layouts, and animations.

How do I extract text from a PowerPoint file?

Run python -m markitdown on the .pptx file to convert its text content to Markdown. For speaker notes, comments, or design elements, unpack the file and read the raw XML in ppt/notesSlides and ppt/comments instead.

Why do CSS gradients not work when converting HTML to PowerPoint?

CSS gradients cannot be represented in PowerPoint and cause validation errors in html2pptx. Rasterize gradients and icons to PNG images first using Sharp, then reference the images in the HTML via background-image or img tags.

Can I reuse an existing template when generating a new deck?

Yes. Extract the template's text and thumbnail grid, build a slide inventory, then use rearrange.py to duplicate and reorder template slides and replace.py to swap placeholder text with new content from a JSON file.