pptx

Create, read and edit PowerPoint decks (.pptx): text, tables, images and charts.

pptx is for people who present: it turns a document into slides with one point per page. It handles layout, masters and charts, but not content strategy — write the document first if the outline is not clear.

Office documentsagents 2Proprietary (Anthropic) index only Scan upstream repo ↗

Upstream:anthropics/skills · ★ 201701 · last commit 2026-11-16 (12d)

What it is

The full path for a .pptx/.potx file: create one, rebuild one from a template, or read text out of one. For people and agents that produce or revise decks by script or from a template. It covers .pptx/.potx only, not other document formats.

Core workflow

StageContent
TriggerAny .pptx/.potx as input or output; the user says deck, slides, presentation, or names a .pptx/.potx file
InputThe task, plus an existing deck/template file, or a request to build a new one
StepsPick the path first: create → write a pptxgenjs script; rebuild a template → unpack → edit ppt/slides/slideN.xml → zip; read → slide_text.py or thumbnail.py. Run office/validate.py after generating
OutputThe new or edited .pptx; or per-slide markdown, a thumbnail grid, a validation report
BoundaryFix faults in the generator, not by hand-editing the packed XML; no gradient fills; the default canvas is 10"×5.625" and out-of-range coordinates are written, they just are not on the slide

Getting started: Set pres.layout before adding slides, then run validate.py right after writeFile().

Traits

  • Three separate paths: create with pptxgenjs, edit by unpacking and editing XML, read with slide_text.py (titles, body text, tables, chart data, picture alt text, speaker notes)
  • Scripts carry the package bookkeeping: add_slide.py duplicates a slide, clean.py drops unreferenced slides/media/rels, validate.py names the fix for each failure
  • The file-corrupting footguns are listed explicitly: # or 8-digit hex colors, a negative shadow offset, outEnd on stacked charts, combo charts missing valAxes/catAxes
  • Accessibility is mandatory: addText without a placeholder needs isTextBox: true; speaker notes go in slide.addNotes(), never in a text box

Who it is for and who it is not for

Good fitPoor fit
Scripted, bulk deck production or template-based rebuildsPage-by-page hand layout work
Editing content inside an existing template and layout setTalking about a deck without touching a file
Extracting text, tables and chart data from an existing .pptx.docx/.xlsx and other formats

How it differs

NeedUse
Apply one palette and font pairing to a finished deckanthropics-skills-theme-factory
Check the grammar, logic and flow of the copyphuryn-pm-skills-pm-toolkit-grammar-check
Read or write Word or Excel filesappautomaton-document-skills-docx / appautomaton-document-skills-xlsx

Source-level risks

RiskSourceImpact
pptxgenjs mutates option objects in place and one instance must not be reusedSKILL.md “Creating with pptxgenjs — gotchas”A shared shadow/options object or a reused instance writes a broken file
Bare soffice hangs in this sandboxSKILL.md “Scripts”, soffice.py rowPDF conversion stalls; use the scripts/office/soffice.py wrapper
A template’s own XSD errors read as yoursSKILL.md “Scripts”, validate.py --original rowFalse failures on template-derived decks; pass --original as the baseline

Go to upstream repository ↗

Example: input and output

Input

Turn this product brief into a 10-slide deck: one point per slide, action items last.

Output

Writes deck.pptx: 10 slides, consistent master, ≤5 bullets per slide, last slide with next steps and owners.

Check: titles are claims, not nouns; data slides cite sources.

FAQ

Do I need PowerPoint?

No; LibreOffice or python-pptx can generate .pptx.

Can it use a company template?

Yes — start from the template and replace text and charts.

Do charts update with the data?

Not automatically; regenerate or edit them when numbers change.

Common tasks

CategoryOffice documents
Version—
Agent supportClaude Code, Generic (reads SKILL.md)
OSmacOS / Linux / Windows
DependenciesPython runtime、python-pptx、LibreOffice (rendering)
Environmentfile read/write
Scriptsnone
LicenseProprietary (Anthropic)
Sourceanthropics/skills ↗
Verificationto verify (check upstream before installing)
Get itGo to upstream · gh-proxy · jsDelivr

"Generic (agents that read SKILL.md)" means any agent that discovers and loads SKILL.md; support level (auto-discovery, manual config, script execution) varies by agent.

This entry isn't hosted here (license or size); use the accelerated mirror above or the upstream repo.

Install

This is an index entry: install it from the upstream repository using its instructions.

Skills directory example: ~/.claude/skills/ for Claude Code; other agents use wherever SKILL.md is discovered.