pptx

Create, edit, and analyze PowerPoint (.pptx) presentations with OOXML and HTML conversion.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/dr-code/beacon --skill pptx-dr-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/dr-code/beacon/tree/main/plugins/all-skills/skills/pptx
Command: npx skills add https://github.com/dr-code/beacon --skill pptx-dr-code

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Enables reliable creation, modification, and deep analysis of PowerPoint (.pptx) files so users and automation agents can produce production-ready slide decks, update templates, and inspect speaker notes, comments, and layout details without manual Office GUI work.

Core Features & Use Cases

  • Create from HTML: Convert HTML slides into PPTX with accurate positioning and placeholders using the html2pptx workflow.
  • Raw OOXML editing: Unpack, inspect, edit, validate, and repack PPTX XML for comments, speaker notes, slide layouts, and advanced formatting.
  • Template-driven workflows: Inventory slide text, generate replacement JSON, rearrange or duplicate template slides, and safely apply replacements with overflow validation.
  • Visual validation & assets: Generate thumbnail grids and convert slides to images for review; includes packing/unpacking and schema validation tools to avoid corrupt files.
  • Use Case: Automate generating a branded investor deck from a template, update financial figures, regenerate thumbnails for review, and validate the final PPTX before delivery.

Quick Start

Create an 8-slide Q1 review presentation with speaker notes, matching the provided brand template, and save the output as review-q1.pptx.

Frequently Asked Questions about pptx

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

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

Convert HTML to PPTX using the html2pptx workflow, which transforms HTML elements into accurately positioned PowerPoint placeholders. This allows automated slide deck creation directly from web content without opening the Office GUI.

Can I edit OOXML directly to modify speaker notes and slide layouts?

Edit OOXML directly by unpacking the PPTX file, inspecting and modifying the raw XML for speaker notes, comments, and layouts, validating the schema, and repacking the file. This bypasses GUI limitations for advanced formatting control.

How do I automate updating PowerPoint template content with new data?

Automate PowerPoint template updates by inventorying existing slide text, generating replacement JSON mappings, and safely applying the new values with overflow validation. This workflow supports rearranging, duplicating, and replacing template slides programmatically.

What is the best way to generate PowerPoint slide thumbnails for visual review?

Generate PowerPoint slide thumbnails for visual review by converting slides to images and compiling them into thumbnail grids. This process uses Sharp and Playwright to capture visual snapshots, ensuring the PPTX output matches the expected layout.

Does this workflow require python-pptx and lxml to validate PPTX files?

The workflow relies on python-pptx, lxml, and defusedxml to unpack, inspect, validate, and repack PPTX files safely. These dependencies ensure schema validation during OOXML editing to prevent generating corrupted PowerPoint files.

Why does modifying raw OOXML corrupt my PowerPoint files?

Modifying raw OOXML corrupts PowerPoint files when XML schema validation is skipped during unpacking and repacking. Use the included validation and packing tools to inspect edits and ensure structural integrity before delivering the final PPTX file.