slides-grab-html
Skill1.2k starsChanged 3 months agoMITView on GitHub
HTML-mode presentation pipeline usable in Codex and Claude Code. Build semantic slide-XX.html files, generate bespoke hero/accent imagery with slides-grab image, run the design gate, and export. Use when the deck needs editable, searchable, accessible text or when no existing template must be matched pixel-for-pixel.
- Reads credentials
Trending
Quiet since September.thin dataabout the whole repository
Who's talking about NomaDamas/slides-grab
- sudosubin/agents.nix“agent-skills.github.nomadamas.slides-grab: init at 1.5.2”GitHub · Sep 30, 2026
- nota-america/forgecat-agent-profiles“Profile: nomadamas_slides-grab”GitHub · Jul 7, 2026
The biggest 2 of 2 mentions linking to the repository that our crawl found. Each line is their own headline.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- slides-grab-card-newsSkill
- slides-grab-designSkill
- slides-grab-exportSkill
- slides-grab-imageSkill
- slides-grab-planSkill
- slides-grabSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 8 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Use slides-grab image to generate individual hero/accent images that sit *beside* or *behind* semantic text inside an HTML slide.
- Very specific: line 19
If you instead need the generated image to BE the whole slide (title, body, layout burned into the raster), use the image-native pipeline …
- Very specific: line 24
Use the installed slides-grab-plan skill.
- Very specific: line 31
Use the installed slides-grab-design skill.
- Very specific: line 32
Read approved slide-outline.md, load the style spec (src/design-styles-data.js for bundled ids, slides-grab show-design for …
- Distinctive: line 33
Write a visual thesis, content plan, system declaration, and design tokens before generating slides.
- Very specific: line 37
Charts: default to Chart.js (<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>), start from templates/chart.html, keep …
- Distinctive: line 39
Icons: prefer Lucide before emoji.
- Very specific: line 40
Run slides-grab validate --slides-dir <path>.
- Very specific: line 41
Run the design gate (../slides-grab-design/references/design-gate.md): capture PNG evidence, run Pass A (System Contract) + Pass B …
- Very specific: line 45
Use the installed slides-grab-export skill.
- Distinctive: line 52
Keep slide size 720pt × 405pt.
- Very specific: line 53
Keep semantic text tags (p, h1-h6, ul, ol, li).
- Distinctive: line 55
No CSS gradients — use flat fills.
- Very specific: line 56
Put local images/videos under <slides-dir>/assets/, reference as ./assets/<file>.
- Distinctive: line 58
Prefer Lucide for iconography.
- Distinctive: line 59
Keep body copy ≥14pt on a 720pt × 405pt slide.
- Distinctive: line 60
Avoid AI slop tropes (aggressive gradient backgrounds, left-border accent cards, SVG-drawn imagery, generic font stacks, generic 3×2 …
- Very specific: line 61
Do not present slides for review until slides-grab validate passes.
- Distinctive: line 62
Do not advance to export while any Critical design-gate finding is unresolved.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
slides-grab HTML Skill
Build semantic slide-XX.html files where text is real HTML (selectable, editable, accessible) and imagery is generated as supporting accent/hero assets — never as whole-slide rasters. Use this pipeline when the user wants a deck they can edit, when slides contain charts or diagrams, or when no existing template demands pixel-perfect visual matching.
Mode signal
The plan stage records mode: html in slide-outline.md. If no mode is recorded, default to this pipeline.
Bespoke imagery rule
- Use
slides-grab imageto generate individual hero/accent images that sit beside or behind semantic text inside an HTML slide. The generated image is a supporting visual — text and layout stay in HTML/CSS. - A bespoke image prompt describes the accent visual only — the atmospheric mood, the hero illustration, the background texture — not the slide's title, body copy, or layout. Let HTML handle text and layout.
- Good prompt: "Atmospheric dawn horizon, cyan and silver tones, dreamy Y2K mood, no text, 16:9" — describes a hero background.
- If you instead need the generated image to BE the whole slide (title, body, layout burned into the raster), use the image-native pipeline (
../slides-grab-image/SKILL.md) — semantic HTML is the wrong tool for that.
Workflow
Stage 1 — Plan
Use the installed slides-grab-plan skill.
- Take topic, audience, and tone.
- Run
slides-grab list-styles, shortlist 2–3 bundled styles, get explicit approval. Optionally offerslides-grab preview-styles. If none fit, propose a custom direction. If the user provides a reference template/PDF/PPTX for color tokens only (not pixel-perfect matching), import it withslides-grab import-templateand recordstyle: template-pack— the template pack supplies design tokens, but slides stay semantic HTML. - Record
mode: htmlinslide-outline.mdmeta. - Present outline, revise until approved.
Stage 2 — Design
Use the installed slides-grab-design skill.
- Read approved
slide-outline.md, load the style spec (src/design-styles-data.jsfor bundled ids,slides-grab show-designforDESIGN.slides.md, or.slides-grab/template-pack.jsonfor imported packs). - Write a visual thesis, content plan, system declaration, and design tokens before generating slides.
- Generate
slide-XX.htmlsemantic HTML files with 2-digit numbering in--slides-dir. - Bespoke imagery: when a slide needs a hero/accent image, run
slides-grab image --prompt "<accent-visual prompt>" --slides-dir <path>. The default codex provider reuses the local Codex ChatGPT login (~/.codex/auth.json— runcodex loginonce; no API key required). Save under<slides-dir>/assets/. To guide the style, pass reference images with--reference <path>(repeatable). Optional providers:--provider openai(OpenAI gpt-image-2 viaOPENAI_API_KEY),--provider nano-banana(Googlegemini-3-pro-image-previewviaGOOGLE_API_KEY/GEMINI_API_KEY, supports--image-size 2K|4K). If credentials are unavailable, fall back to web search + download into<slides-dir>/assets/. - Diagrams: for complex diagrams (architecture, workflows, relationship maps), use
tldrawviaslides-grab tldraw, store under<slides-dir>/assets/. - Charts: default to Chart.js (
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>), start fromtemplates/chart.html, keepanimation: false,responsive: true,maintainAspectRatio: false, wrap<canvas>in a stable container.slides-grab validatereportsempty-canvasfor unpainted canvases. - Video: store under
<slides-dir>/assets/, preferposter="./assets/<file>". Useslides-grab fetch-videooryt-dlpfor web sources. - Icons: prefer Lucide before emoji.
- Run
slides-grab validate --slides-dir <path>. Auto-fix failures until it passes. - Run the design gate (
../slides-grab-design/references/design-gate.md): capture PNG evidence, run Pass A (System Contract) + Pass B (Audience Impact), synthesize verdict. Resolve all Critical findings, re-render, re-review untilProceed. Record withslides-grab design-gate --slides-dir <path> --verdict proceed --pass-a-report <a.md> --pass-b-report <b.md>. - Launch the HTML editor:
slides-grab edit --slides-dir <path>. For chart decks, also runslides-grab build-viewerand confirm charts render inviewer.html.
Stage 3 — Export
Use the installed slides-grab-export skill. Requires a fresh Proceed gate receipt.
- Widescreen →
slides-grab pdf --slides-dir <path> --output <name>.pdf. - Per-slide PNG →
slides-grab png --slides-dir <path> --output-dir <path>/out-png --resolution 2160p. - Card-news →
slides-grab png --slide-mode card-news(see../slides-grab-card-news). - PPTX/Figma (experimental / unstable) →
slides-grab convert/slides-grab figma.
Rules
- Keep slide size 720pt × 405pt.
- Keep semantic text tags (
p,h1-h6,ul,ol,li). Never put text directly in<div>/<span>. - Backgrounds only on
<div>; text only in semantic tags. - No CSS gradients — use flat fills; rasterize gradients to PNG with Sharp if needed.
- Put local images/videos under
<slides-dir>/assets/, reference as./assets/<file>. - Allow
data:URLs when a slide must be self-contained; never leave remotehttp(s)://image URLs in saved HTML. - Prefer Lucide for iconography; avoid emoji unless the brief explicitly asks.
- Keep body copy ≥14pt on a 720pt × 405pt slide; 10pt absolute floor.
- Avoid AI slop tropes (aggressive gradient backgrounds, left-border accent cards, SVG-drawn imagery, generic font stacks, generic 3×2 icon-plus-blurb grids).
- Do not present slides for review until
slides-grab validatepasses. - Do not advance to export while any Critical design-gate finding is unresolved.
Reference
../slides-grab-plan/SKILL.mdand../slides-grab-plan/references/../slides-grab-design/SKILL.mdand../slides-grab-design/references/../slides-grab-export/SKILL.mdand../slides-grab-export/references/
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.

