
PPTX
Use this skill any time a .pptx file is involved in any way - as input, output, or both.
Install
npx skills add mateaix/mateclaw --skill pptx -g -a claude-code -y- Repository
- mateaix/mateclaw1.2k
- Category
- Documents
- Updated
- 5d ago
- License
- Apache-2.0
- Context cost
- Mediumabout 1,751 tokens
- Runs scripts
- Yes, review before use
What it does
Use this skill any time a .pptx file is involved in any way - as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file; editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions \"deck\", \"slides\", \"presentation\", or references a .pptx filename.
Important: All
scripts/paths are relative to this skill directory. Userun_skill_scripttool to execute scripts, or run with:cd {this_skill_dir} && python scripts/...
PPTX Skill
Prerequisites
- markitdown[pptx]: text extraction from presentations
- Pillow: thumbnail grid generation
- pptxgenjs (
npm install -g pptxgenjs): creating presentations from scratch - LibreOffice (
soffice): presentation-to-PDF conversion - pdftoppm (poppler-utils): PDF-to-image conversion for thumbnail/visual workflows
- If
pdftoppmis unavailable, a Python fallback path may usepdf2image.
Quick Reference
| Task | Guide |
|---|---|
| Read/analyze content | python -m markitdown presentation.pptx |
| Edit or create from template | Unpack → manipulate → pack workflow |
| Create from scratch | Use pptxgenjs (npm) |
Reading Content
# Text extraction
python -m markitdown presentation.pptx
# Visual overview (thumbnail grid)
python scripts/thumbnail.py presentation.pptx
# Raw XML access
python scripts/office/unpack.py presentation.pptx unpacked/
Editing Workflow
- Analyze template with
thumbnail.py - Unpack:
python scripts/office/unpack.py presentation.pptx unpacked/ - Add/remove slides:
python scripts/add_slide.py unpacked/ --source <slide_num> - Edit XML content in
unpacked/ppt/slides/ - Clean orphans:
python scripts/clean.py unpacked/ - Pack:
python scripts/office/pack.py unpacked/ output.pptx --original presentation.pptx
Adding Slides
# Duplicate an existing slide
python scripts/add_slide.py unpacked/ --source 2
# Add from layout template
python scripts/add_slide.py unpacked/ --layout 1
Cleaning Up
# Remove orphaned slides, unreferenced media, update content types
python scripts/clean.py unpacked/
Creating Thumbnails
# Create thumbnail grid of all slides
python scripts/thumbnail.py presentation.pptx


