pptx

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

9|2|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/AbdullahMalik17/Hacathan_5 --skill pptx-abdullahmalik17
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/AbdullahMalik17/Hacathan_5/tree/main/.claude/skills/pptx
Command: npx skills add https://github.com/AbdullahMalik17/Hacathan_5 --skill pptx-abdullahmalik17

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 scratch or templates, edit existing slides at the raw XML level, and extract content for analysis. ## Core Features & Use Cases - Presentation Creation: Build new decks from HTML slides via the html2pptx workflow with accurate positioning, charts, tables, and design palettes. - Template-Based Generation: Duplicate, reorder, and populate template slides using inventory extraction and text replacement scripts. - OOXML Editing: Unpack, edit, validate, and repack raw PowerPoint XML for speaker notes, comments, layouts, and animations. - Use Case: Ask for a quarterly sales deck with charts and branded colors, and get a validated .pptx file with thumbnail-based visual quality checks. ## Quick Start Create a 10-slide PowerPoint presentation about our Q4 results with a title slide, bar 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?▼

Write 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 positioned 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 speaker notes, comments, and layout changes.

Can I use CSS gradients in HTML slides for PowerPoint?▼

No, CSS gradients do not convert to PowerPoint and trigger validation errors. Rasterize gradients and icons to PNG images first using Sharp, then reference the image files in your HTML.

Why does text disappear when converting HTML to PowerPoint?▼

Text placed directly inside div or span elements without a wrapping tag is silently ignored. All text must be inside p, h1-h6, ul, or ol tags to appear in the generated PowerPoint file.

How do I reuse an existing PowerPoint template for a new deck?▼

Extract the template's text and thumbnails, build a slide inventory, then use rearrange.py to duplicate and reorder template slides. Finally, generate replacement text JSON and apply it with replace.py, which validates shapes and preserves formatting.