pptx

Create, edit, and analyze PowerPoint presentations programmatically from code.

1|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/Victory-Hugo/S2-Agent-Skill --skill pptx-victory-hugo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/Victory-Hugo/S2-Agent-Skill/tree/main/skills/writing/document-skills/pptx
Command: npx skills add https://github.com/Victory-Hugo/S2-Agent-Skill --skill pptx-victory-hugo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, sharp, defusedxml, lxml, Pillow, python-pptx, six.

What problem does it solve?

This Skill enables developers and data professionals to programmatically create, edit, and manipulate PowerPoint presentations (.pptx) from code, eliminating manual slide assembly and design drift.

Core Features & Use Cases

  • Powerful PPTX creation: generate slides, apply layouts, and set content, notes, and comments through code.
  • Batch editing and templating: modify multiple decks, reuse templates, and enforce consistent styling across decks.
  • Use Case: Automate monthly reporting decks by converting data into slides and pushing to agents or teams.
  • Inventory & replacements: extract text inventories, validate structure, and replace placeholder text while preserving formatting.

Quick Start

Install Python and Node-based tooling, then run a sample workflow:

  • Generate an inventory: python inventory.py input.pptx inventory.json
  • Replace text: python scripts/replace.py input.pptx replacements.json output.pptx
  • Create a grid thumbnail: python scripts/thumbnail.py template.pptx thumbnails.jpg

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I automate PowerPoint creation and editing from code?

Automate PowerPoint creation and editing by utilizing HTML-to-PPTX pipelines and python-pptx to generate slides, apply layouts, and set content programmatically. This eliminates manual slide assembly and ensures consistent styling across decks.

What is the best way to extract text inventory from a pptx file for translation?

Extract text inventory from a pptx file by running a script to parse the deck and output a JSON file containing all text elements. This enables structured text replacement and validation while preserving the original formatting.

Does this PowerPoint automation tool support batch template replacement across multiple decks?

Yes, it supports batch template replacement across multiple decks. You can modify multiple decks, reuse templates, and enforce consistent styling by applying replacement JSON files to input presentations to generate updated outputs.

Can I validate OOXML structure and generate slide thumbnails automatically?

Yes, you can validate OOXML structure and generate slide thumbnails automatically. The tool relies on OOXML validation to ensure consistent layouts and uses Sharp and Pillow dependencies to create grid thumbnails from templates.

Do I need Node and Python installed to run pptx automation workflows?

Yes, you need both Python and Node-based tooling installed to run the workflows. The environment requires dependencies like Playwright for browser automation alongside Python libraries such as lxml and python-pptx.