pptx

Create, edit, and validate PowerPoint .pptx presentations via XML manipulation and pptxgenjs.

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

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: templates break, placeholders linger, layouts look generic, and visual defects slip through. This Skill provides a complete workflow for reading, editing, and creating .pptx files with built-in design guidance and mandatory QA. ## Core Features & Use Cases - Read and analyze presentations: Extract text with markitdown, generate thumbnail grids, and unpack raw OOXML for inspection. - Template-based editing: Unpack, duplicate, reorder, and edit slides at the XML level, then clean orphaned files and repack with schema validation. - Create decks from scratch: Build presentations with pptxgenjs, including charts, tables, icons, images, and slide masters, guided by curated color palettes and typography rules. - Use Case: You receive a branded template and a content outline. The Skill analyzes the template layouts, maps your content to varied slide designs, edits the XML, and runs visual QA with subagents to catch overflow, overlap, and contrast issues before delivery. ## Quick Start Use the pptx skill to create a ten-slide pitch deck from my outline and render it for visual review.

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 text content from a .pptx file. For a visual overview, use the thumbnail.py script to generate a labeled grid of slide images.

How do I edit an existing PowerPoint template programmatically?

Unpack the .pptx with unpack.py, duplicate or reorder slides via add_slide.py and the sldIdLst in presentation.xml, edit each slide's XML directly, then run clean.py and pack.py to produce a validated output file.

Can I create a PowerPoint presentation from scratch with JavaScript?

Yes, the Skill uses pptxgenjs to build decks from scratch with text, shapes, images, charts, tables, and slide masters. Install it globally with npm install -g pptxgenjs and follow the pptxgenjs.md reference.

Why does my pptxgenjs file get corrupted when adding shadows or colors?

File corruption occurs when hex colors include a '#' prefix, when opacity is encoded into 8-character hex strings, or when shadow offset is negative. Use 6-character hex colors and the opacity property instead.

How do I visually check slides for layout problems?

Convert the .pptx to PDF with LibreOffice soffice, then to images with pdftoppm, and inspect each slide for overflow, overlap, contrast, and spacing issues. The Skill recommends using subagents for fresh-eyes review.