pptx

Extract PPTX content, edit slide XML, and generate new presentations.

Updated May 15, 2026
One-click install
npx skills add https://github.com/lth0/codexSkill --skill pptx-lth0
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/lth0/codexSkill/tree/main/skills/agents/pptx
Command: npx skills add https://github.com/lth0/codexSkill --skill pptx-lth0

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you reliably work with PowerPoint presentations by extracting content, producing accurate edits, and generating polished slide decks while minimizing the chance of broken or visually incorrect output.

Core Features & Use Cases

  • Analyze & extract PPTX content: Extract slide text using markitdown for understanding, reuse, or downstream summaries.
  • Edit and update presentations safely: Follow a template-driven workflow that unpacks the PPTX, edits slide XML, cleans the structure, and repacks it.
  • Create decks from scratch: Generate new presentations when no template is available using PptxGenJS guidance.
  • Visual QA for layout correctness: Convert slides to images (via LibreOffice + Poppler) and perform visual bug-hunting to catch overflow, spacing issues, and leftover placeholders.
  • Common OOXML reliability guardrails: Use consistent XML editing patterns, preserve whitespace rules, and validate generated content with the repo’s tooling.

Quick Start

Use the pptx skill to edit the attached file 'presentation.pptx' by extracting its text first, then applying a template-based workflow and running image-based visual QA for correctness.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I programmatically edit an existing pptx slide deck without breaking the layout?

To edit a pptx deck safely, use an unpack-edit-clean-pack loop that extracts the presentation, modifies the slide XML directly, and repacks it while preserving OOXML structure and whitespace rules to prevent broken output.

What is the best way to generate a new PowerPoint presentation from scratch?

Generating a new PowerPoint presentation from scratch is best handled using PptxGenJS guidance, allowing you to create new slide decks programmatically when no existing template is available for modification.

How do I extract text from a pptx file for content analysis or summaries?

You can extract text from a pptx file using markitdown, a tool that parses the presentation to isolate slide text for downstream understanding, reuse, or generating content summaries efficiently.

Can I visually check a pptx deck for layout issues after editing the XML?

Yes, you can perform visual QA on a pptx deck by converting slides to images via LibreOffice and Poppler, allowing you to catch overflow, spacing issues, and leftover placeholders after editing.

Does editing OOXML directly risk corrupting my PowerPoint presentation?

Editing OOXML directly can risk corruption if whitespace rules are ignored, but applying consistent XML editing patterns and validation tooling during the unpack-edit-clean-pack loop maintains structural integrity.