pptx

Create, edit, and inspect PowerPoint .pptx presentations using markitdown, pptxgenjs, and LibreOffice.

1|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/qfwc258/trae-skills --skill pptx-qfwc258
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/qfwc258/trae-skills/tree/main/pptx
Command: npx skills add https://github.com/qfwc258/trae-skills --skill pptx-qfwc258

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires markitdown[pptx], Pillow, pptxgenjs, LibreOffice, Poppler, and includes scripts (resource) and references (resource) components.

What problem does it solve? Working with .pptx files programmatically is error-prone: extracting content, editing existing decks, and building new presentations from scratch each require different tools and workflows, and visual defects like overlapping elements or placeholder text often go unnoticed. ## Core Features & Use Cases - Read and analyze: Extract text with markitdown, generate thumbnail overviews, or unpack raw XML for deep inspection. - Edit existing decks: Unpack, modify slides, clean, and repack presentations based on templates. - Create from scratch: Build new decks with pptxgenjs using curated color palettes, font pairings, and layout patterns. - Mandatory QA loop: Convert slides to images via LibreOffice and pdftoppm, then visually inspect for overflow, contrast, and alignment issues. - Use Case: Turn a quarterly report outline into a polished 10-slide pitch deck, then verify every slide renders correctly before delivery. ## Quick Start Use the pptx skill to create a five-slide presentation about our product roadmap and save it as roadmap.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 .pptx file?

Run python -m markitdown presentation.pptx to extract all text content from a PowerPoint file. For a visual overview, generate thumbnails with the included thumbnail.py script, or unpack the raw XML for detailed inspection.

How do I create a PowerPoint presentation from scratch programmatically?

Use pptxgenjs, a Node.js library installed via npm install -g pptxgenjs, to define slides, layouts, text, and shapes in code. The skill's pptxgenjs.md guide covers the full workflow when no template is available.

How do I edit an existing PowerPoint template?

Analyze the template with thumbnail.py, then unpack the .pptx into its XML parts, modify slide content, clean up, and repack it. The editing.md guide describes the complete unpack-edit-pack workflow.

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

Convert the deck to PDF with LibreOffice (soffice), then to images with pdftoppm, and inspect each slide image for overflow, low contrast, misalignment, and leftover placeholder text. Repeat the fix-and-verify loop until no issues remain.

What dependencies are required to work with .pptx files in this workflow?

You need markitdown[pptx] for text extraction, Pillow for thumbnail grids, pptxgenjs via npm for creating decks, LibreOffice for PDF conversion, and Poppler's pdftoppm for rendering slide images.