pptx
Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks
Security Assessment
About pptx
This skill enables creation, editing, and analysis of PowerPoint (.pptx) files by treating them as ZIP archives of XML and media resources. It solves the problem of programmatically producing polished presentations and of extracting or manipulating deep presentation features that are not accessible through simple text tools. It provides distinct workflows for reading content, editing existing decks, and generating new presentations from scratch.
For reading, it recommends converting a deck to markdown with markitdown for plain text, and unpacking the archive with a bundled unpack.py script for raw XML access to comments, speaker notes, slide layouts, animations, and complex formatting, documenting the key OOXML file structure (presentation.xml, slides, notesSlides, comments, slideLayouts, slideMasters, theme, media). It explains typography and color extraction from theme files. For creating new decks without a template, it uses an html2pptx workflow that converts styled HTML slides to PowerPoint with accurate positioning via a bundled html2pptx.js library and PptxGenJS, with detailed rules on supported HTML elements, web-safe fonts, shape styling on div elements, and pre-rendering gradients and icons to PNG with Sharp. The package also ships OOXML XSD schemas and Python validation and utility scripts (unpack.py, pack.py, validate.py, replace.py, inventory.py, thumbnail.py).
The target users are people and AI agents who need to generate business or design presentations, extract text and notes from decks, emulate an existing design's typography and palette, or work with layouts, comments, and speaker notes. The scripts run local, read-only or file-transformation operations on presentation files with no network or destructive behavior.
FAQ
What can this skill do with .pptx files?
Create new presentations, modify or edit content, work with layouts, add comments and speaker notes, and analyze or extract text and design details from existing decks.
How does it read presentation content?
For plain text it converts the file to markdown with markitdown; for comments, notes, layouts, animations, and complex formatting it unpacks the .pptx into raw XML with the bundled unpack.py script.
How does it create new presentations?
It uses an html2pptx workflow that renders styled HTML slides and converts them to PowerPoint with accurate positioning via the html2pptx.js library and PptxGenJS.
What are the main formatting constraints?
Use web-safe fonts only, put all text inside proper text tags, apply backgrounds/borders/shadows only to div elements, and pre-render gradients and icons to PNG with Sharp since CSS gradients do not convert.
What tooling does it bundle?
OOXML XSD schemas plus Python scripts for unpacking, packing, validating, replacing text, inventory, and thumbnails, and a JavaScript html2pptx conversion library.
All Files
55 filesInstall pptx
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
tfriedel/claude-office-skills