Unpack: python ooxml/scripts/unpack.py file.pptx dir
Edit XML files
Validate: python ooxml/scripts/validate.py dir --original file
Pack: python ooxml/scripts/pack.py dir output.pptx
Error Handling
Validate after each edit before packing
Check thumbnail grid for text cutoff/overlap
Ensure contrast for readability
Notes
Avoid "AI slop": excessive centered layouts, purple gradients, Inter font
Use two-column layouts for charts/tables
Slides are 0-indexed in scripts
Source: anthropics/skills
1---2name: pptx-toolkit3description: PPTX Toolkit4---5# PPTX Toolkit67Presentation creation, editing, and analysis for PowerPoint files (.pptx) with support for layouts, templates, and visual design.89## Prerequisites1011- markitdown (pip) for text extraction12- pptxgenjs (npm) for creating presentations13- LibreOffice for PDF conversion14- Playwright for HTML rendering1516## Instructions1718### Reading Content1920```bash21python -m markitdown presentation.pptx22```2324For raw XML access:25```bash26python ooxml/scripts/unpack.py presentation.pptx output_dir27```2829### Creating New Presentations (without template)30311. **Design First**32 - Consider subject matter, tone, audience33 - Choose color palette (18 preset options available)34 - Use web-safe fonts only35362. **Use html2pptx Workflow**37 - Create HTML file for each slide (720pt × 405pt for 16:9)38 - Use `<p>`, `<h1>`-`<h6>`, `<ul>`, `<ol>` for text39 - Convert HTML to PowerPoint using html2pptx.js40413. **Visual Validation**42 ```bash43 python scripts/thumbnail.py output.pptx workspace/thumbnails --cols 444 ```4546### Creating from Template47481. Extract text: `python -m markitdown template.pptx`492. Create thumbnail grid for visual analysis503. Create outline with template mapping514. Rearrange slides: `python scripts/rearrange.py template.pptx working.pptx 0,34,34,50`525. Extract inventory: `python scripts/inventory.py working.pptx text-inventory.json`536. Generate replacement text JSON547. Apply: `python scripts/replace.py working.pptx replacement.json output.pptx`5556### Editing Existing Presentations57581. Unpack: `python ooxml/scripts/unpack.py file.pptx dir`592. Edit XML files603. Validate: `python ooxml/scripts/validate.py dir --original file`614. Pack: `python ooxml/scripts/pack.py dir output.pptx`6263## Error Handling6465- Validate after each edit before packing66- Check thumbnail grid for text cutoff/overlap67- Ensure contrast for readability6869## Notes7071- Avoid "AI slop": excessive centered layouts, purple gradients, Inter font72- Use two-column layouts for charts/tables73- Slides are 0-indexed in scripts7475Source: anthropics/skills
Run npx skillmds@latest add mediar-ai/pptx-toolkit in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
PPTX Toolkit It is listed under Docs & Writing on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
mediar-ai (@mediar-ai) published this skill. Their other Agent Skills are listed on their SkillMD profile.