pptx

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

Updated Jul 11, 2026
One-click install
npx skills add https://github.com/mukaddam-ali/Anadolu-Kitchen --skill pptx-mukaddam-ali
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/mukaddam-ali/Anadolu-Kitchen/tree/main/skills/document-skills/pptx
Command: npx skills add https://github.com/mukaddam-ali/Anadolu-Kitchen --skill pptx-mukaddam-ali

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 complete workflows for creating new presentations from scratch, editing existing slides at the XML level, applying template designs, and extracting content for analysis. ## Core Features & Use Cases - Create presentations from scratch: Convert HTML slides to PowerPoint with accurate positioning using the html2pptx library, then add charts, tables, and images via PptxGenJS. - Edit existing presentations: Unpack .pptx files, edit raw OOXML (slides, speaker notes, comments, layouts), validate changes, and repack. - Template-based creation: Analyze template decks with thumbnail grids and text inventories, then duplicate, reorder, and populate slides with new content. - Content analysis: Extract text via markitdown, generate thumbnail grids for visual review, and inspect typography and color schemes from theme XML. - Use Case: Ask the assistant to build a quarterly sales deck with charts and branded colors, or to update speaker notes across all slides of an existing presentation. ## Quick Start Create a 10-slide PowerPoint presentation about our Q4 marketing 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 create a PowerPoint presentation from HTML?

Create one HTML file per slide with fixed body dimensions (720pt × 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 ooxml unpack script, edit the raw XML files such as ppt/slides/slideN.xml, validate after each change with the validate script, then repack the directory into a .pptx. This gives access to speaker notes, comments, 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 comments, speaker notes, or design elements, unpack the file and read the raw XML under 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 image files in the HTML.

Can I reuse an existing PowerPoint template for a new deck?

Yes. Extract the template's text and thumbnail grid, build a slide inventory, then use the rearrange script to duplicate and reorder template slides and the replace script to swap placeholder text with new content while preserving formatting.