PPTX
Create or edit PowerPoint files with separate workflows for new decks, templates, and validation.
npx skills add anthropics/skills --skill pptx What it does
Creating slides from a brief and editing an existing presentation require different tooling. The PPTX skill provides separate workflows so an agent can preserve an existing deck or construct a new one deliberately.
What changes after install
- Routes new presentation creation through pptxgenjs and existing-file editing through the document package.
- Includes helpers for reading slide content, rendering thumbnails, and validating structure.
- Requires content, file, and visual review before treating a deck as finished.
Install
Run this command with Node.js 22.20 or later and select your agent in the Skills CLI.
npx skills add anthropics/skills --skill pptx Before using PPTX
- For new slides, make pptxgenjs available in Node.js. The Python helpers use python-pptx, Pillow, defusedxml and lxml.
- Visual inspection uses LibreOffice to convert the deck and Poppler to render page images; include the upstream scripts with the skill.
Read the reviewed setup instructions for the selected workflow.
When to use it
- Building a new PowerPoint presentation from an outline and supplied facts.
- Editing an existing PPTX or working from a PowerPoint template.
When not to use it
- Assuming a structurally valid file has readable layouts or accurate facts.
A worked example
Attach last quarter’s board deck and the approved replacement figures. Ask: “Update the three quarterly-results slides, retain the existing theme, and leave the other slides unchanged.” Suppose the revenue slide shows 4.8 million, the replacement sheet says 5.1 million, and a later historical chart still correctly shows 4.8. Supply the period and units with each replacement. A search for the old number alone cannot identify the right chart.
- Read the original with
python scripts/slide_text.py board.pptxfrom the skill directory. Locate the three slides by title and period. Read their speaker notes too: a subtitle might already refer to the new quarter while the talking points still describe the old one. List the requested changes beside the slide titles before opening the package. - Generate a thumbnail grid of the original with a distinct prefix. Use it to match the results slide to its neighbors and identify the chart, table or callout that carries each value. A slide number from last quarter’s meeting agenda may refer to a different slide in the supplied version. Check the title and surrounding slides before editing.
- Unpack a working copy. Follow the presentation’s slide list to the relevant slide parts and the chart relationships where applicable. Change the requested values in the editable objects and revise the corresponding period labels. Keep a native chart editable. Replacing the plotted graphic with a screenshot would prevent the board secretary from editing its data next quarter.
- Repack the result under a new name. Run
python scripts/office/validate.py board-review.pptx --original board.pptx. Extract the result’s text again and compare the three slide blocks with the approved figures. For a scatter chart, the extraction helper reports series names only; open its data in PowerPoint to inspect the values. - Render the updated deck and inspect the three slides at reading size. In particular, look at the rightmost chart label and the space between the new period heading and its underline. A longer quarter label can force a line break even when the revised values fit comfortably in their cells.
Upstream instructions: SKILL.md.
Troubleshooting
- Both thumbnail grids show the revised deck. The thumbnail helper uses the same default output name. Generate the original and revised grids again with different prefixes. Compare their slide counts and neighboring titles before using either grid to locate a discrepancy.
- Validation reports a problem that was already in the template. Supply the untouched deck with
--originalto compare schema errors against the baseline. Read relationship and chart errors individually. Those checks can still identify a broken reference in the delivered presentation even when the source had an unrelated schema warning. - The slide image still shows the old quarter after a second edit. Make a fresh PDF from the revised PowerPoint and render its pages into a separate output directory. Check which PDF supplied the image under review. Enlarging a stale thumbnail can send you back to fix a text box that has already changed.
How it chooses an approach
For a new presentation, the guide uses pptxgenjs. For an existing deck, it describes editing the PowerPoint package so its masters, layouts and notes travel with the slides. Ask which decisions the recipient expects to retain. A written outline leaves slide dimensions and visual hierarchy open. An approved board template usually settles both before work begins.
Use the text reader for a request such as “Which slide mentions the Q2 forecast?” Use thumbnails when choosing between two slides with similar titles but different layouts. Use the editable deck when the recipient needs to change a series, rearrange slides or present speaker notes. A text extract can answer the first question while omitting the object that matters to the last one.
The tools depend on the operation. Reading slide text uses the bundled Python helper; rendering uses LibreOffice and Poppler. A machine that can extract headings may still be missing the program that produces slide images. Identify which step produced the available evidence before telling a reviewer what they can inspect.
When to use another skill
Choose PPTX for an editable PowerPoint deliverable. Canvas Design is a better fit when the request changes to one static graphic for a printed meeting notice. Send it the approved title, venue and dimensions. Theme Factory can help choose a palette and font pair if the board requests a redesign. Keep the original deck and the decision about which slides may change with the presentation editor.
What to check after it runs
- Open the original and revised deck in slide sorter view. Count the slides and compare the order of the titles. Inspect the slide immediately before and after the results section to catch accidental duplication or removal.
- Open the chart’s data editor. Trace the changed quarter to its series, value and unit in the supplied sheet. Check the historical period with the same old value separately. Swapping period labels could leave every number in the file and still tell the wrong story.
- Read the speaker notes for each changed slide and compare the figures with the displayed callouts. Search the extracted text for leftover template prompts and the previous quarter, then inspect each match in context before replacing it.
- Open the file in the application the board uses. Look for a repair prompt and inspect titles, data labels and footers at full size. Watch for a unit stranded on another line. Font substitution in a LibreOffice preview can produce a different line break from PowerPoint.
Related workflows
More in Documents
- PDF — PDF extraction
- DOCX — tracked revisions
- JSON Canvas — editable concept maps
- Documentation and ADRs — architecture decision records
Related skills in other categories
FAQ
- Can it work with an existing PowerPoint template?
- Yes. The upstream instructions distinguish template-based editing from new-deck creation, and recommend validating against the original when appropriate.
- Why does it ask to render the slides?
- Package validation cannot identify all visible problems. Rendering makes text overflow, alignment, and clipped elements available for inspection.