pptx
What it does
This skill works with PowerPoint presentations, from reading slide text to building a new deck from a brief. It is for people who need slides made or updated in the PowerPoint format.
When to use it
- ✓When you need a PowerPoint file created from a brief or outline.
- ✓When you need to update an existing deck while keeping its template.
- ✓When you need the text and speaker notes pulled out of a .pptx file.
Skill link
https://github.com/TokenRhythm/opensquilla/blob/main/src/opensquilla/skills/bundled/pptx/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you turn this outline into a ten-slide PowerPoint deck using our company template?”
5 new skills a week. 1 minute to read.
How it works
The agent builds the deck in the workspace using the template's layouts, then reviews the slides and publishes the finished file. If the session cannot create files, the agent says so instead of pasting code.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
pptx
Work with PowerPoint .pptx decks. The pptx file format is OOXML — a zip
container holding XML descriptions of slides, layouts, masters, and media.
Delivery rule
First, use the available tool list for this session to choose the delivery path.
If write_file, edit_file, apply_patch, or execute_code is available:
- Build the
.pptxin the active workspace using the paths below. - Call
publish_artifactfor the final.pptxbefore your final reply when that tool is available. - The code examples later in this document apply.
In restricted channels, run the inline Python examples with execute_code
and save workspace-relative files before calling publish_artifact. Shell,
Node, and LibreOffice commands require the corresponding exposed tool and
runtime. Do not use Python subprocesses to bypass an unavailable shell tool,
and do not retry generation on the host when sandbox execution fails.
If none of those file-authoring tools are available:
- Do not attempt to generate, save, or modify the
.pptx. - Do not paste OOXML, Python, JavaScript, HTML, or other source as a substitute for sending the deck.
- Ignore the Path B, Path C, and Visual QA sections below; they do not apply when file authoring is unavailable.
- Reply plainly: explain that the current session cannot create files, and
offer to publish an existing
.pptxby path, describe the slide contents in text, or continue in a file-authoring surface such as the OpenSquilla Web UI.
In all cases, do not paste full file source as the deliverable. Source code is appropriate only when the user explicitly asks for code.
Decide the path first
Pick one of three paths up front; do not mix them. The right path depends only on what is on disk before you start.
| You have | Goal | Path |
|---|---|---|
Existing .pptx |
Read text only | A. Read |
Existing .pptx |
Modify content while keeping the design | B. Edit-in-place |
| Nothing, or a brief | Build a new deck | C. Create from scratch |
If the user hands you a deck and asks for changes, default to path B and treat the input deck as the visual style baseline. Only fall back to path C when the user explicitly says "start fresh" or there is no input deck.
Path A: Read text from a .pptx
When shell execution is available, use the helper script. It walks slides via
the python-pptx public API and prints text grouped by slide. With
execute_code, use the inline Python example instead.
python {baseDir}/scripts/extract_text.py /path/to/deck.pptx
python {baseDir}/scripts/extract_text.py /path/to/deck.pptx --json
For programmatic use, call python-pptx directly:
from pptx import Presentation
prs = Presentation("deck.pptx")
for i, slide in enumerate(prs.slides, 1):
for shape in slide.shapes:
if shape.has_text_frame:
for para in shape.text_frame.paragraphs:
print(i, "".join(run.text for run in para.runs))
If markitdown is available, it gives a faster Markdown rendering:
python -m markitdown deck.pptx
Path B: Edit an existing deck
Two sub-strategies; pick by how invasive the edit is.
B1. Text-only edits (preferred)
When the change is "swap this string for that one" or "fill these placeholders": use python-pptx to mutate runs in place. This preserves all theme/master/font settings.
from pptx import Presentation
prs = Presentation("input.pptx")
slide = prs.slides[0]
for shape in slide.shapes:
if not shape.has_text_frame:
continue
for para in shape.text_frame.paragraphs:
for run in para.runs:
if run.text == "{{TITLE}}":
run.text = "Q3 Review"
prs.save("output.pptx")
Edit at the run level, not the paragraph level — replacing whole paragraph
text drops formatting. If a placeholder spans multiple runs (often happens
when the original template had partial bold/italic), concatenate the runs into
the first run and clear the others.
B2. Structural edits (add/remove/reorder slides, change layouts)
python-pptx's slide-level mutation is limited (no public reorder API). For
structural work, unzip the .pptx, patch ppt/presentation.xml and the
slide files, and repack:
mkdir _unpacked && (cd _unpacked && unzip -q ../input.pptx)
# edit _unpacked/ppt/presentation.xml (sldIdLst order)
# edit _unpacked/ppt/slides/slideN.xml content
(cd _unpacked && zip -q -r ../output.pptx . -x "*.DS_Store")
Rules
FAQ
What if the session cannot create files?
The skill says the agent should explain the limitation and offer to work with an existing file instead.
Does it keep my template?
Yes. The skill is built to preserve the template and its layouts when editing.
Can it read speaker notes?
Yes. The skill covers extracting text and speaker notes from a deck.
Details
Original description by the author
Read, inspect, edit, or create PowerPoint `.pptx` presentations, including text extraction, template-preserving changes, slide review, and generation from a brief.
repo: TokenRhythm/opensquilla
Popularity
- GitHub stars
- 7.1k
- Ranking position
- #13591
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
browser-use
7.1kLets your agent open, read and operate web pages in the OpenSquilla Desktop sidebar browser, including forms and visual checks.
deep-research
7.1kTeaches your agent to run multi-round research with a saved plan, tracked sources and a long report with citations.
docx
7.1kHelps your agent read, edit or create Word .docx files while keeping formatting, tracked changes and structure intact.
html-coder
7.1kHelps your agent write clean, semantic HTML pages with accessible forms, media and HTML5 features, and open them as a web preview.
Similar skills
feishu-doc
394kHelps your agent read, create, and edit Feishu cloud documents, including text, images, and tables, using the document tool.
feishu-drive
394kLets your agent browse, organize, and comment on files in a Feishu cloud folder that has been shared with the bot.
feishu-perm
394kHelps your agent check and change who can access a Feishu file, choosing the smallest permission that meets your request.