# PPTX

> Extract text from Microsoft PowerPoint presentations

- Skill: `gabrielmoreira/pptx-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add gabrielmoreira/pptx-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gabrielmoreira/pptx-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- License: AGPL-3.0-or-later
- Author: gabrielmoreira (https://skillmd.com/u/gabrielmoreira)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/gabrielmoreira/pptx-2

---


# PPTX Skill

Extracts text from `.pptx` files using `python-pptx`. Each slide is rendered
as a titled section; speaker notes are appended when present.

## Setup

```bash
pip install python-pptx
```

## Standalone usage

```python
import asyncio
from synthadoc.skills.pptx.scripts.main import PptxSkill

skill = PptxSkill()

async def main():
    result = await skill.extract("/path/to/slides.pptx")
    print(result.text)      # slide titles + body text + speaker notes
    print(result.metadata)  # {"slides": N}

asyncio.run(main())
```

## When this skill is used

- Source path ends with `.pptx`
- User intent contains: `powerpoint`, `presentation`, `pptx`

