pptx

Read, create, edit, and convert .pptx slide decks with Python scripts.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Norfolk-Group/H-Analytics --skill pptx-norfolk-group
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/Norfolk-Group/H-Analytics/tree/main/.agents/skills/pptx
Command: npx skills add https://github.com/Norfolk-Group/H-Analytics --skill pptx-norfolk-group

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Presentations are often updated, inspected, and converted manually across multiple tools, which is slow and error-prone; this Skill consolidates reading, parsing, editing, validating, and generating .pptx files into repeatable scripted workflows so teams can reliably produce production-quality slide decks.

Core Features & Use Cases

  • Text & Asset Extraction: Extract slide text, notes, and media with markitdown and the unpack utilities for downstream summaries or RAG agents.
  • Visual Analysis & QA: Create thumbnail grids, convert slides to images for visual inspection, and run strict visual/content QA loops to catch layout and placeholder issues.
  • Template Editing Workflow: Unpack → edit XML slides (with add_slide, clean, pack helpers) → validate against XSDs → repack, enabling deterministic template adaptation and batch edits.
  • Create from Scratch: Support for pptxgenjs-based generation for programmatic creation of pitch decks, charts, and icon integration.
  • Validation & Repair: Comprehensive XML/XSD validation, relationship and content-type checks, and automated repairs for common OOXML issues to avoid corrupt output.

Quick Start

Run the thumbnail and markitdown tools to preview layouts and extract slide text and notes from presentation.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 for a RAG agent?

You can extract slide text, notes, and media from pptx files using markitdown and unpack utilities, producing structured output suitable for downstream summaries or RAG agents.

What's the best way to automate batch edits to PowerPoint slide templates?

Automate template adaptation by unpacking the pptx, editing the XML slides directly using helper scripts, validating against XSDs, and repacking to ensure deterministic batch edits without corrupting the file.

Can I generate a PowerPoint deck from scratch using pptxgenjs?

Yes, you can programmatically create pitch decks, charts, and integrate icons from scratch using pptxgenjs-based generation supported within the scripted workflow.

How do I create a thumbnail grid from PowerPoint slides for visual QA?

Create thumbnail grids and convert slides to images using LibreOffice/soffice and Poppler, enabling visual inspection to catch layout and placeholder issues during QA loops.

Does this workflow require LibreOffice and Poppler to convert pptx to PDF?

Yes, converting pptx slides to PDF or images for visual inspection requires LibreOffice/soffice and Poppler, while Python libraries like defusedxml, lxml, and Pillow handle parsing and validation.

Why does my edited pptx file show as corrupt when opened in PowerPoint?

Corrupt pptx output often stems from OOXML structural issues; running comprehensive XML/XSD validation, relationship checks, and automated repairs before repacking prevents common corruption errors.