The problem
Asking an AI agent for slides usually ends in one of two places. Either the agent writes a generic deck with default fonts and colours, or it asks the user to describe a visual taste in words, which most people cannot do.
The deck also has to leave the browser. People want a PDF for email, images for a document, or a .pptx file for a colleague who works in PowerPoint. Re-typesetting the content in another tool makes the versions drift apart, and the agent has to do the same work twice.
| Usually | With the skill |
|---|---|
| UsuallyDescribe a visual taste in words before seeing anything | With the skillPick one of three real title slides made for this deck |
| UsuallyGeneric fonts and colour schemes that look machine made | With the skillCurated presets and 34 bold design systems, with rules against default choices |
| UsuallyA deck that reflows and breaks on a phone | With the skillA fixed 1920 × 1080 stage that scales as a whole on every screen |
| UsuallyRebuild the slides by hand to get a PDF or a .pptx | With the skillOne command writes PDF, PNG, JPG and PPTX from the same render |
What is reworked, and what is mine
This is not a from-scratch project, and the page says so. AgentBuff Presentation Skills is reworked and extended from the open-source Frontend Slides skill by Zara Zhang, and it bundles the Bold Template Pack from her beautiful-html-templates library. Both are MIT licensed, and the license file keeps her copyright next to mine for the modifications.
| Part | Origin |
|---|---|
| PartStyle discovery with three title previews | OriginFrontend Slides |
| Part12 style presets, the stage stylesheet, HTML and animation guides | OriginFrontend Slides, with the skill renamed |
| PartBold Template Pack: 34 design systems and their screenshots | Originbeautiful-html-templates by Zara Zhang |
| PartPowerPoint import, PDF script and deploy script | OriginFrontend Slides |
| Partexport-deck.mjs: PDF, PNG, JPG and PowerPoint, image or editable, from one render | OriginAdded in this rework |
| PartSKILL.md sections on output formats, PowerPoint modes and running in other agents | OriginRewritten in this rework |
I compared the files with the upstream repositories on 26 November 2026: six supporting files are identical to Frontend Slides, four are renamed only, SKILL.md is rewritten in its sections on export and portability, and the exporter is new.
How a deck is made
Before reporting a deck as done, the agent checks rendered screenshots for text overflow and covered panels.
Brief
Purpose, length, content, density and formats in one message
Shortlist
Presets and a compact template index, then only the shortlisted cards
Three title slides
A safe preset, a bold template and a wildcard
Pick
One look, or a mix of elements from several
Build
The whole deck as one HTML file on a fixed stage
Export or share
PDF, PNG, JPG or PowerPoint, or a live link
The repository is not an application. SKILL.md is a workflow map the agent reads first, and it points to supporting files that load only when a phase needs them. Reading a compact index and small preview cards first keeps the agent's context small, while 34 full design systems stay available for the one the user picks.
Inside the skill
Instead of asking about taste, the agent shows three title slides built for the user's own deck: one from the curated presets, at least one from the bold template pack, and one wildcard. Previews must look like a real first slide, with no option labels, template names or file paths on them. For formal decks the safe option is made more restrained.
The exporter I added

- One render: the script serves the deck folder on a local port, opens it in headless Chromium and shows one slide at a time with animations frozen in their final state.
- Same pixels: each slide is captured once at 1920 × 1080, and every output format is built from those captures.
- Editable when needed: the editable PowerPoint mode rebuilds native shapes and text boxes; the text can be edited, the look is approximate.
- Nothing added to your project: Playwright and pptxgenjs install once into a shared temp cache, so no node_modules folder appears in the skill or the project.
node scripts/export-deck.mjs ./presentation.html --format=all
node scripts/export-deck.mjs ./presentation.html --format=pptx --pptx-mode=editable
python scripts/extract-pptx.py presentation-editable.pptx extracted| Format | Looks like the deck | Text can be edited |
|---|---|---|
| FormatPDF | Looks like the deckYes, one page per slide | Text can be editedNo |
| FormatPNG or JPG | Looks like the deckYes, one image per slide | Text can be editedNo |
| FormatPowerPoint, image mode (default) | Looks like the deckYes | Text can be editedNo |
| FormatPowerPoint, editable mode | Looks like the deckApproximately | Text can be editedYes |
In the test run, the six-slide deck produced a six-page PDF, six PNG and six JPG files at 1920 × 1080, and two PowerPoint files with six slides each. Reading the editable PowerPoint back with extract-pptx.py recovered the slide text, which is also how an existing .pptx is turned into a new HTML deck: the script pulls out text, images and speaker notes, the user confirms the content, and the agent rebuilds it in the chosen style.
Design decisions
HTML deck as the single source
Every other format is exported from it, so nothing is typeset twice and versions cannot drift.
Screenshot-based export
Capturing the settled slide is the only way to get PDF, images and PowerPoint that look exactly like the browser.
Editable PowerPoint as an opt-in
Rebuilt text boxes can be edited, but fonts and wrapping change, so the exact copy stays the default.
Fixed 1920 × 1080 stage
A fixed canvas keeps layouts intact on phones and makes pixel-exact capture possible.
Progressive disclosure
An index and small cards first, one full design file only after the pick, so the agent's context stays small.
No plugin packaging
Plain Markdown and scripts let any agent with file and shell access use the skill.
The repository stores no keys or tokens, and its scripts make no calls to a model provider; the agent that reads SKILL.md brings the model. The exporter serves only the deck's own folder on a random local port and closes it after capture, and the deploy script leaves login to the Vercel CLI, so no credential is written into the skill folder.
Building tools for AI agents?
I build skills and apps that agents can follow safely, with outputs people can check.
Questions people ask
- It is reworked and extended from the open-source Frontend Slides skill by Zara Zhang and bundles her Bold Template Pack, both MIT licensed. My additions are the multi-format exporter, export-deck.mjs, and the parts of SKILL.md about output formats, PowerPoint modes and running in other agents.
- Any coding agent that can read files and run shell commands. The skill is plain Markdown instructions plus Node.js and Python scripts, with no plugin format and no model call inside the repository.
- Yes, with the editable mode, which rebuilds the slides as native shapes and text boxes; the look is then approximate. The default image mode matches the HTML deck exactly, but its text cannot be edited.





