Skip to content
Back to skills

Open Pptx

ASecurity

Create, read and edit PowerPoint (.pptx) files with python-pptx. Use for any .pptx request, for example a deck to build, or an existing presentation to read or change.

  • 27 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 26, 2026
ai-agentspython

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 26, 2026

npx -y skills add pymc-labs/daimon --skill open-pptx --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Open Pptx?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Open Pptx
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pymc-labs-open-pptx/badge)](https://www.skillsdirectory.com/skills/pymc-labs-open-pptx)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: open-pptx
description: Create, read and edit PowerPoint (.pptx) files with python-pptx. Use for any .pptx request, for example a deck to build, or an existing presentation to read or change.
---

# PowerPoint decks

Use `python-pptx` (`from pptx import Presentation`), installed in the sandbox. If the
import fails and `pip install python-pptx` has no network, say the library is missing.

## Read

```python
from pptx import Presentation
prs = Presentation("in.pptx")
for i, slide in enumerate(prs.slides, 1):
    for shape in slide.shapes:
        if shape.has_text_frame: print(i, shape.text_frame.text)
    if slide.has_notes_slide: print(i, "notes:", slide.notes_slide.notes_text_frame.text)
```

## Create

Start from `Presentation()` (or the user's template) and use its layouts:
`prs.slides.add_slide(prs.slide_layouts[1])`, then fill `slide.shapes.title` and
`slide.placeholders[1]`. Add pictures with `slide.shapes.add_picture(path, left,
top, width=Inches(6))` and charts with `slide.shapes.add_chart`. One idea per
slide, short text, charts made with matplotlib and inserted as images when a
native chart is not needed. Save with `prs.save("out.pptx")`.

## Edit

Change `run.text` inside existing text frames to keep formatting. Reorder or
delete slides through `prs.slides._sldIdLst`.

## Check

Reopen the file and list each slide's text. When LibreOffice exists, render with
`soffice --headless --convert-to pdf out.pptx` and look at the pages for text
that overflows its box.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.