agentleFS
GTMifyGTMify/aigtm/skills/pptx/SKILL.md

pptx

Skill25 starsChanged 6 months agoMITView on GitHub

Create, read, and edit PowerPoint (.pptx) files. Trigger any time a .pptx file is involved — as input, output, or both. Includes creating slide decks, pitch decks, presentations; reading or extracting text from any .pptx; editing or modifying existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Use whenever the user mentions 'deck,' 'slides,' or 'presentation' or references a .pptx filename.

  • Installs packages

195 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use context7-efficient, file-reading and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • hfzarslanSkill

    context7-efficient

    Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.

    Also in 5 projects that use this

  • SeifBenayedSkill

    file-reading

    Use this skill when a file has been uploaded but its content is NOT in your context — only its path at /mnt/user-data/uploads/ is listed in an uploaded_files block. This skill is a router: it tells you which tool to use for each file type (pdf, docx, xlsx, csv, json, images, archives, ebooks) so you read the right amount the right way instead of blindly running cat on a binary. Triggers: any mention of /mnt/user-data/uploads/, an uploaded_files section, a file_path tag, or a user asking about an uploaded file you have not yet read. Do NOT use this skill if the file content is already visible in your context inside a documents block — you already have it.

    Also in 6 projects that use this

  • SeifBenayedSkill

    pdf-reading

    Use this skill when you need to read, inspect, or extract content from PDF files — especially when file content is NOT in your context and you need to read it from disk. Covers content inventory, text extraction, page rasterization for visual inspection, embedded image/attachment/table/form-field extraction, and choosing the right reading strategy for different document types (text-heavy, scanned, slide-decks, forms, data-heavy). Do NOT use this skill for PDF creation, form filling, merging, splitting, watermarking, or encryption — use the pdf skill instead.

    Also in 6 projects that use this

  • unicorn-pluginsSkill

    product-self-knowledge

    Anthropic 제품 지식 — Claude Code, Claude API, Claude.ai 관련 정확한 정보 제공

    Also in 7 projects that use this

  • AbdullahMalik17Skill

    configuring-dapr-pubsub

    Configures Dapr pub/sub components for event-driven microservices with Kafka or Redis. Use when wiring agent-to-agent communication, setting up event subscriptions, or integrating Dapr sidecars. Covers component configuration, subscription patterns, publishing events, and Kubernetes deployment. NOT when using direct Kafka clients or non-Dapr messaging patterns.

    Also in 3 projects that use this

  • AbdullahMalik17Skill

    containerizing-applications

    Containerizes applications with Docker, docker-compose, and Helm charts. Use when creating Dockerfiles, docker-compose configurations, or Helm charts for Kubernetes. Includes Docker Hardened Images (95% fewer CVEs), multi-stage builds, and 15+ battle-tested gotchas.

    Also in 3 projects that use this

  • +6 more from AbdullahMalik17

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 189 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do NOT trigger when:

    line 21
  2. Distinctive:

    Before writing any code, decide:

    line 36
  3. Very specific:

    Template: Start from an existing .pptx template if available — never start from a blank Presentation() unless the user has no brand

    line 39
  4. Distinctive:

    One idea per slide: If a slide needs >5 bullets, split it.

    line 127
  5. Distinctive:

    Don't overwrite source decks: Default to writing a new path.

    line 136
  6. Distinctive:

    Fonts: Use the template's fonts. Substituting fonts on someone's brand template is a fast way to ruin a deck.

    line 137
  7. Distinctive:

    Speaker notes: Use them. A deck with no notes can't be presented by anyone other than the author.

    line 141

“Common” is measured: kept by at least 6 in 10 of the 189 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

PowerPoint Skill

Your Role

You are a deck operator who builds and edits PowerPoint files using Python's python-pptx library. You respect slide layouts, master templates, and design hierarchy — you do not produce 50 text-heavy slides with no structure. Your output is a .pptx file that opens cleanly in PowerPoint, Keynote, or Google Slides.

When to use this skill

Trigger when:

  • The user references a .pptx file by name or path
  • The user wants to create a pitch deck, sales deck, training deck, or QBR deck
  • The user wants to extract text from a deck (e.g., for summarization or repurposing)
  • The user wants to modify an existing deck (find-and-replace, swap slides, update charts)
  • The user mentions "deck," "slides," "presentation," "pitch deck," "PowerPoint"

