SkillsReviewed · Anthropic

PPTX skill (Anthropic)

An instruction skill from Anthropic's public skills repository that teaches an AI agent to create, edit and read PowerPoint (.pptx and .potx) files, aimed at people running agents with shell access; its main catch is that it assumes a prepared sandbox (Node, Python, LibreOffice, Poppler) and what is described here comes from reading the files, not running them. SKILL.md routes new decks to pptxgenjs, template or existing-deck edits to unzip-edit-rezip of the slide XML, and reading to markitdown, backed by bundled scripts for duplicating slides, removing orphaned parts, making thumbnail grids and validating the package.

Researched 12 Nov 2026

In short.

This is an instruction skill published in Anthropic's skills repository that tells an AI agent how to create, edit and read PowerPoint (.pptx and .potx) files; it suits developers and teams running agents with shell access, and its main catch is that it depends on a prepared sandbox (Node with pptxgenjs, Python with lxml and defusedxml, LibreOffice, Poppler) and nothing in it was run for this report. Technically, SKILL.md is a 20,782-byte playbook with three routes (pptxgenjs for new decks, unpack-edit-repack of slide XML for templates and existing decks, markitdown for reading), a long list of pptxgenjs pitfalls, design guidance and a mandatory content, file and visual QA loop. It is backed by Python scripts (add_slide.py, clean.py, thumbnail.py, validate.py, soffice.py), a validator layer that checks for a targeted set of faults PowerPoint refuses, and a large bundle of XML schema files. It is licensed under Apache-2.0, although the licence file names no copyright holder.

Researched and written by an AI model and checked by a second AI model. How it works

