pptx

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

Updated Jan 14, 2026
One-click install
npx skills add https://github.com/jvsandhu/agentic-skills --skill pptx-jvsandhu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/jvsandhu/agentic-skills/tree/main/skills/pptx
Command: npx skills add https://github.com/jvsandhu/agentic-skills --skill pptx-jvsandhu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires markitdown, pptxgenjs, playwright, react-icons, sharp, libreoffice, poppler-utils, 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 for creating new presentations from scratch, editing existing slides at the raw XML level, applying templates, and extracting content for analysis. ## Core Features & Use Cases - HTML-to-PowerPoint Creation: Design slides in HTML with precise positioning and convert them to .pptx using the html2pptx.js library and PptxGenJS, with support for charts, tables, shapes, and images. - Raw OOXML Editing: Unpack presentations, edit slide XML directly (comments, speaker notes, layouts, animations), validate changes, and repack without corrupting the file. - Template-Based Generation: Analyze existing template decks via thumbnail grids and text inventories, then duplicate, reorder, and populate slides with replacement content. - Use Case: A user asks for a quarterly sales deck. The Skill generates HTML slides with a chosen color palette, converts them to PowerPoint, adds bar charts via PptxGenJS, and validates the layout with thumbnail grids. ## Quick Start Create a 10-slide PowerPoint presentation about our Q4 results using a navy and gold color palette with charts for revenue trends.

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?

Design each slide as an HTML file with fixed body dimensions (720pt x 405pt for 16:9), then use the html2pptx.js library with PptxGenJS to convert it. 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.py script, edit the slide XML files directly (ppt/slides/slideN.xml), validate after each change with validate.py, then repack with pack.py. This is required for comments, speaker notes, and layout changes.

Can I use CSS gradients in HTML slides for PowerPoint?

No, CSS gradients do not convert to PowerPoint. Rasterize gradients and icons as PNG images first using Sharp, then reference them in the HTML as background images or img elements.

Why does my generated PPTX show a repair error in PowerPoint?

Repair errors usually come from invalid OOXML: wrong element ordering in txBody, missing relationship entries in .rels files, undeclared content types, or using # prefixes on hex colors in PptxGenJS. Run the validate.py script after each XML edit to catch issues.

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 layout details, unpack the file and read the raw XML in ppt/notesSlides and ppt/comments.

What fonts are safe to use in generated presentations?

Only web-safe fonts are supported: Arial, Helvetica, Times New Roman, Georgia, Courier New, Verdana, Tahoma, Trebuchet MS, and Impact. Custom fonts like Roboto or Segoe UI may cause rendering issues in PowerPoint.