pptx

Create, read, edit, merge, and template PPTX decks via Python scripts.

48|6|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/qinyan-ai/qinyan-academic-skills --skill pptx-qinyan-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/qinyan-ai/qinyan-academic-skills/tree/main/skills/14-%E6%96%87%E6%A1%A3%E5%A4%84%E7%90%86%E4%B8%8E%E6%95%B0%E6%8D%AE%E5%B7%A5%E5%85%B7/pptx
Command: npx skills add https://github.com/qinyan-ai/qinyan-academic-skills --skill pptx-qinyan-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PowerPoint workflow tasks are repetitive and error-prone when creating, reading, editing, or reorganizing slides across PPTX files. This skill consolidates those tasks into a single, script-driven capability that you can invoke in natural language.

Core Features & Use Cases

  • Deck creation and templating: generate new decks from templates and slide masters; apply layouts and themes.
  • Reading and editing: parse and modify slides, notes, comments, and content programmatically; merge or split slides as needed.
  • Automation by trigger phrases: automatically activate on mentions of "deck", "slides", "presentation", or a .pptx filename to streamline workflows.

Quick Start

Install and run the provided scripts to unpack, edit, and repack PPTX files.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I automate PowerPoint deck creation and editing?

You can automate PowerPoint deck workflows by running Python scripts to unpack, parse, modify, and repack PPTX files programmatically. This handles creating, editing, merging, and templating slides to eliminate repetitive manual tasks.

Can I merge multiple PPTX slides and apply templates programmatically?

Yes, you can merge or split slides and apply templates programmatically. The skill parses slide layouts, themes, and notes using Python libraries like lxml and Pillow to reassemble PPTX packages.

Do I need Python libraries like lxml and Pillow to parse PPTX files?

Yes, parsing and modifying PPTX files requires Python libraries including defusedxml, lxml, and Pillow. These dependencies handle XML parsing and image processing to reassemble PPTX packages correctly.

What is the best way to read and modify PowerPoint presentation notes?

The best way to modify presentation notes is to use script-driven automation that unpacks the PPTX file, parses the XML structure, edits the notes programmatically, and repacks the deck into a valid format.

Does this approach support extracting text from slides for automation workflows?

Yes, it supports reading and editing slides programmatically. By unpacking the PPTX package and parsing its XML content, you can extract text, comments, and notes to integrate into broader automation workflows.

Are there limitations when reassembling PPTX packages with custom layouts?

Limitations may arise if custom layouts contain unsupported XML structures. The process relies on defusedxml and lxml to parse and reassemble PPTX packages, ensuring structural integrity is maintained during modifications.