pptx

Automates .pptx reading, editing, and creation workflows with QA-ready thumbnails and LibreOffice validation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill owns every .pptx touchpoint so you never forget to trigger the right tools when a slide deck needs reading, editing, or creation while ensuring polished QA before delivery.

Core Features & Use Cases

  • Read & Analyze: Run markitdown extraction, thumbnails, and unpack scripts to inspect content, layouts, and placeholder text before editing begins.
  • Edit Templates & QA: Follow the template mapping, unpack/manipulate/clean/pack pipeline from editing.md, adjust content as requested, and convert to images for QA loops on decks like investor updates or product launches.
  • Create & Validate from Scratch: Use pptxgenjs.md when no template exists, apply bold color palettes, design motifs, and QA guidance to craft a fresh deck and verify it via thumbnail/pdf conversion.

Quick Start

Provide the deck name or description and ask for the exact read, edit, or creation task you need on that .pptx file.

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 content from a pptx file for analysis?

Extract pptx content by running markitdown extraction alongside unpack scripts to inspect slide layouts, placeholder text, and structure before editing begins. This pipeline reads the deck and converts internal XML into readable text for downstream analysis.

How do I edit an existing pptx template programmatically?

Edit pptx templates by following the unpack, manipulate, clean, and pack pipeline. Unpack the archive, adjust the XML content as requested, clean redundant nodes, and repack it into a valid presentation file.

Can I generate thumbnails from pptx slides for QA review?

Generate pptx thumbnails using Pillow-powered image conversion and LibreOffice. Convert slides to images to visually verify layout consistency, review design motifs, and validate content placement during QA loops.

Do I need LibreOffice to convert and validate pptx files?

LibreOffice is required to validate pptx revisions and export decks to PDF or image formats. It performs the conversions needed to verify edited slides and generate QA-ready thumbnails outside the Python environment.

What's the best way to create a new pptx presentation from scratch?

Create a fresh pptx using pptxgenjs when no template exists. Apply bold color palettes and design motifs to craft the deck, then validate the output via thumbnail or PDF conversion to ensure formatting integrity.

Why does pptx unpacking require lxml and defusedxml?

Unpacking pptx files requires lxml for parsing the XML structure and defusedxml to mitigate XML security risks. These dependencies ensure safe manipulation of internal slide components during the unpack and pack pipeline.