pptx

Extract text, edit slide XML, and repack valid PPTX presentations.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/zlovexforever/zlx-claude-skills --skill pptx-zlovexforever
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/zlovexforever/zlx-claude-skills/tree/main/pptx
Command: npx skills add https://github.com/zlovexforever/zlx-claude-skills --skill pptx-zlovexforever

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Pillow, markitdown, pptxgenjs, LibreOffice (soffice), Poppler (pdftoppm), and includes scripts (resource) components.

What problem does it solve?

This Skill helps you work with PowerPoint (.pptx) files end-to-end—extracting their contents, editing slide internals, and rebuilding valid presentations—so you can reuse or transform slide decks reliably without manual clicking.

Core Features & Use Cases

  • Text extraction from PPTX: Extracts slide text (including when content will be reused elsewhere) using a dedicated .pptx parser workflow.
  • Slide QA via visual inspection: Converts PPTX to slide images for overlap, overflow, alignment, and placeholder checks.
  • Template-based slide editing: Unpack a deck, map slide layouts, edit slide XML/structure, clean orphaned parts, and repack into a new PPTX.
  • Create from scratch: Generates new PPTX decks when no template is available using pptxgenjs guidance.
  • Slide diagnostics & packaging hygiene: Provides utilities for unpacking, cleaning, packing, thumbnailing, and validation tooling guidance (including LibreOffice-based conversion).

Quick Start

Use this skill whenever you need to open, create, or modify a .pptx file; first extract text from the deck with python -m markitdown input.pptx, then if you must edit, unpack with python scripts/office/unpack.py input.pptx unpacked/, apply your slide changes, clean with python scripts/clean.py unpacked/, and repack with python scripts/office/pack.py unpacked/ output.pptx --original input.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 from a PowerPoint slide deck for editing workflows?

To extract text from a PowerPoint slide deck, use the markitdown parser to read slide content directly from the .pptx file. This captures all text for downstream editing or content reuse workflows without manual copying.

Can I modify slide XML directly while preserving OOXML correctness?

Yes, you can modify slide XML by unpacking the .pptx, applying structural edits to slide layouts, cleaning orphaned parts, and repacking. This deterministic unpack-edit-clean-pack toolchain ensures OOXML correctness for valid presentations.

What's the best way to check PowerPoint slides for layout overflow or alignment errors?

The best way to check slides for overflow or alignment is visual QA via image-based inspection. Convert the PPTX to slide images using LibreOffice and Poppler to spot overlap, overflow, and placeholder errors.

How do I create a new PPTX deck from scratch without a template?

You can create a new PPTX deck from scratch without a template by using pptxgenjs guidance. This allows you to generate new presentations programmatically when no existing template is available.

Do I need LibreOffice installed to convert PPTX files for visual inspection?

Yes, you need LibreOffice installed for PPTX conversion and visual inspection. It works with Poppler to render slide images, enabling automated checks for layout alignment, overflow, and placeholder issues.

Why does my repacked PPTX file fail to open after editing the slide internals?

Repacked PPTX files fail to open when OOXML packaging is compromised. Running a clean step to remove orphaned parts after editing slide XML and before packing ensures the output presentation remains valid.