powerpoint

Create, edit, and redesign PowerPoint presentations using pptxGenJS and python-pptx.

1|Updated May 13, 2026
One-click install
npx skills add https://github.com/coolrobertj/Agency-Cowork --skill powerpoint-coolrobertj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: powerpoint
Source: https://github.com/coolrobertj/Agency-Cowork/tree/main/skills/powerpoint/skills/powerpoint
Command: npx skills add https://github.com/coolrobertj/Agency-Cowork --skill powerpoint-coolrobertj

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pptxgenjs, react-icons, sharp, python-pptx, markitdown, PyMuPDF, and includes scripts (resource) components.

What problem does it solve? Creating polished slide decks and editing existing presentations programmatically is tedious and error-prone, especially when dealing with DRM-protected corporate files, brand consistency, and layout quality issues. ## Core Features & Use Cases - New Deck Creation: Build presentations from scratch with pptxGenJS, including charts, tables, icons, images, and themed color palettes. - Existing Deck Editing: Inspect and batch-edit slides with python-pptx, covering text replacement, table updates, slide reordering, duplication, and speaker notes. - DRM Handling: Detect, strip, and re-apply IRM/DRM protection on corporate PPTX files via Office COM automation. - Visual QA Pipeline: Export decks to PDF and render slides as PNG images to catch overflow, overlap, and contrast issues before delivery. - Use Case: Download a quarterly review deck from SharePoint, strip its DRM, batch-update all Q3 references to Q4, re-apply protection, and upload the finished file back. ## Quick Start Ask your agent to create a 10-slide presentation about your project status with charts and a consistent color theme.

Frequently Asked Questions about powerpoint

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

FAQPage Schema
How do I create a PowerPoint presentation programmatically with Node.js?

Use pptxGenJS to define slides with text, shapes, charts, tables, and images, then call writeFile to output the .pptx file. Set a layout like LAYOUT_16x9, define color and font constants, and build each slide with addText, addShape, addChart, and addImage calls.

How do I edit an existing PPTX file in Python?

Use python-pptx to inspect the deck first, listing slides, shapes, and tables with their indices. Then apply batch edits such as replace-text, update-text, update-table, delete-slide, move-slide, or duplicate-slide in a single operation to preserve existing formatting.

pptxGenJS vs python-pptx: which should I use?

Use pptxGenJS for creating new decks since it offers richer visuals, charts, icons, and layout control. Use python-pptx for editing existing files because it preserves original formatting and supports batch operations. pptxGenJS cannot edit existing files.

Why does python-pptx fail to open my PowerPoint file?

The file is likely DRM-protected with an OLE2 container, indicated by a D0 CF 11 E0 header instead of the standard 50 4B 03 04 ZIP header. Strip the DRM via Office COM automation on Windows first, then edit, and re-apply protection afterward.

Why do my pptxGenJS colors render incorrectly or corrupt the file?

pptxGenJS requires bare hex color values without a # prefix, and 8-character hex codes for opacity also corrupt output. Use values like "1E2761" and set transparency through the dedicated opacity property instead.

Can I edit DRM-protected PowerPoint files on macOS?

No. DRM stripping and re-application rely on Office COM automation, which is only available on Windows with PowerPoint installed. On macOS you must warn the user that protected files cannot be edited without a Windows machine.