python-pptx-generator
Has your agent create PowerPoint presentations with Python. It generates scripts to build slides with real content using the python-pptx library.
What it does
Generates a complete Python script to automatically create PowerPoint presentations (.pptx). It turns a topic into a slide deck script with real content and a sensible structure.
When to use it
- ✓When you want a Python script that creates a .pptx file.
- ✓When you need slide content drafted and directly encoded into the script.
- ✓When you want a quick presentation generator for demos or classes.
Example of what to ask your AI
“Create a Python script for a 5-slide presentation on the benefits of solar energy for homeowners.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The AI first understands the topic and desired presentation structure. Then, it writes Python code using the `python-pptx` library to create each slide with titles and text, and saves the final file.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add sickn33/agentic-awesome-skills --skill python-pptx-generatorOr download just the file:
curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/python-pptx-generator/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
Python PPTX Generator
Overview
Use this skill when the user wants a ready-to-run Python script that creates a PowerPoint presentation with python-pptx.
It focuses on turning a topic brief into a complete slide deck script with real slide content, sensible structure, and a working save step.
When to Use This Skill
- Use when the user wants a Python script that generates a
.pptxfile automatically - Use when the user needs slide content drafted and encoded directly into
python-pptx - Use when the user wants a quick presentation generator for demos, classes, or internal briefings
How It Works
Step 1: Collect the Deck Brief
Ask for the topic, audience, tone, and target number of slides if the request does not already include them. If constraints are missing, pick conservative defaults and state them in the generated script comments.
Step 2: Plan the Narrative Arc
Outline the deck before writing code:
- Title slide
- Agenda or context
- Core teaching or business points
- Summary or next steps
Keep the slide count realistic for the requested audience and avoid filler slides.
Step 3: Generate the Python Script
Write a complete script that:
- imports
Presentationfrompython-pptx - creates the deck
- selects appropriate built-in layouts
- writes real titles and bullet points
- saves the file with a clear filename
- prints a success message after saving
Step 4: Keep the Output Runnable
The final answer should be a Python code block that can run after installing python-pptx.
Avoid pseudocode, placeholders, or missing imports.
Examples
Example 1: Educational Deck
User: Create a 5-slide presentation on the basics of machine learning for a high school class.
Output: A complete Python script that creates a title slide, overview, core concepts, examples, and recap.
Example 2: Business Briefing
User: Generate a 7-slide deck for sales leadership on Q2 pipeline risks and mitigation options.
Output: A python-pptx script with executive-friendly slide titles, concise bullets, and a final recommendations slide.
Best Practices
- ✅ Use standard
python-pptxlayouts unless the user asks for custom positioning - ✅ Write audience-appropriate bullet points instead of placeholders
- ✅ Save the output file explicitly in the script, for example
output.pptx - ✅ Keep slide titles short and the bullet hierarchy readable
- ❌ Do not return partial snippets that require the user to assemble the rest
- ❌ Do not invent unsupported styling APIs without checking
python-pptxcapabilities
Security & Safety Notes
- Install
python-pptxonly in an environment you control, for example a local virtual environment - If the user will run the script on a shared machine, choose a safe output path and avoid overwriting existing presentations without confirmation
- If the request includes proprietary or sensitive presentation content, keep it out of public examples and sample filenames
Common Pitfalls
Problem: The generated script uses placeholder text instead of real content
Solution: Draft the narrative first, then turn each slide into specific titles and bulletsProblem: The deck uses too many slides for the requested audience
Solution: Compress the outline to the most important 4 to 8 slides unless the user explicitly wants a longer deckProblem: The script forgets to save or print a completion message
Solution: Always end withprs.save(...)and a short success print
Related Skills
@pptx-official- Use when the task is about inspecting or editing existing PowerPoint files@docx-official- Use when the requested output should be a document instead of a slide deck
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
FAQ
Is the generated script ready to use out-of-the-box?
Yes, the script is complete and can be run directly after installing the `python-pptx` library.
What if I don't specify the number of slides?
The AI will use a sensible default number of slides, typically between 4 and 8, and will note this in the generated script's comments.
Can I ask the AI to create a specific visual style?
The AI uses the standard layouts available in the `python-pptx` library. It doesn't create complex custom visual styles but ensures the content is well-organized.
Details
Original description by the author
Generate complete Python scripts that build polished PowerPoint decks with python-pptx and real slide content.
Popularity
- GitHub stars
- 48k
- Ranking position
- #3937
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
Helps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
sickn33/agentic-awesome-skills
007
Lets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
sickn33/agentic-awesome-skills
10-andruia-skill-smith
Helps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
sickn33/agentic-awesome-skills
20-andruia-niche-intelligence
Lets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
sickn33/agentic-awesome-skills
Similar skills
benchmark-optimization-loop
Has your agent improve something's speed in a measured way. It tests multiple versions and chooses the fastest one that still works correctly.
affaan-m/ECC
change-impact
Helps your agent analyze the impact of code changes before making them. It compares the planned vs. actual results afterward, covering paths, data, tests, and documentation. Useful for risky or system-wide changes.
affaan-m/ECC
click-path-audit
Lets your agent trace all user buttons and interactions to find bugs. It finds issues where functions seem to work alone but fail together. Useful when bugs persist even after debugging.
affaan-m/ECC