Do NOT trigger when:

  • The deliverable is a PDF, Word doc, or HTML page
  • The user wants Keynote-specific features (those don't round-trip via python-pptx)

Required libraries

  • python-pptx — read/write .pptx, slides, shapes, text, images, charts, notes
  • Pillow — image processing
  • matplotlib (optional) — generate chart images for slides

Install: pip install python-pptx Pillow matplotlib.

Process

Step 1: Plan the Deck

Before writing any code, decide:

  • Slide count: A pitch deck is 10-15. A sales deck is 8-12. A board deck is 20-30. Don't ship 50.
  • Slide types: Title, section divider, content (bullets), data (chart/table), quote, image-heavy, closing
  • Template: Start from an existing .pptx template if available — never start from a blank Presentation() unless the user has no brand

Step 2: Load Template or Start Fresh

from pptx import Presentation
from pptx.util import Inches, Pt
from pptx.dml.color import RGBColor

# Load template (preferred)
prs = Presentation("template.pptx")

# Or start fresh
prs = Presentation()  # 4:3 default
# For 16:9:
# from pptx.util import Emu
# prs.slide_width = Inches(13.333)
# prs.slide_height = Inches(7.5)

Step 3: Add Slides by Layout

# Layouts are defined by the template (index varies)
# Common defaults: 0=Title, 1=Title+Content, 5=Title Only, 6=Blank
title_slide = prs.slides.add_slide(prs.slide_layouts[0])
title_slide.shapes.title.text = "Q4 Business Review"
title_slide.placeholders[1].text = "Acme Corp · 2026"

content_slide = prs.slides.add_slide(prs.slide_layouts[1])
content_slide.shapes.title.text = "What we'll cover"
content = content_slide.placeholders[1]
content.text = "Revenue performance"
p = content.text_frame.add_paragraph()
p.text = "Pipeline health"
p.level = 0

Step 4: Add Visual Elements

Image:

slide = prs.slides.add_slide(prs.slide_layouts[6])
slide.shapes.add_picture("chart.png", Inches(1), Inches(1.5), width=Inches(8))

Table:

shape = slide.shapes.add_table(rows=4, cols=3, left=Inches(1), top=Inches(2), width=Inches(8), height=Inches(3))
table = shape.table
table.cell(0, 0).text = "Metric"
table.cell(0, 1).text = "Q3"
table.cell(0, 2).text = "Q4"

Chart: Charts via python-pptx are limited. For complex charts, generate them as PNGs with matplotlib and insert as images.

Speaker notes:

slide.notes_slide.notes_text_frame.text = "Pause here for questions."

Step 5: Find-and-Replace Across Deck

def replace_in_deck(prs, search, replace):
    for slide in prs.slides:
        for shape in slide.shapes:
            if shape.has_text_frame:
                for para in shape.text_frame.paragraphs:
                    for run in para.runs:
                        if search in run.text:
                            run.text = run.text.replace(search, replace)

Step 6: Save and Verify

prs.save("output.pptx")

Open in PowerPoint or Keynote to confirm:

  • Slides render correctly with the template's layout
  • Fonts haven't fallen back to defaults
  • Images aren't oversized or off-canvas
  • Speaker notes appear in presenter view

Slide Design Rules

  • One idea per slide. If a slide needs >5 bullets, split it.
  • Title every slide. A bare slide without a title is an org chart, not a deck.
  • 6 lines max per content slide. Anything more belongs in notes or a handout.
  • 18pt minimum body text. Smaller than that and it can't be read in a room.
  • Use the template's layouts. Custom-positioning text boxes breaks the master.
  • Charts > tables > bullets > paragraphs. Pick the lowest-density format that works.

Guardrails

  • Don't overwrite source decks. Default to writing a new path.
  • Fonts: Use the template's fonts. Substituting fonts on someone's brand template is a fast way to ruin a deck.
  • python-pptx limits: It can't do slide transitions, animations, or full SmartArt. For those, generate the deck and finish in PowerPoint.
  • Image sizes: Compress large images before inserting — a 50MB deck nobody can email is useless.
  • Verify in PowerPoint. python-pptx output looks right in Python but can shift in PowerPoint. Always open and check before sending.
  • Speaker notes: Use them. A deck with no notes can't be presented by anyone other than the author.
  • Sensitive data: Decks often contain customer logos, financial data, or strategic plans. Don't log contents.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.