pptx

Create and edit PowerPoint presentations with python-pptx and pptxgenjs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-pptx, pptxgenjs, Pillow, defusedxml, lxml, pdf2image, soffice, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation and editing of PowerPoint presentations, transforming raw data and ideas into professional, visually appealing slides without manual design effort.

Core Features & Use Cases

  • Template-Based Creation: Generate presentations from existing templates, ensuring brand consistency.
  • Content Editing: Programmatically update text, images, and layouts within .pptx files.
  • Data-Driven Slides: Create charts and tables directly from data inputs.
  • Use Case: Automatically generate a monthly performance report presentation by pulling data from a CSV file and populating pre-designed slides with charts and key metrics.

Quick Start

Use the pptx skill to create a new presentation with a title slide and two content slides.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I automate PowerPoint presentation creation from a template?

Automate PowerPoint creation by using python-pptx and pptxgenjs to populate existing templates with text, images, and charts. This ensures brand consistency while transforming raw data into professional slides without manual design effort.

Can I generate data-driven charts and tables directly in .pptx files?

Yes, you can generate data-driven charts and tables directly in .pptx files. The Skill processes data inputs programmatically to create visual elements, enabling automated generation of reports like monthly performance presentations from CSV files.

Does python-pptx work with Pillow for image manipulation in slides?

Yes, python-pptx works alongside Pillow for image manipulation in slides. The Skill integrates these dependencies to handle image processing and placement within PowerPoint presentations, ensuring visuals are correctly formatted and embedded.

What is the best way to extract text from PowerPoint slides programmatically?

The best way to extract text from PowerPoint slides is using the Skill's automated processing capabilities with python-pptx. It handles text extraction efficiently, allowing you to pull content from .pptx files for further data processing or migration.

Do I need LibreOffice installed to convert PowerPoint to PDF?

Yes, you need LibreOffice (soffice) installed to convert PowerPoint to PDF. The Skill uses soffice as a runtime dependency specifically for PDF conversion and rendering tasks, alongside pdf2image for generating image previews.

Why does my PowerPoint automation fail when processing complex layouts?

PowerPoint automation may fail on complex layouts due to XML parsing limitations. The Skill uses defusedxml and lxml to safely process slide structures, but heavily customized templates with unsupported elements might require simplifying the layout before processing.