slides-grab
AGENTS.md1.2k starsChanged 3 months agoMITView on GitHub
slides-grab is an agent-first PPT framework. AI agents write HTML slides directly, and a 3-stage pipeline (Planning → Design → Conversion) produces high-quality HTML/PDF output plus experimental / unstable PPTX and Figma export. Core philosophy: HTML is the design language. Agents write HTML/CSS directly. The framework provides templates, validation, and conversion tools — not abstractions over HTML.
- 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.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository7 other files it gives its agents.
- slides-grab-card-newsSkill
- slides-grab-designSkill
- slides-grab-exportSkill
- slides-grab-htmlSkill
- slides-grab-imageSkill
- slides-grab-planSkill
- slides-grabSkill
The file
We split this AGENTS.md into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 6
Create feature or fix branches from the latest origin/main.
- Very specific: line 8
Before opening or updating a pull request, rebase or merge the latest origin/main into the working branch and resolve conflicts locally.
- Distinctive: line 9
Run the relevant tests and report their results before requesting review.
- Distinctive: line 10
Do not merge directly to main unless the repository owner explicitly requests it.
- Very specific: line 44
Text tags: Only <p>, <h1>-<h6>, <ul>, <ol>, <li> — never put text directly in <div> or <span>
- Very specific: line 45
Colors in CSS: Use # prefix (#FF0000)
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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
AGENTS.md
Contribution Workflow
mainis the only integration branch. Do not create, target, or depend on adevbranch.- Create feature or fix branches from the latest
origin/main. - Open pull requests from those branches directly against
main. - Before opening or updating a pull request, rebase or merge the latest
origin/maininto the working branch and resolve conflicts locally. - Run the relevant tests and report their results before requesting review.
- Do not merge directly to
mainunless the repository owner explicitly requests it; use a pull request and its required checks/reviews.
Project Overview
slides-grab is an agent-first PPT framework. AI agents write HTML slides directly, and a 3-stage pipeline (Planning → Design → Conversion) produces high-quality HTML/PDF output plus experimental / unstable PPTX and Figma export.
Core philosophy: HTML is the design language. Agents write HTML/CSS directly. The framework provides templates, validation, and conversion tools — not abstractions over HTML.
Key Paths
| Path | Purpose |
skills/slides-grab/SKILL.md | Router skill — picks HTML or image-native pipeline |
skills/slides-grab-html/SKILL.md | HTML-mode pipeline (semantic slides + bespoke hero imagery) |
skills/slides-grab-image/SKILL.md | Image-native pipeline (whole-slide rasters via slides-grab image) |
skills/slides-grab-plan/SKILL.md | Stage 1 plan skill (outline workflow) |
skills/slides-grab-design/SKILL.md | Codex design skill (HTML slides + viewer loop) |
skills/slides-grab-export/SKILL.md | Codex conversion skill (PDF + experimental / unstable HTML→PPTX/Figma) |
skills/slides-grab-design/references/design-gate.md | Design gate spec — severity rubric, seven checks (incl. 6b Korean word-break and Review Litmus), dialectical dual-oracle Visual QA loop (render evidence → Pass A System Contract / Constraint Integrity + Pass B Audience Impact / Expressive Readability → synthesized verdict → fix/re-render/re-review until Proceed or Rethink), rule→side-effect→compensation matrix (12 rows), evidence-before-shipping, design-debt log, gate report/verdict (runs after validate, before export) |
runtimes/claude-code/agents/design-critic-agent.md | Claude Code adapter that points to the canonical design gate and records slides-grab design-gate evidence |
runtimes/codex/agents/slides-grab-design-critic.md | Codex adapter that points to the canonical design gate and records slides-grab design-gate evidence |
skills/*/references/ | Published reference docs bundled with installable skills |
scripts/build-viewer.js | Builds viewer.html from slide-*.html files in selected --slides-dir |
src/html2pptx.cjs | Packaged HTML→PPTX conversion runtime |
src/pptx-raster-export.cjs | Packaged raster PPTX export runtime behind convert.cjs |
slides/ (default) or custom --slides-dir path | Generated HTML slide workspace |
slide-outline.md | Presentation outline generated during Stage 1 |
package.json | Node.js dependencies (playwright, sharp, pptxgenjs) |
convert.cjs | Legacy experimental / unstable HTML→PPTX converter |
Slide Specifications
- Size: 720pt × 405pt (16:9)
- Font: Pretendard (CDN:
https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css) - Text tags: Only
<p>,<h1>-<h6>,<ul>,<ol>,<li>— never put text directly in<div>or<span> - Colors in CSS: Use
#prefix (#FF0000) - Colors in PptxGenJS: No
#prefix (FF0000) - No CSS gradients: Rasterize to PNG with Sharp instead
Runtime Adapters
| Adapter | Role |
slides-grab-design-critic | Codex adapter for the design gate and slides-grab design-gate receipt |
design-critic-agent | Claude Code adapter for the design gate and slides-grab design-gate receipt |
Skill System
| Skill | Role | Stage |
slides-grab | Router — picks HTML or image-native pipeline, then runs shared stages | All |
slides-grab-html | HTML-mode pipeline (semantic slides + bespoke hero imagery via slides-grab image) | 2 |
slides-grab-image | Image-native pipeline (whole-slide rasters via slides-grab image) | 2 |
slides-grab-plan | Stage 1 outline planning | Stage 1 |
slides-grab-design | Stage 2 slide design/review (shared design rules + gate) | Stage 2 |
slides-grab-export | Stage 3 conversion (PDF + experimental / unstable PPTX/Figma) | Stage 3 |
Dependencies
Node.js (package.json)
pptxgenjs^3.12.0 — PowerPoint generationplaywright^1.40.0 — Browser automation (Chromium)sharp^0.33.0 — Image processing
Python
markitdown— Markdown conversiondefusedxml— XML parsingpillow— Image processing
System (optional)
LibreOffice(soffice) — PPTX thumbnail generationPoppler(pdftoppm) — PDF to image conversion
Rules for Agents
- Do not modify SKILL.md philosophy sections — design principles, rules, and constraints must be preserved when editing SKILL.md files.
- All new scripts go in
scripts/unless they are skill-specific (thenskills/<name>/scripts/). - Use ES modules —
import/exportsyntax, notrequire(). Exception:.cjsfiles for CommonJS compat. - JavaScript, not TypeScript — Use JSDoc for type hints if needed.
- Test scripts by running them — Use
node scripts/<name>.jsto verify they work. - Playwright browser reuse — When processing multiple slides, keep the browser instance open and reuse it across slides for performance.
- Environment variables for API keys —
GEMINI_API_KEY,ANTHROPIC_API_KEY,OPENAI_API_KEY. Never hardcode keys. - CSS-safe HTML — All text in semantic tags (
<p>,<h1>-<h6>,<ul>,<ol>), backgrounds only on<div>elements.
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.