This report covers the complete pptx skill folder at [https://github.com/anthropics/skills/tree/main/skills/pptx], commit 2c5958ecac7cee2b583967a2c4981d0f4a75c579: SKILL.md, LICENSE.txt, 15 Python scripts and validators, and 39 bundled XML schema files (56 files in total). The repository-level THIRD_PARTY_NOTICES.md was read as an additional related notice but lies outside the folder, is not counted among those 56 files, and does not map components to skills. Other folders in the repository and any linked pages are not covered. No script or instruction was executed, no dependency was installed and no deck was generated, so runtime behaviour, PowerPoint compatibility claims, costs of the host platform and the upstream terms of bundled schemas are untested or unknown.

The overview

Identity

The resource is the folder skills/pptx in the anthropics/skills repository on GitHub [https://github.com/anthropics/skills/tree/main/skills/pptx], read at commit 2c5958ecac7cee2b583967a2c4981d0f4a75c579. SKILL.md starts with frontmatter giving name: pptx, a long description and license: Complete terms in LICENSE.txt. The description tells the agent to use the skill any time a .pptx or .potx file is involved, whether as input, output or both, including pure text extraction, and to trigger whenever the user mentions a deck, slides, a presentation or a .pptx or .potx filename.

According to the captured manifest the selected folder holds 56 files: SKILL.md, LICENSE.txt, 15 Python files (an empty scripts/__init__.py, add_slide.py, clean.py and thumbnail.py in scripts; soffice.py and validate.py in scripts/office; four helper modules; five validator modules) and 39 XML schema files (27 under the ISO-IEC29500-4_2016 folder, including the XML namespace schema xml.xsd, 4 ECMA packaging schemas, 1 markup-compatibility schema and 7 Microsoft Word extension schemas). The biggest are sml.xsd at 242,277 bytes, wml.xsd at 171,367 bytes and dml-main.xsd at 152,039 bytes. There is no version number, changelog, README or test directory in the folder. The publisher is indicated only by the repository owner in the web address. SKILL.md and LICENSE.txt do not identify the skill's own copyright holder; the repository-level THIRD_PARTY_NOTICES.md, which sits outside the folder and is additional to these 56 files, names copyright holders only for the third-party components it lists.

Assessment

On reading alone, this is a well-built and unusually specific skill. Its pptxgenjs section is a list of concrete failure modes (hex colours with a hash or eight digits corrupt the file, a negative shadow offset corrupts the file, outEnd data labels on stacked bar charts corrupt the file, secondary chart axes need both valAxes and catAxes) rather than generic advice, and several of those warnings are encoded again as code in the validator layer. It also makes quality assurance mandatory: text dump and placeholder grep, schema and package validation, and rendering every slide to an image for inspection.

The weaknesses are mostly about fit and portability. It is tightly coupled to a sandbox that already has pptxgenjs, LibreOffice and Poppler, it carries a lot of Word and Excel material that a PowerPoint task does not need, its validator is deliberately a denylist so a pass does not prove PowerPoint will open the file, and its design rules are opinionated and may clash with a brand template. There are no tests in the folder and no version history in the captured files. I would call it a strong candidate for agent setups that match its assumptions, and a starting point that needs adaptation for everything else. None of this behaviour was observed by running it.

Users

The natural users are developers and teams who run an AI agent that can execute shell commands and read and write files, and who want that agent to produce or modify PowerPoint decks: pitch decks, reports, decks built from a company .potx template, or batch text extraction from existing decks. Every workflow in SKILL.md is a command-line step, so the agent, not the person, does the typing. A beginner therefore needs to be able to prepare the environment but not to use pptxgenjs or OOXML directly. An experienced developer can also read the validators and the gotcha list as a compact reference of PowerPoint-fatal XML mistakes.

It is a poor fit for chat-only assistants with no code execution, for people working mainly in Keynote or Google Slides, and for work that centres on animations, transitions or accessibility checks, because SKILL.md gives no guidance on those. Legacy .ppt files are only handled by converting them to .pptx first with LibreOffice. Macro-enabled or slide-show formats are not mentioned.

Capabilities

SKILL.md opens with a routing table. Creating a deck means writing a pptxgenjs script. Editing an existing deck, or building from a template, means unzipping, editing ppt/slides/slideN.xml and zipping again. Reading means running markitdown, which prints one block per slide under slide-number markers, or building a labelled grid of slide images with scripts/thumbnail.py. The pptxgenjs section lists about twenty pitfalls, among them the default 16x9 canvas being 10 by 5.625 inches, letterSpacing being ignored in favour of charSpacing, no gradient fills, one pptxgen instance per output file, speaker notes through addNotes, keeping charts native, and a recipe for icons (react-icons to SVG, rasterised with sharp at 256 pixels or more, inserted as a base64 PNG).

The template-editing section adds rules such as choosing layouts from a thumbnail grid first, doing all adding, deleting and reordering of slides before editing any slide content, deleting a whole group when a template has more slots than you have items, one paragraph element per list item, and parsing with defusedxml.minidom rather than ElementTree. The design section gives ten named colour palettes, a typography table (title 36 to 44 pt, body 14 to 16 pt, captions 10 to 12 pt), a list of fonts that render truthfully in the LibreOffice preview (Arial, Calibri, Cambria, Times New Roman, Courier New, Bookman Old Style, Century Schoolbook), spacing minimums and a long avoid list. The scripts add slide duplication, orphan clean-up, thumbnail grids, package validation and a LibreOffice wrapper.

Using it

Requirements

SKILL.md's Dependencies line names pptxgenjs (npm, described as preinstalled), markitdown with the pptx extra, Pillow, defusedxml and lxml (pip), LibreOffice and pdftoppm from Poppler. The pitfalls section adds react-icons, react, react-dom and sharp for the icon recipe, also described as preinstalled. validate.py uses a match statement, so Python 3.10 or newer is implied by the code even though no version is stated. The edit recipe also calls the zip command-line tool, which the Dependencies line does not list. soffice.py needs gcc only in the case where creating a Unix-domain socket is blocked, and the Word redlining validator calls git for a text diff, which a PowerPoint task does not reach.

The environment assumptions are strong. SKILL.md says do not run npm install first because pptxgenjs is preinstalled, and that bare soffice hangs in this sandbox. Outside such a sandbox you must provision these yourself. The soffice shim uses LD_PRELOAD, which is Linux behaviour. Which agent products can load a folder in this format is not stated in the captured files, and I have not assumed one. The cost and licence of the host product are not in the evidence. Of the third-party tools, only Pillow's terms were captured: the repository-level THIRD_PARTY_NOTICES.md reproduces the MIT-CMU (HPND) licence for Pillow 11.3.0, though it does not tie that version to this skill or to whatever Pillow you install. Licence terms for pptxgenjs, markitdown, defusedxml, lxml, react-icons, react, react-dom, sharp, LibreOffice, Poppler, zip, gcc and git were not captured and remain unknown.

Mechanism

The skill is not a program; it is text that an agent reads and then acts on by running tools. The description in the frontmatter is written to be matched against user requests, and the body then walks the agent through one of three routes. The scripts are small helpers the agent calls. add_slide.py duplicates a slide or instantiates a layout and performs the package bookkeeping: it writes the new slide part and its relationships (dropping any notesSlide relationship so speaker notes are not shared), registers the content type, adds a slide relationship with a fresh rId and inserts a sldId with a fresh id into the slide list, either at the end or after a named slide. It works on an unpacked folder or directly on a .pptx or .potx, and without -o it rewrites the input file. Charts, diagram data and embedded objects are referenced from the copy, not duplicated, so editing one slide's chart changes both.

clean.py removes slides not listed in the slide list, a trash folder, orphaned relationship files, and unreferenced media, embeddings, charts, diagrams, tags, drawings, ink, themes and notes slides, then drops their content-type overrides. It refuses to delete anything if no relationship resolves to a part, or if the slide list names slides but none on disk match. thumbnail.py accepts only .pptx input, converts it to PDF through LibreOffice, rasterises with pdftoppm at 100 dpi, and builds labelled grids of 300-pixel-wide thumbnails (3 columns by default, at most 6). Hidden slides are handled in two ways: if LibreOffice omits them from the PDF, the script inserts a grey crossed-out placeholder labelled hidden; if LibreOffice renders every slide, the real images are kept and the hidden ones are labelled hidden. If the page count matches neither case, it stops with an error rather than mislabel. Each grid holds at most cols × (cols + 1) slides, which is 12 at the default three columns; larger decks are split into numbered files, so SKILL.md's wording about splitting past 12 slides holds only for the default column count.

validate.py unpacks a packed file to a temporary folder and, for a pptx, checks well-formed XML, that namespace prefixes named in mc:Ignorable are declared, unique ids, UUID-shaped ids, broken or unreferenced relationship targets, slide layout ids, content types, XSD conformance, notes slides referenced by more than one slide, relationship id references, multiple slideLayout relationships in an existing slide relationships file (which it rejects), master theme sharing, and chart and slide checks. The XSD step has material exclusions in base.py and pptx.py. Files that do not map to a bundled schema are skipped; in this validator that includes individual slide, layout, master and notes parts and chart parts, while presentation.xml, theme parts, content types, relationship files and document-property files are mapped. Before validation the mc:Ignorable attribute is dropped and, for files under the word, ppt or xl folders, attributes and elements whose namespace is outside the validator's OOXML allowlist are removed. Errors whose text contains hyphenationZone or purl.org/dc/terms are suppressed even without --original, and with --original only errors that are new compared with the template are reported.

The chart and slide checks are targeted: the chart code looks only for outEnd labels on stacked bars and chart groups pointing at undeclared axes, and the slide code, applied to slide, layout, master, notes and handout parts, is a denylist of seven schema-error classes PowerPoint refuses, with a comment that an unrecognised error class is a miss rather than a false alarm. It also moves notesMasterIdLst in memory before schema checks, because the layout SKILL.md says pptxgenjs writes (after the slide list) is what PowerPoint accepts. With --auto-repair it edits the input file in place. Passing these checks does not establish that PowerPoint will open the file.

Setup

How to register the folder with a particular agent product is not described in the captured files, so that step is unknown and depends on your host. Keep the folder structure intact: the scripts use relative paths from the skill directory, thumbnail.py, add_slide.py and clean.py import from office.helpers, and validate.py imports helpers and validators from its own folder, so moving single scripts will break imports.

Follow SKILL.md's conditional installation rules. It expects pptxgenjs to be preinstalled: the agent should write its script with require('pptxgenjs') directly and run npm install pptxgenjs only if that require fails. The icon recipe likewise expects react-icons, react, react-dom and sharp to be present, and SKILL.md says to run npm install react-icons react react-dom sharp only if a require fails; these packages matter only when that recipe is used. Outside the sandbox the skill assumes, a require may fail, in which case that fallback applies. The Python packages are listed without a condition: markitdown[pptx], Pillow, defusedxml and lxml from pip. LibreOffice (with soffice available), Poppler's pdftoppm and a zip utility come from your operating system, and the evidence does not say how to install them. Use scripts/office/soffice.py instead of calling soffice directly, as SKILL.md advises. A sensible first step is to try it on a throwaway deck in a disposable environment and open the result in real PowerPoint.

Example

Illustrative only, assembled from SKILL.md and not run. Suppose you ask an agent to fill a company template with a quarterly update. The agent first runs python scripts/thumbnail.py template.pptx template-thumbs to see which layouts exist, then unpacks the template with the Python zipfile one-liner into a folder called unpacked. It duplicates a content slide with python scripts/add_slide.py unpacked/ slide2.xml --after slide2.xml, which prints the path of the new slide, finishes any deletions and reordering in presentation.xml, runs python scripts/clean.py unpacked/, and only then edits the text in the slide XML, one a:p per bullet.

It repacks from inside the folder with (cd unpacked && rm -f ../out.pptx && zip -Xr ../out.pptx .), deleting any existing out.pptx first because SKILL.md warns that zipping into an existing archive lets deleted parts survive; writing to a fresh output filename avoids the same problem. It then runs python scripts/office/validate.py out.pptx --original template.pptx, runs markitdown out.pptx and greps for lorem, TODO or leftover placeholder text.

For visual QA it converts with python scripts/office/soffice.py --headless --convert-to pdf out.pptx, clears stale images from earlier runs with rm -f slide-*.jpg, renders with pdftoppm -jpeg -r 150 out.pdf slide, lists the absolute image paths with ls, and looks at each slide image for overflow, overlaps and low contrast. If it fixes anything, it repacks again (deleting the old out.pptx first), reruns all four render commands so the PDF and images are regenerated from the edited deck, and inspects the updated renders before reporting back.

Assessment & evidence

Limitations

Everything here is based on reading; no script or instruction was executed. The statements about what corrupts a file in PowerPoint, how pptxgenjs behaves and how LibreOffice renders are the skill author's claims, mirrored in the validator code, but not independently verified. pptxgenjs is not version-pinned, so those claims may drift. The visual QA loop uses LibreOffice, and SKILL.md itself says its font substitutions differ from PowerPoint, so a clean preview is not proof of how the deck looks in PowerPoint.

The validators are intentionally partial. Chart parts get only two targeted checks and are not XSD-validated, and slide-family parts (slides, layouts, masters and notes) are checked only against a seven-item denylist; SKILL.md itself says pptxgenjs emits chart XML that PowerPoint refuses but the schema accepts. The general XSD step skips files that do not map to a bundled schema, removes attributes and elements outside its namespace allowlist from files under the word, ppt and xl folders before validating, and suppresses errors containing hyphenationZone or purl.org/dc/terms even without --original. Passing validate.py therefore does not establish that PowerPoint will open the file. validate.py reports that it does no schema validation for xlsx files and points to scripts/recalc.py, which is not in this folder. The folder also carries Word validators, a redlining checker and Word and Spreadsheet schemas that a PowerPoint task does not use, which adds weight and surface area.

Safety points not addressed in SKILL.md: text extracted from decks is untrusted content that an agent might follow, and nothing tells the agent to treat it as data. soffice.py, only when Unix-domain sockets are blocked, writes C source to the temporary directory, compiles it with gcc and loads the result through LD_PRELOAD; it reuses a file at the fixed path lo_socket_shim.so in the temporary directory without checking it, so a stale or planted file there would be loaded. safe_extract rejects symlink entries and paths that escape the target, but I saw no limit on decompressed size. clean.py and --auto-repair modify files in place, so work on copies. Design rules such as no accent lines or colour bars may conflict with an existing brand template.

Reasoning

I am confident about what the folder contains and says, because SKILL.md and all the scripts were read in full. Cross-checking the prose against the code shows that the documented warnings correspond to the captured implementation: the stacked-bar label and undeclared-axis warnings in SKILL.md match the two chart checks, the warning about moving notesMasterIdLst matches the theme-sharing check and the in-memory reordering, the note that thumbnail.py takes only .pptx matches its suffix test, and the warning to pass -o to add_slide.py matches its default of rewriting the input. The instructions are internally consistent at the captured revision; ongoing maintenance is unknown, and that consistency does not make them correct for every PowerPoint version.

I am much less confident about runtime behaviour, portability outside the intended sandbox, and the rights position for bundled schemas, which is why those are flagged as unknown rather than guessed. The licence, the absence of deprecation signals and the depth of the guidance are what make this worth recommending to the right audience.

Alternatives

The evidence does not compare this skill with other tools, so these are general options, not ranked ones. You can use pptxgenjs directly without the skill's guidance; the skill's value is largely its list of pitfalls and the QA loop. You can use python-pptx for editing, but SKILL.md warns it cannot duplicate a slide, collapses run formatting when you assign text_frame.text, and cannot read the SVG or EMF art that many templates use. LibreOffice headless conversion is already part of this skill's render step. Doing the work by hand in PowerPoint avoids tooling but not the effort.

validate.py's message about scripts/recalc.py suggests sibling skills for other Office formats exist in the same repository; they were not examined here. If you only need text extraction, the markitdown command that SKILL.md recommends is a far lighter dependency than the whole skill.

Evidence

The report rests on SKILL.md (evidence_cf986900-63ab-41db-b4d5-94ddf858b129), LICENSE.txt (evidence_30b6c44e-ce4c-43da-809e-286a62205b50), the scripts add_slide.py, clean.py, thumbnail.py, soffice.py and validate.py, the helpers (helpers/__init__.py, pptx_chart.py, pptx_slide.py, pptx_theme.py), the validators (base.py, pptx.py, docx.py, redlining.py) and the repository-level THIRD_PARTY_NOTICES.md (evidence_af451629-7281-4b50-bc7b-194ea4f2208a). The XML schema files, including pml.xsd (evidence_d0b04a3b-18f5-4ead-8635-d4eddd3c3bef), dml-chart.xsd (evidence_76863ca7-42be-4718-8a2e-a3765b62cbc7), mc.xsd and opc-coreProperties.xsd, were treated as bundled data: their presence and role are established, but their agreement with the published standards was not checked.

The limits are that nothing was executed, no third-party package or tool was installed, and no output deck was inspected. Counts, sizes and file names come from the captured manifest; costs, host-platform support and upstream terms for third-party schemas are not in the evidence.

Access & freshness

Costs

No acquisition price is stated; acquisition and operating costs are unknown. Apache-2.0 grants no-charge licence permissions but does not establish a distribution price. Likely operating costs lie elsewhere and none are quantified in the evidence: model usage for an agent that reads a 20,782-byte SKILL.md and then writes scripts and XML, compute and time for LibreOffice conversions and 150 dpi renders on every QA pass, and disk space for unpacked decks and images.

The price of the agent platform that hosts the skill is unknown. The licences and any fees of the third-party tools it relies on (LibreOffice, Poppler, markitdown, pptxgenjs, sharp, react-icons, lxml, defusedxml) are not established by the evidence and were not assessed.

Rights

LICENSE.txt is the standard Apache License 2.0 text, and SKILL.md's frontmatter points to it with the words Complete terms in LICENSE.txt. Apache-2.0 allows you to use, modify and redistribute the work, including commercially, provided you give recipients a copy of the licence, mark files you changed, keep existing notices, and carry over the contents of a NOTICE file if one exists (none is in this folder). It includes a patent licence that ends for a party who sues over patent infringement in the work, gives no trademark rights, and provides the work as is. The licence text does not address who owns the decks you produce with the skill.

Two gaps matter. First, the licence appendix still reads Copyright [yyyy] [name of copyright owner], and none of the scripts carries a copyright line, so SKILL.md and LICENSE.txt do not identify the skill's own copyright holder. Second, the folder bundles XML schema files for ISO/IEC 29500, the ECMA packaging schemas and Microsoft Word extension schemas, and mc.xsd says it is a modified version of a file from the docx4j project. No upstream terms for these are stated in the evidence, so I cannot confirm the licensor's rights over them. The repository-level THIRD_PARTY_NOTICES.md lists imageio and imageio-ffmpeg (BSD 2-Clause), FFmpeg 7.0.2 (GPL v3), Pillow 11.3.0 (MIT-CMU) and many OFL fonts with their copyright holders, but it does not say which skill uses which component. In this folder only Pillow is imported (by thumbnail.py), and it is installed separately, not bundled. No FFmpeg use is visible in these scripts; thumbnail.py uses Pillow's default font for labels. Use of the notice-listed OFL fonts is unknown.

Freshness

The files were captured on 2026-11-12 at commit 2c5958ecac7cee2b583967a2c4981d0f4a75c579. The folder has no version string, release notes or dated changelog, and the commit date is not in the evidence, so how recently the guidance was revised, whether it is actively maintained and its update cadence are all unknown. Nothing in the files marks the skill as deprecated or replaced. SKILL.md describes Aptos as Office's post-2023 default font, which does not date the captured revision. The repository-level notice records imageio 2.37.0, imageio-ffmpeg 0.6.0, FFmpeg 7.0.2 and Pillow 11.3.0; those component versions do not establish when this skill was updated.

Because pptxgenjs, markitdown, LibreOffice and PowerPoint itself are not version-pinned, the pitfalls and rendering advice can go stale without the folder changing. Pin your own copy to the commit hash and re-test after upgrading any of those tools.

Actions

Before adopting it: confirm your agent platform loads skill folders in this format and where they go; prepare a disposable sandbox with Node, Python 3.10 or newer, the pip packages, pptxgenjs (and, if you use the icon recipe, the icon packages), LibreOffice, Poppler and zip; run one create task and one template-edit task on non-sensitive material; and open the outputs in real PowerPoint. Work on copies of originals, since clean.py and validate.py --auto-repair modify files in place.

For security-sensitive use, read soffice.py before allowing it to compile and preload code, make sure no stale lo_socket_shim.so sits in the shared temporary directory, and consider telling the agent that text from input decks is data, not instructions. If you redistribute or modify the folder, keep LICENSE.txt, mark changed files as Apache-2.0 requires, and check the upstream terms of the bundled schema files yourself. Pin to a commit hash and re-check the repository periodically.

Evidence for this report

THIRD_PARTY_NOTICES.mdnotice · checked 2026-11-12
skills/pptx/LICENSE.txtnotice · checked 2026-11-12
skills/pptx/SKILL.mdselected · checked 2026-11-12
skills/pptx/scripts/__init__.pyselected · checked 2026-11-12
skills/pptx/scripts/add_slide.pyselected · checked 2026-11-12
skills/pptx/scripts/clean.pyselected · checked 2026-11-12
skills/pptx/scripts/office/schemas/mce/mc.xsdselected · checked 2026-11-12
skills/pptx/scripts/office/soffice.pyselected · checked 2026-11-12
skills/pptx/scripts/office/validate.pyselected · checked 2026-11-12
skills/pptx/scripts/office/validators/base.pyselected · checked 2026-11-12
skills/pptx/scripts/office/validators/docx.pyselected · checked 2026-11-12
skills/pptx/scripts/office/validators/pptx.pyselected · checked 2026-11-12
skills/pptx/scripts/thumbnail.pyselected · checked 2026-11-12