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.

UsuallyWith the skill
Describe a visual taste in words before seeing anythingPick one of three real title slides made for this deck
Generic fonts and colour schemes that look machine madeCurated presets and 34 bold design systems, with rules against default choices
A deck that reflows and breaks on a phoneA fixed 1920 × 1080 stage that scales as a whole on every screen
Rebuild the slides by hand to get a PDF or a .pptxOne command writes PDF, PNG, JPG and PPTX from the same render
What changes for the deck author

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.

PartOrigin
Style discovery with three title previewsFrontend Slides
12 style presets, the stage stylesheet, HTML and animation guidesFrontend Slides, with the skill renamed
Bold Template Pack: 34 design systems and their screenshotsbeautiful-html-templates by Zara Zhang
PowerPoint import, PDF script and deploy scriptFrontend Slides
export-deck.mjs: PDF, PNG, JPG and PowerPoint, image or editable, from one renderAdded in this rework
SKILL.md sections on output formats, PowerPoint modes and running in other agentsRewritten in this rework
Where each part comes from

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

From brief to exported deck

Before reporting a deck as done, the agent checks rendered screenshots for text overflow and covered panels.

  1. Brief

    Purpose, length, content, density and formats in one message

  2. Shortlist

    Presets and a compact template index, then only the shortlisted cards

  3. Three title slides

    A safe preset, a bold template and a wildcard

  4. Pick

    One look, or a mix of elements from several

  5. Build

    The whole deck as one HTML file on a fixed stage

  6. 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 three title slides from the test run: Swiss Modern preset, a bold template and a custom wildcard.
Safe option from the Swiss Modern preset: white, black, one red accent and a visible grid.
Wildcard designed for this brief: a press proof with crop marks, registration targets and a colour bar.

The exporter I added

Terminal with the export commands and the checks on their output: pages, images and slides
The export commands from the test run and the checks run on their output.
  • 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.
The commands from the test run
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
FormatLooks like the deckText can be edited
PDFYes, one page per slideNo
PNG or JPGYes, one image per slideNo
PowerPoint, image mode (default)YesNo
PowerPoint, editable modeApproximatelyYes
Which format to send

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.
ShareLinkedInXWhatsApp