slides-grab — Point-and-Edit AI Slide Decks in HTML/CSS
slides-grab (NomaDamas, MIT) is the
open-source Claude Design alternative — a harness + visual editor + linter
for generating presentation decks with coding agents. Every slide is a
self-contained slide-XX.html file of plain HTML & CSS — the language AI
agents are strongest at — so decks are beautiful, trivially editable by the
agent, and exportable to PDF (and experimental/unstable PPTX or Figma). Its
signature move: in the browser editor you **drag a box over any region and ask
the agent to rewrite just that area**; small things (text, size, bold) you can
still tweak by hand "like in the 2024 era". This skill is the routing-first
wrapper: pick an install path, a deck workspace, a design style, and the right
asset/export flow.
When to use this skill
- The user wants to generate a slide deck from a topic or source files and
then iterate on it visually rather than re-prompting from scratch
- The user wants to **point at a region of a rendered slide and have the agent
edit only that area** (bbox selection + agent rewrite) — the core slides-grab
workflow via slides-grab edit
- The user wants a deck in HTML/CSS they can hand-tweak (text, size, bold)
and that the agent can restyle with any of the 35 bundled design styles
- The user wants to export a deck —
slides-grab pdf(capture or
searchable --mode print), slides-grab png (per-slide, incl. 1:1
card-news for Instagram), or the experimental/unstable convert (PPTX)
/ figma (Figma-importable PPTX)
- The user is building Instagram-style card news (square 720pt × 720pt)
and wants PNG-first output
- The user needs deck assets done the supported way — generate imagery with
slides-grab image (god-tibo-imagen / codex / nano-banana), pull a web video
with fetch-video (yt-dlp), or turn a .tldr diagram into a slide-sized SVG
with slides-grab tldraw
- The user wants to validate a deck (
slides-grab validate, Playwright)
before exporting to catch missing local assets and discouraged path forms
When not to use this skill
- The user wants editable vector diagrams (architecture, ERD, UML,
sequence, flowchart) inside a slide → author them with drawio or mermaid
and embed the exported image
- The user wants **packet-first deck planning, narrative structure, or the
last-mile handoff decision** (HTML review vs PPTX vs PDF vs Google/Figma
Slides) without committing to slides-grab's HTML pipeline →
presentation-builder
- The user just wants AI-generated images (not a deck) →
god-tibo-imagen - The user wants broad local design-artifact generation (web/mobile/desktop
prototypes, media, 72 design systems) → open-design
- The deck must be pixel-perfect PowerPoint or native Figma — slides-grab's
convert/figma paths are explicitly experimental / unstable, emit
best-effort .pptx for manual import, and expect cleanup; do not promise
faithful PPTX/Figma parity
Prerequisites
| Requirement | Notes |
|-------------|-------|
| Node.js >= 20 | Hard requirement for the CLI |
| Chromium via Playwright | npx playwright install chromium — render, validate, and export pipeline |
| A coding agent | Claude Code or Codex have first-class install guides; the bbox "edit this region" loop hands selections to the agent |
| yt-dlp (optional) | Only for slides-grab fetch-video |
| A Codex/ChatGPT login (optional) | Default slides-grab image provider (god-tibo-imagen) reuses ~/.codex/auth.json; alternative providers need OPENAI_API_KEY or GOOGLE_API_KEY |
Instructions
Step 1 — Install slides-grab
| Path | When | Command |
|------|------|---------|
| npm package (recommended) | Normal usage — CLI + shared skills | npm install slides-grab → npx playwright install chromium → npx skills add ./node_modules/slides-grab -g -a codex -a claude-code --yes --copy |
| Agent install guide | Let the agent wire it end-to-end | Claude Code: read docs/installation/claude.md; Codex: read docs/installation/codex.md and follow every step |
| Clone | Develop/contribute to slides-grab itself | git clone … && cd slides-grab && npm ci && npx playwright install chromium |