pptx

Create, edit, and inspect PowerPoint .pptx files via OOXML modifications.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/Pans0020/opencode-skills --skill pptx-pans0020
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/Pans0020/opencode-skills/tree/main/pptx
Command: npx skills add https://github.com/Pans0020/opencode-skills --skill pptx-pans0020

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires markitdown, pptxgenjs, playwright, sharp, libreoffice, poppler-utils, defusedxml, Pillow, python-pptx, and includes scripts (resource) components.

What problem does it solve?

This Skill removes the guesswork and manual tedium involved in creating, editing, and deeply inspecting .pptx presentations by giving you repeatable workflows for reading content, editing structure, and validating layout and formatting.

Core Features & Use Cases

  • Convert and extract content for review: Turn slide text into Markdown for fast understanding, or unpack the .pptx to inspect raw OOXML when you need precise control.
  • Edit presentations in OOXML: Unpack a .pptx, modify relevant XML (slides, notes, comments, layouts, themes), validate, and repack to produce a working file.
  • Design-to-output slide generation: Create new presentations from HTML via a deterministic html2pptx pipeline with strict layout validation, then validate overflow and visual correctness.
  • Validate formatting safety: Detect overflow issues (text exceeding shape/frame boundaries) and enforce guardrails to reduce broken output.
  • Workflow utilities: Rearrange template slides, generate thumbnail grids for visual QA, and convert slides to images via PDF for inspection.

Quick Start

Use the pptx skill to unpack an existing PowerPoint file and edit a specific slide’s underlying XML safely before repacking it.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I edit the OOXML of a specific slide in an existing PowerPoint file?

To edit OOXML in a PowerPoint file, unpack the .pptx, modify the relevant slide XML (slides, notes, themes), validate the changes, and repack it into a working presentation. This ensures structurally correct and visually usable output.

Can I generate a PowerPoint presentation from HTML?

Yes, you can generate a PowerPoint presentation from HTML using a deterministic html2pptx pipeline. This workflow applies strict layout validation and checks for visual correctness and text overflow to ensure the resulting .pptx is usable.

What is the best way to extract text from PowerPoint slides for review?

The best way to extract text from PowerPoint slides is to convert the slide content into Markdown. This allows for fast understanding and review of the presentation text without manually parsing the raw OOXML structure.

How do I validate PowerPoint formatting and check for text overflow?

You can validate PowerPoint formatting by applying guardrails to detect overflow issues where text exceeds shape or frame boundaries. This validation pass ensures your .pptx remains structurally correct and visually usable before output.

Does PowerPoint editing require unpacking and repacking the file?

Yes, precise PowerPoint editing requires unpacking the .pptx to inspect and modify raw OOXML for slides, layouts, and themes. After patching the XML, you must validate and repack the file to ensure a working output.

Are there tools to generate slide thumbnails for visual QA?

Yes, workflow utilities can generate thumbnail grids and convert slides to images via PDF for visual QA. This helps inspect the presentation layout and formatting visually after unpacking and editing the OOXML.