agentleFS
NomaDamasNomaDamas/slides-grab/AGENTS.md

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

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the NomaDamas/slides-grab repository that our weekly crawl found: only 2 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about NomaDamas/slides-grab

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.

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
  1. Very specific:

    Create feature or fix branches from the latest origin/main.

    line 6
  2. Very specific:

    Before opening or updating a pull request, rebase or merge the latest origin/main into the working branch and resolve conflicts locally.

    line 8
  3. Distinctive:

    Run the relevant tests and report their results before requesting review.

    line 9
  4. Distinctive:

    Do not merge directly to main unless the repository owner explicitly requests it.

    line 10
  5. Very specific:

    Text tags: Only <p>, <h1>-<h6>, <ul>, <ol>, <li> — never put text directly in <div> or <span>

    line 44
  6. Very specific:

    Colors in CSS: Use # prefix (#FF0000)

    line 45

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md

Contribution Workflow

  • main is the only integration branch. Do not create, target, or depend on a dev branch.
  • 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/main into the working branch and resolve conflicts locally.
  • Run the relevant tests and report their results before requesting review.
  • Do not merge directly to main unless 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

PathPurpose
skills/slides-grab/SKILL.mdRouter skill — picks HTML or image-native pipeline
skills/slides-grab-html/SKILL.mdHTML-mode pipeline (semantic slides + bespoke hero imagery)
skills/slides-grab-image/SKILL.mdImage-native pipeline (whole-slide rasters via slides-grab image)
skills/slides-grab-plan/SKILL.mdStage 1 plan skill (outline workflow)
skills/slides-grab-design/SKILL.mdCodex design skill (HTML slides + viewer loop)
skills/slides-grab-export/SKILL.mdCodex conversion skill (PDF + experimental / unstable HTML→PPTX/Figma)
skills/slides-grab-design/references/design-gate.mdDesign 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.mdClaude Code adapter that points to the canonical design gate and records slides-grab design-gate evidence
runtimes/codex/agents/slides-grab-design-critic.mdCodex 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.jsBuilds viewer.html from slide-*.html files in selected --slides-dir
src/html2pptx.cjsPackaged HTML→PPTX conversion runtime
src/pptx-raster-export.cjsPackaged raster PPTX export runtime behind convert.cjs
slides/ (default) or custom --slides-dir pathGenerated HTML slide workspace
slide-outline.mdPresentation outline generated during Stage 1
package.jsonNode.js dependencies (playwright, sharp, pptxgenjs)
convert.cjsLegacy 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

AdapterRole
slides-grab-design-criticCodex adapter for the design gate and slides-grab design-gate receipt
design-critic-agentClaude Code adapter for the design gate and slides-grab design-gate receipt

Skill System

SkillRoleStage
slides-grabRouter — picks HTML or image-native pipeline, then runs shared stagesAll
slides-grab-htmlHTML-mode pipeline (semantic slides + bespoke hero imagery via slides-grab image)2
slides-grab-imageImage-native pipeline (whole-slide rasters via slides-grab image)2
slides-grab-planStage 1 outline planningStage 1
slides-grab-designStage 2 slide design/review (shared design rules + gate)Stage 2
slides-grab-exportStage 3 conversion (PDF + experimental / unstable PPTX/Figma)Stage 3

Dependencies

Node.js (package.json)

  • pptxgenjs ^3.12.0 — PowerPoint generation
  • playwright ^1.40.0 — Browser automation (Chromium)
  • sharp ^0.33.0 — Image processing

Python

  • markitdown — Markdown conversion
  • defusedxml — XML parsing
  • pillow — Image processing

System (optional)

  • LibreOffice (soffice) — PPTX thumbnail generation
  • Poppler (pdftoppm) — PDF to image conversion

Rules for Agents

  1. Do not modify SKILL.md philosophy sections — design principles, rules, and constraints must be preserved when editing SKILL.md files.
  2. All new scripts go in scripts/ unless they are skill-specific (then skills/<name>/scripts/).
  3. Use ES modules — import/export syntax, not require(). Exception: .cjs files for CommonJS compat.
  4. JavaScript, not TypeScript — Use JSDoc for type hints if needed.
  5. Test scripts by running them — Use node scripts/<name>.js to verify they work.
  6. Playwright browser reuse — When processing multiple slides, keep the browser instance open and reuse it across slides for performance.
  7. Environment variables for API keys — GEMINI_API_KEY, ANTHROPIC_API_KEY, OPENAI_API_KEY. Never hardcode keys.
  8. CSS-safe HTML — All text in semantic tags (<p>, <h1>-<h6>, <ul>, <ol>), backgrounds only on <div> elements.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.