pptx

Process and manipulate PowerPoint .pptx files for creation, editing, and analysis.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, sharp, Pillow, python-pptx, six, defusedxml, lxml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines working with PowerPoint .pptx files by providing reliable workflows for creating presentations from HTML, editing existing slides at the OOXML level, extracting and replacing text, and validating or repacking presentations so users avoid fragile manual edits and format breakage.

Core Features & Use Cases

  • HTML-to-PPTX conversion: Convert HTML slides to PowerPoint with accurate positioning and placeholders using the html2pptx workflow.
  • OOXML unpacking & editing: Unpack .pptx archives, inspect and modify slide XML (comments, notes, layouts, themes), then repack safely.
  • Inventory, replace, and rearrange: Extract structured text inventories, apply validated replacement JSON, duplicate/reorder slides, and preserve media relationships.
  • Thumbnail & visual validation: Produce thumbnail grids, rasterize gradients/icons before conversion, and validate layouts to catch overflow or alignment issues.
  • Use Case: Automate generating a branded deck from HTML templates, programmatically replace placeholder text across slides, validate the output, and produce thumbnails for QA.

Quick Start

Ask the skill to convert a set of HTML slides into a 16:9 PowerPoint using html2pptx, generate a thumbnail grid, and produce a text inventory for replacements.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I convert HTML slides to PowerPoint PPTX?

You can convert HTML slides to PowerPoint PPTX using the html2pptx workflow, which ensures accurate positioning and placeholders. It relies on Playwright to render HTML and generates a valid .pptx file.

How do I extract and replace text in PowerPoint slides via OOXML?

You can unpack the .pptx archive to inspect and modify slide XML directly at the OOXML level. The workflow allows extracting structured text inventories and applying validated replacement JSON to update text.

Can I unpack and edit PowerPoint OOXML without breaking the file format?

Yes, you can unpack .pptx archives to inspect and modify slide XML, including comments, notes, layouts, and themes. After editing, the workflow safely repacks the presentation to prevent format breakage.

How do I generate thumbnail grids from PPTX slides for visual validation?

You can generate thumbnail grids and rasterize gradients or icons before conversion. The workflow uses Sharp, Pillow, and system tools like LibreOffice and pdftoppm to validate layouts and catch overflow issues.

Do I need LibreOffice installed to validate PPTX presentation layouts?

Yes, LibreOffice and pdftoppm are required system tools for rasterizing slides and producing thumbnail grids. These dependencies enable visual validation to catch alignment issues and overflow in your presentations.

What is the best way to automate duplicating and reordering slides in a PPTX template?

The best way to automate slide manipulation is using python-pptx and lxml to duplicate or reorder template slides. This process preserves media relationships and ensures the structural integrity of the presentation.