agentsclimarketplace

Python pptx generator

Skill newmindsgroup/ai-agent-skills-library/sources/sickn33-antigravity-awesome-skills/skills/python-pptx-generator

Shared library of AI agent skills — works across Claude Code, Cursor, Codex, Windsurf, OpenCode, and Google Antigravity via a single universal installer.

Install
npx -y skills add newmindsgroup/ai-agent-skills-library --skill python-pptx-generator

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Generate complete Python scripts that build polished PowerPoint decks with python-pptx and real slide content.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

4.4 KB, 868 tokens by cl100k_base, as published. Nobody here has run it

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 .pptx file 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:

  1. Title slide
  2. Agenda or context
  3. Core teaching or business points
  4. 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 Presentation from python-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-pptx layouts 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-pptx capabilities

Security & Safety Notes

  • Install python-pptx only 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 bullets

  • Problem: 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 deck

  • Problem: The script forgets to save or print a completion message Solution: Always end with prs.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.

Gives 0 of the 12 instructions most pdf office docs skills give in 868 tokens

Counted across 636 of the 690 authors here whose files we hold, read 2026-08-07

  • extract text using pdfplumberin 89 of 636, across 23 files
  • create PDFs using reportlabin 83 of 636, across 16 files
  • read forms.md to fill out pdf formsin 80 of 636, across 13 files
  • OCR scanned PDFs using pytesseractin 77 of 636, across 10 files
  • merge or split PDFs using qpdfin 70 of 636, across 3 files
  • use excel formulas instead of hardcoded calculated valuesin 68 of 636, across 13 files
  • unpack edit xml and repack existing documentsin 63 of 636, across 8 files
  • document sources for hardcoded valuesin 61 of 636, across 9 files
  • write minimal python code without unnecessary commentsin 59 of 636, across 7 files
  • run the recalculation script after adding or modifying formulasin 59 of 636, across 7 files
  • fix all identified formula errors and recalculatein 58 of 636, across 6 files
  • format years as text stringsin 57 of 636, across 5 files

Said here and by no other author read

  • ask for topic, audience, tone, and slide count if missing
  • outline the deck before writing code
  • use standard python-pptx layouts
  • write real titles and bullet points
  • keep slide count realistic for the audience
  • select appropriate built-in layouts

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.