pptx

Create, edit, and inspect PowerPoint .pptx presentations with OOXML tooling and visual QA.

52|Updated Apr 24, 2026
One-click install
npx skills add https://github.com/Immortalqx/my_codex_skills --skill pptx-immortalqx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/Immortalqx/my_codex_skills/tree/main/pptx
Command: npx skills add https://github.com/Immortalqx/my_codex_skills --skill pptx-immortalqx

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Working with PowerPoint files programmatically is error-prone: extracting content, editing slides inside templates, and building decks from scratch all require deep knowledge of the OOXML format, and visual defects like overlapping text or leftover placeholders are easy to miss. ## Core Features & Use Cases - Read and analyze decks: Extract text with markitdown, generate thumbnail grids, or unpack raw slide XML for inspection. - Template-based editing: Unpack a .pptx, duplicate or reorder slides, edit slide XML, clean orphaned files, and repack with schema validation. - Create from scratch: Build presentations with pptxgenjs, including charts, tables, icons, images, and styled layouts. - Mandatory QA loop: Convert slides to images via LibreOffice and pdftoppm, then visually inspect for overflow, overlap, and placeholder text. - Use Case: Given an existing corporate template and a project brief, produce a polished pitch deck by mapping content to varied template layouts, editing the slide XML, and verifying every rendered slide before delivery. ## Quick Start Use the pptx skill to create a ten-slide pitch deck from my project brief and run the visual QA loop on the rendered slides.

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 .pptx file?

Run python -m markitdown presentation.pptx to extract all slide text. For a visual overview, use the thumbnail script to generate a labeled grid of slide images, or unpack the file to inspect raw slide XML directly.

How do I edit an existing PowerPoint template programmatically?

Unpack the .pptx into XML with the unpack script, duplicate or reorder slides via add_slide.py and the sldIdLst, edit each slide's XML content, clean orphaned files, then repack with validation against the original file.

Can I create a PowerPoint deck from scratch without a template?

Yes, use pptxgenjs to build slides programmatically with text, shapes, images, charts, and tables. Install it globally with npm and follow the layout, color, and typography guidance to produce a complete .pptx file.

Why does my generated pptx file appear corrupt in PowerPoint?

Common causes include hex colors written with a # prefix, opacity encoded in 8-character color strings, negative shadow offsets, or broken relationship references. The pack script validates and auto-repairs many of these issues against OOXML schemas.

How do I check slides for visual problems like overlapping text?

Convert the deck to PDF with LibreOffice, then to per-slide images with pdftoppm, and inspect each image for overflow, overlap, low contrast, and leftover placeholders. Repeat the fix-and-verify cycle until a full pass finds no new issues.