Export Presentation Plugin
Export HTML slide presentations to PDF or PNG screenshots using browser automation.
Installation
# Add the marketplace (if not already added)
claude plugin marketplace add jtsternberg/claude-plugins
# Install the plugin
claude plugin install export-presentation@jtsternberg
Requirements
Browser automation tool (one of the following):
| Tool | Type | How to get it |
|---|---|---|
| agent-browser (recommended) | CLI | npm install -g @anthropic/agent-browser |
| Claude in Chrome | MCP server | Install the Claude in Chrome extension |
| Playwright | CLI or MCP | npm install -g playwright |
| Chrome DevTools | MCP server | Connect via Chrome DevTools Protocol |
PDF assembly (for PDF output):
| Tool | Priority | How to get it |
|---|---|---|
| img2pdf (preferred) | 1st | pip install img2pdf |
| ImageMagick | Fallback | brew install imagemagick (macOS) |
img2pdf is preferred because it embeds PNGs losslessly. ImageMagick works but may apply compression.
Description
Companion to the slides-presentation plugin. After building a slide deck, use this plugin to export it as a PDF for sharing via email, Slack, or for archiving — or as individual PNG screenshots.
Usage
The skill triggers when you:
- “Export this presentation to PDF”
- “Take screenshots of each slide”
- “Convert my slides to images”
- “Generate a PDF from the presentation”
You can provide either a file path (a local server is started automatically) or a URL.
How It Works
- Detect tool — Finds the best available browser automation tool
- Preflight — Validates input, counts slides, checks PDF assembler
- Serve — Starts a local server if given a file path (automatic)
- Capture — Opens presentation, screenshots each slide at 1920x1080
- Assemble — Combines screenshots into a lossless PDF (or keeps as images)
- Clean up — Stops server, removes temp files, reports results
Output
- Default:
<presentation-name>.pdfin the same directory as the HTML file - Images-only: A
screenshots/directory withslide-01.png,slide-02.png, etc.
Example
User: "Export /path/to/beads-talk/presentation.html to PDF"
Claude: Detects agent-browser, starts local server, captures 11 slides,
assembles lossless PDF → beads-talk/presentation.pdf
Related
- slides-presentation — Build the HTML slide decks that this plugin exports
Additional Documentation
- SKILL.md — Complete workflow and guidelines
- references/ — Per-tool browser automation guides and PDF assembly instructions
- scripts/serve-local.sh — Local HTTP server utility