/presentations:exporting-presentations-to-pptxfrom presentations
Use when the user wants an existing HTML presentation converted into a native, editable PowerPoint file (.pptx) with a theme, layouts, real text boxes, native charts and speaker notes. Triggers on requests like "make a PowerPoint version of this deck", "export the slides to pptx", or "the client needs the editable file". For a new deck as PowerPoint, see building-pptx-decks; for building the HTML deck itself, see creating-presentations.
Ships in presentations. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Convert an HTML deck from creating-presentations into a native, structured PowerPoint: the deck's tokens in the Office theme, its slide frames as layouts with named placeholders, every text a real text box, charts as native charts, speaker notes carried over. Not screenshots on slides, and not loose boxes: consultants edit the result in PowerPoint, restyle it from the Design tab, and add slides that match.
A new deck that should end up in PowerPoint is built directly with building-pptx-decks; this skill is for a deck that already exists as HTML.
<section> inside <deck-stage> is one slide; data-screen-label names it. The <script type="application/json" id="speaker-notes"> island holds notes keyed by 1-based slide number.:root custom properties, resolved as references/html-to-pptx.md says.Output path: for a single-file deck, next to the HTML with the same base name and .pptx. For a multi-file deck, <deck-dir-basename>.pptx in the deck directory, never index.pptx.
Paths to scripts below are relative to this skill's directory; run them by absolute path from the deck's directory.
chrome-headless-shell).pptxgenjs: node -e "require('pptxgenjs')"; when it fails, npm install --prefix /tmp/pptx-node pptxgenjs and run with NODE_PATH=/tmp/pptx-node/node_modules.../building-pptx-decks/assets/ (pptx_tool.py, pptx_check.py), standard library only. uv for PyMuPDF and Pillow when SVGs or crops need rasterizing.../building-pptx-decks/SKILL.md, "Dependencies").Run the geometry probe from this skill's assets/measure-probe.js against the deck, as references/measuring-html.md describes, and save the result as geom.json. It records every text block with its real line breaks, every box, image, chart and table, in canvas pixels. Nothing in the export estimates text height from CSS.
Read ../building-pptx-decks/references/from-preset.md (units, theme slots, fonts, layouts, charts, and the traps that corrupt files), then references/html-to-pptx.md (deriving layouts from the deck, mapping each measured item, charts from data-* attributes, picture fallbacks, notes).
Write a fresh build_pptx.js for this deck that reads geom.json and the notes island. Per-slide code is deck-specific: never reuse slide content from a previous export. Run it, then write the theme:
NODE_PATH=/tmp/pptx-node/node_modules node build_pptx.js
python3 ../building-pptx-decks/assets/pptx_tool.py theme deck.pptx theme.json
Fonts follow from-preset.md, "Fonts": the deck's webfonts are not installed in Office, so use the preset's declared PowerPoint fonts, the client font the recipients have, or the stand-in pair for the bundled preset.
Never deliver an unchecked export. Run, fix the generator, and run again:
python3 ../building-pptx-decks/assets/pptx_check.py deck.pptx: fix every error; it also lists the text sizes in use. Any run under 12 pt is a generator bug or a floor the HTML already broke: trace it.python3 ../building-pptx-decks/assets/pptx_tool.py text deck.pptx against the HTML: every slide present, text verbatim, notes carried.Without LibreOffice or a container engine, deliver the .pptx and state plainly that the layout went unchecked. Never skip the check silently.
For a high-stakes client file, offer one reviewer subagent per slide, dispatched in parallel; say how many slides that is, since each reviewer costs a full subagent run. Each gets the HTML slide screenshot, the PPTX render of the same slide, the token list, and the list of intended differences (typo fixes, font substitution, the stand-in fonts), and reports findings by severity. Check any surprising color claim against the XML (unzip -p deck.pptx ppt/slides/slideN.xml | grep srgbClr): sampling thin antialiased glyphs gives false color findings.
Reproduce the deck verbatim, with two exceptions: fix obvious typos and report each fix, and apply the preset's language.md (or the default preset's) to any text you must genuinely rewrite. Slide numbering, footer labels, and which slides carry no footer come from the HTML.
Write the message for someone who saw none of the checks. Start with the .pptx path. Then say which checks ran and their result (or that the layout went unchecked, and why), list every typo you fixed, and name each open difference in plain words with its slide number.
--virtual-time-budget, or serve the deck over HTTP and measure from there.pptx_check.py errors on a chart: the trap list in from-preset.md names the option; fix it in the generator and rebuild.creating-presentations builds the HTML decks this skill consumes.building-pptx-decks builds new decks as PowerPoint directly, and owns the shared scripts and the structured-deck reference.extracting-presets works the other way: from an existing PowerPoint toward a reusable preset.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub pgoell/pgoell-claude-tools --plugin presentations6 skills in this plugin
/building-pptx-decksUse when the user wants a slide deck as PowerPoint, which is the default when no format is named. Builds a native, editable .pptx from a deck.md, a settled storyline, or their content, styled from a preset or filled into a client template; also edits or extends an existing .pptx in place. A bare deck ask with nothing to build from goes to designing-presentations first. For an HTML deck with a presenter view, see creating-presentations./creating-presentationsUse when the user wants the deck as HTML (a browser deck, an .html file, a presenter view), styled from a brand preset and built from a deck.md, a settled storyline, or their content, or an HTML deck reviewed or polished. A deck with no format named is PowerPoint, see building-pptx-decks; a bare ask with nothing to build from goes to designing-presentations. For hand edits see editing-presentations; for a PowerPoint copy of an HTML deck, exporting-presentations-to-pptx./designing-presentationsUse when the user wants to design the content of a slide presentation, from audience brief to critiqued storyboard, before any slide renders. Produces a deck.md with per-slide front-matter. Triggers on a bare ask for a deck with no deck.md, settled storyline or content to build from, such as "I need a deck about our Q3 results", and on requests to plan a storyline, storyboard a deck, work out key messages, or audit a deck.md. Building it is building-pptx-decks or creating-presentations.Other plugins' skills for the same job