pptx-offline

Edit PPTX files offline by unpacking, modifying, and repacking OOXML structures.

50|3|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/okwinds/miscellany --skill pptx-offline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx-offline
Source: https://github.com/okwinds/miscellany/tree/main/agent/skills/pptx-offline
Command: npx skills add https://github.com/okwinds/miscellany --skill pptx-offline

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright-core, pptxgenjs, sharp, Pillow, python-pptx, six, defusedxml, lxml, and includes scripts (resource) components.

What problem does it solve?

This Skill provides a local, offline workflow to read, modify, and re-pack PowerPoint (.pptx) files without relying on cloud services or online tools.

Core Features & Use Cases

  • Offline PowerPoint editing: unpack PPTX packages, edit slides and text via Python scripts, and re-pack into a valid PPTX.
  • HTML to PPTX: convert HTML slides into PowerPoint using the html2pptx workflow, enabling HTML-driven presentations.
  • Inventory & replacement: extract a structured text inventory, craft replacement paragraphs with formatting, and apply them safely to the target presentation.

Quick Start

Use the pptx-offline skill to analyze and modify a presentation locally. For example:

  • Extract text inventory: python scripts/inventory.py my-presentation.pptx inventory.json
  • Rearrange slides: python scripts/rearrange.py template.pptx output.pptx 0,34,34
  • Apply text replacements: python scripts/replace.py output.pptx replacement-text.json final.pptx
  • Generate thumbnails: python scripts/thumbnail.py template.pptx thumbnails

Frequently Asked Questions about pptx-offline

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

FAQPage Schema
How do I edit pptx files offline without relying on cloud services?

To edit pptx files offline, you unpack the OOXML structure, modify slides locally via Python scripts, and repack the presentation into a valid file without needing external cloud services.

Can I convert HTML slides into a PowerPoint presentation locally?

Yes, you can convert HTML to PPTX locally using the html2pptx workflow, which parses HTML content and transforms it into a valid PowerPoint presentation structure entirely offline.

What is the best way to extract and replace text in a presentation locally?

The best way to replace text locally is extracting a structured text inventory from the presentation, crafting replacement paragraphs with formatting, and applying them safely using a Python script.

How do I rearrange slides in a pptx file using a command line tool?

You can rearrange slides in a pptx file by passing a comma-separated sequence of slide indices to a Python script, which reorders the presentation structure and outputs a new valid file.

Do I need Node.js and Python environments to use offline pptx workflows?

Yes, offline pptx workflows require both environments: Python-based tools handle inventory extraction, text replacement, and rearrangement, while Node-based tools handle HTML to PPTX conversion.

Can I generate thumbnails for PowerPoint slides without an internet connection?

Yes, you can generate thumbnails for PowerPoint slides completely offline by running a local Python script that parses the pptx file and outputs thumbnail images for your slides.