ppt-editing-skill
Edit PowerPoint presentations and templates
Manually editing PowerPoint files is slow and error-prone, especially for template-based workflows. This skill enables AI agents to safely modify PPTX files by directly editing slide XML, supporting parallel updates and consistent template adherence.
Download the skill ZIP
Upload in Claude
Go to Settings → Capabilities → Skills → Upload skill
Toggle on and start using
Test it
Using "ppt-editing-skill". A template.pptx with 10 placeholder slides and new content for a product launch deck
Expected outcome:
- template.pptx preserved as the original unmodified copy
- unpacked/ directory containing editable XML for all 10 slides
- edited.pptx with all placeholders replaced by product launch content, validated and ready for delivery
Using "ppt-editing-skill". A slide with a 4-member team layout but only 3 team members to include
Expected outcome:
- The fourth team member group (image and text boxes) removed entirely
- No orphaned image references remain in the slide XML
- Remaining 3 members retain original formatting and alignment
Security Audit
Low RiskStatic analyzer flagged 75 patterns, but all are false positives. The 55 external_commands flags misidentified markdown code fence delimiters as Ruby backtick execution. The 4 path traversal flags misread XML formatting examples. The 14 weak crypto flags misidentified XML hex entity references. Real risks are limited to expected external command usage (cp, python, markitdown) and filesystem access for PPTX unpacking and repacking, both legitimate for this skill's purpose.
Low Risk Issues (2)
Risk Factors
⚙️ External commands (3)
📁 Filesystem access (3)
Quality Score
What You Can Build
Corporate Template Updates
Update branded presentation templates with new company information, team members, and quarterly data while preserving corporate design guidelines.
Bulk Deck Customization
Customize a master presentation for multiple audiences by duplicating slide decks and replacing content sections for each recipient group.
Template Compliance Review
Analyze existing presentations to ensure they follow organizational layout standards and identify slides that deviate from approved templates.
Try These Prompts
I have a PowerPoint template at /path/to/template.pptx. Analyze its slide layouts, available placeholders, and design patterns so I can plan content insertion.
I need to replace all placeholder text in template.pptx with new content for a quarterly business review. Preserve the existing slide order and formatting styles.
Reorder the slides in template.pptx so the executive summary comes first, remove slides 5 and 7, and duplicate slide 3 for a second use case example.
I have a 20-slide template. Replace placeholder content across all slides with the attached data. Use subagents to edit each slide XML file in parallel, then repack and validate the output.
Best Practices
- Always copy the original file before editing so the source presentation remains unmodified
- Use varied slide layouts to avoid monotonous, text-heavy presentations
- Run clean.py after deleting slides to remove orphaned assets and broken relationships
Avoid
- Never manually copy slide XML files, as this breaks relationship IDs and Content_Types references
- Do not concatenate multiple list items into a single paragraph element in slide XML
- Avoid clearing only text content without removing associated images or shapes from templates
Frequently Asked Questions
Can this skill create a PowerPoint from scratch?
Why does the skill write to /tmp/ before the final path?
How are slide images handled during editing?
Can multiple slides be edited at the same time?
What happens to slide notes during editing?
Why use defusedxml instead of the standard ElementTree?
Developer Details
Author
MiniMax-AILicense
Proprietary. LICENSE.txt has complete terms
Repository
https://github.com/MiniMax-AI/skills/tree/main/plugins/pptx-plugin/skills/ppt-editing-skillRef
main
File structure
📄 SKILL.md