export-pptx
Skill0 starsChanged 7 days agoMITView on GitHub
Export an HTML deck to PPTX via per-slide screenshots. Requires Node + pptxgenjs + puppeteer (run /doctor first).
- Installs packages
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- bluzir/claude-code-designedited, first seen Apr 20, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- bluzir/claude-code-design★ 10274% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- animated-videoSkill
- apply-editsSkill
- apply-tweaksSkill
- copy-exampleSkill
- create-design-systemSkill
- doctorSkill
- export-pdfSkill
- export-standaloneSkill
- governance-reviewSkill
- handoffSkill
- ingest-documentSkill
- ingest-figmaSkill
- ingest-githubSkill
- ingest-screenshotSkill
- inspectSkill
- interactive-prototypeSkill
- live-reloadSkill
- local-commentsSkill
- make-deckSkill
- make-editableSkill
- make-tweakableSkill
- publishSkill
- register-assetSkill
- ship-branchSkill
- snapshotSkill
- sync-design-systemSkill
- use-design-systemSkill
- verify-artifactSkill
- wireframeSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Run the export script:
- Distinctive: line 47
Not editable in PowerPoint — each slide is a raster image.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Export PPTX
Screenshot-based PPTX export — each <section> inside <deck-stage> becomes one slide (1920×1080 image + optional speaker notes).
Preflight
Bash(node --version)— if it fails, tell user to install Node 20+ (which nodeis blocked by the guard)Bash(ls -d node_modules/pptxgenjs)andBash(ls -d node_modules/puppeteer)— if either printsNo such file or directory, tell the user to runnpm install -D pptxgenjs@4.0.1 puppeteer@24.41.0in a separate shell (or/doctor), and stop. Never runnpmfrom this skill. Do not usetest -d: it prints nothing on failure and the exit code is not visible in the tool result, so a missing install reads as a pass.
Steps
- Resolve paths:
$0= deck HTML (required)$1= output (default: basename +.pptx)
- Run the export script:
Bash(node scripts/export-pptx.mjs "<input>" "<output>") - Report size + path.
Script dependencies
scripts/export-pptx.mjs is versioned. If it is missing, restore it from git — do not rewrite it, and never run node with anything other than that script. The script launches Chromium without --no-sandbox and blocks every outbound request except the artifact's own directory over file://, data:, blob:, https://unpkg.com/ and Google Fonts. A deck that loads ../starters/deck_stage.js instead of a copy beside the HTML exports with the stage script blocked; make-deck copies the starter next to the deck for this reason.
What the script does
- Launches headless Chromium (puppeteer)
- Loads the deck HTML at 1920×1080
- Reads
<deck-stage>.totalSlides - For each slide:
goToSlide(i), setnoscale,page.screenshotat clip 0,0,1920,1080 - Reads
#speaker-notesJSON (if present) and attaches per-slide notes - Builds
.pptxwithpptxgenjs(16:9 layout, one PNG-background slide each)
Notes
- Images can be large — 5 MB per slide at 1920×1080 is normal
- For smaller files, pass
--jpeg 0.8to the script (compress to JPEG at 80% quality) - Not editable in PowerPoint — each slide is a raster image. For native-editable export, skill not supported in v3.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

