pptx

Automate creation, editing, and analysis of .pptx slide decks.

1.2k|53|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/polyuiislab/infiAgent --skill pptx-polyuiislab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/polyuiislab/infiAgent/tree/main/skills/pptx
Command: npx skills add https://github.com/polyuiislab/infiAgent --skill pptx-polyuiislab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, Pillow, lxml, and includes scripts (resource) components.

What problem does it solve?

Working with PowerPoint files often requires switching between many brittle tools: extracting text and images, adapting templates, editing slide XML, validating relationships, and converting slides to images. This Skill consolidates those capabilities into a single, repeatable workflow so teams can automate building, editing, QA, and packaging of .pptx decks without manual ZIP or XML hacking.

Core Features & Use Cases

  • Read and extract text, speaker notes, and assets from .pptx files for summaries, repurposing, or translation.
  • Generate visual overviews and thumbnail grids to inspect templates and layouts quickly.
  • Unpack and repack PPTX with safe structural edits, including scripts to add or duplicate slides, clean orphaned resources, and validate against OOXML schemas.
  • Create presentations from scratch using pptxgenjs patterns and templates, including image and chart handling.
  • Validate and auto-repair common file issues (broken relationships, missing content types, id constraints) to prevent corrupted output.
  • Use cases: converting templates to finalized decks, bulk template adaptation for slide mappings, QA and visual review using exported images, and producing sanitized, validated deliverables for publishing.

Quick Start

Run the pptx workflows on presentation.pptx to extract text and thumbnails, validate and clean the unpacked XML, then repack a corrected output.pptx.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I extract text and images from a pptx file?

To extract text and images from a pptx file, this Skill unpacks the presentation archive to read slide content, speaker notes, and media assets, providing structured outputs for summaries or repurposing without manual ZIP hacking.

Can I generate thumbnails from PowerPoint slides programmatically?

Yes, you can generate thumbnails from PowerPoint slides programmatically. This Skill integrates Pillow and LibreOffice to export visual overviews and thumbnail grids, allowing you to quickly inspect templates and layouts.

What is the best way to validate and repair OOXML for corrupted pptx decks?

The best way to validate and repair OOXML for corrupted pptx decks is using this Skill's deterministic scripts. It leverages defusedxml and lxml to auto-repair broken relationships, missing content types, and id constraints to prevent output corruption.

How do I create PowerPoint presentations from scratch using pptxgenjs?

You can create PowerPoint presentations from scratch using pptxgenjs patterns integrated into this Skill. It supports template-based generation, allowing you to programmatically build slides, insert images, and handle charts.

Does unpacking and repacking PPTX files maintain the original XML structure?

Yes, unpacking and repacking PPTX files maintains the original XML structure. This Skill provides deterministic scripts for safe structural edits, including adding or duplicating slides and cleaning orphaned resources while validating against OOXML schemas.

Why does my automated pptx template adaptation output broken relationships?

Your automated pptx template adaptation might output broken relationships due to missing content types or invalid id constraints. This Skill uses lxml to validate and auto-repair these structural issues, ensuring sanitized and valid deliverables.