with one click
slides-grab-design
// Stage 2 design skill for Codex. Generate and iterate slide-XX.html files in the selected slides workspace.
// Stage 2 design skill for Codex. Generate and iterate slide-XX.html files in the selected slides workspace.
Stage 1 planning skill for Codex. Build and iterate slide-outline.md until explicit user approval.
End-to-end presentation workflow for Codex. Use when making a full presentation from scratch — planning, designing slides, editing, and exporting. PDF and per-slide PNG are preferred; PPTX/Figma export is experimental / unstable.
Generate square Instagram-style card news by reusing the slides-grab workflow with card-news mode enabled. Defaults to per-slide PNG export.
Stage 3 conversion skill for Codex. Convert approved HTML slides to PDF or per-slide PNG reliably, and to experimental / unstable PPTX/Figma outputs on a best-effort basis.
| name | slides-grab-design |
| description | Stage 2 design skill for Codex. Generate and iterate slide-XX.html files in the selected slides workspace. |
| metadata | {"short-description":"Build HTML slides and viewer for review loop"} |
Use this after slide-outline.md is approved.
Generate high-quality slide-XX.html files in the selected slides workspace (slides/ by default) and support revision loops.
slide-outline.md (must contain style: <id> in meta section — style was approved in Stage 1)<slides-dir>/slide-01.html ... slide-XX.html<slides-dir>/viewer.html via build scriptslide-outline.md and extract the style field from its meta section.style is a bundled id (e.g. glassmorphism), load from src/design-styles-data.js — colors, fonts, layout, signature elements, and things to avoid.style ends in .md (e.g. ./DESIGN.slides.md or ./DESIGN.md), or if a design markdown file exists at the project root, parse it with slides-grab show-design <path> and treat the parsed output as the authoritative design system (colors, typography, layout, components, signature, avoid).DESIGN.slides.md takes priority over DESIGN.md. The .slides.md version is the slide-flavored conversion produced by the plan stage and is the only file safe to apply to slide HTML. If only DESIGN.md exists, treat it as web-flavored and follow the slide layout/avoid rules in references/design-rules.md strictly to avoid leaking web-only components (top-nav, CTA buttons, footer-band columns, pricing grids) into slides — or, preferably, switch back to the plan stage and produce a DESIGN.slides.md first.references/beautiful-slide-defaults.md for the full working model, content discipline, color discipline, and AI slop tropes to avoid.slides-grab list-styles and open the gallery from slides-grab preview-styles so the Stage 2 deck stays aligned with the Stage 1 direction.--slides-dir.slides-grab image --prompt "<prompt>" --slides-dir <path> to generate a local asset with the default god-tibo-imagen provider (which reuses the local Codex ChatGPT login — no API key required) and save it under <slides-dir>/assets/.tldraw, export it with slides-grab tldraw, and treat the result as a local slide asset under <slides-dir>/assets/.<slides-dir>/assets/, reference it as ./assets/<file>, and prefer a poster="./assets/<file>" thumbnail so PDF export uses a stable still image.slides-grab fetch-video --url <youtube-url> --slides-dir <path> (or yt-dlp directly if needed) to download it into <slides-dir>/assets/ before saving the slide HTML.slides-grab validate --slides-dir <path> after generation or edits.references/beautiful-slide-defaults.md before presenting the deck for review.slides-grab edit --slides-dir <path>slides-grab build-viewer --slides-dir <path>) for a final read-only preview, or proceed to export (PDF/PPTX).p, h1-h6, ul, ol, li).<slides-dir>/assets/ and reference them as ./assets/<file>.data: URLs when the slide must be fully self-contained.http(s):// image URLs in saved slide HTML; download source images into <slides-dir>/assets/ and reference them as ./assets/<file>.slides-grab image with the default god-tibo-imagen provider for bespoke slide imagery before reaching for remote URLs.~/.codex/auth.json) — run codex login once to enable it; no API key required. ⚠️ god-tibo-imagen calls an unsupported private Codex backend that may break without notice. Optional alternatives: --provider codex (Codex/OpenAI gpt-image-2 via OPENAI_API_KEY; maps --aspect-ratio to the nearest supported OpenAI image size), or --provider nano-banana (Google Nano Banana / gemini-3-pro-image-preview via GOOGLE_API_KEY or GEMINI_API_KEY; supports --image-size 2K|4K). If image generation credentials are unavailable, fall back to web search + download into <slides-dir>/assets/.poster="./assets/<file>" thumbnail so PDF export uses the still image.slides-grab fetch-video or yt-dlp to pull supported web videos into <slides-dir>/assets/ before saving slide HTML.<img> for slide imagery and data-image-placeholder when no final asset exists.oklch() neighbors. Do not invent fresh standalone hex colors mid-slide.references/beautiful-slide-defaults.md for the full list.tldraw for complex diagrams instead of recreating dense node/edge diagrams directly in HTML/CSS.slides-grab tldraw plus templates/diagram-tldraw.html when that gives a cleaner, more export-friendly result.slides-grab validate --slides-dir <path> passes.For full constraints and style system, follow:
references/design-rules.mdreferences/detailed-design-rules.mdreferences/beautiful-slide-defaults.md — slide-specific art direction defaults adapted from OpenAI's frontend design guidance and Anthropic's Claude design system guidance (content/color discipline, system declaration, AI slop tropes)references/design-system-full.md — archived full design system, templates, and advanced pattern guidance