agentleFS
NomaDamasNomaDamas/slides-grab/skills/slides-grab-export/SKILL.md

slides-grab-export

Skill1.2k starsChanged 3 months agoMITView on GitHub

Stage 3 conversion skill usable in Codex and Claude Code. Convert approved HTML slides to PDF or per-slide PNG reliably, and to experimental / unstable PPTX/Figma outputs on a best-effort basis.

Trending

Quiet since September.thin dataabout the whole repository

Jan 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 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 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.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 8 are distinctive, and 5 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.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this only after the user approves design output and the Stage 2 design gate verdict is Proceed (zero unresolved Critical findings — see …

    line 10
  2. Distinctive:

    When per-slide raster output is needed (card news, social posts, thumbnails):

    line 27
  3. Very specific:

    Add --slide-mode card-news for 1:1 cards.

    line 29
  4. Distinctive:

    If the user also wants a PDF deck:

    line 30
  5. Very specific:

    Add --slide-mode card-news when the deck is square.

    line 32
  6. Distinctive:

    If the user wants PPTX (experimental / unstable):

    line 34
  7. Very specific:

    Default visual-fidelity export: slides-grab convert --slides-dir <path> --output <name>.pptx --engine raster

    line 35
  8. Distinctive:

    If the user wants Figma-importable PPTX (experimental / unstable):

    line 38
  9. Very specific:

    Do not export while any Critical design-gate finding is unresolved (../slides-grab-design/references/design-gate.md).

    line 43
  10. Distinctive:

    Do not modify slide content during conversion stage unless explicitly requested.

    line 44
  11. Distinctive:

    If conversion fails, diagnose and fix root causes in source HTML/CSS.

    line 45
  12. Distinctive:

    Always tell the user that PPTX and Figma export are experimental / unstable and may require manual cleanup.

    line 47
  13. Distinctive:

    Use the packaged CLI and bundled references only.

    line 48

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

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

slides-grab Export Skill

Use this only after the user approves design output and the Stage 2 design gate verdict is Proceed (zero unresolved Critical findings — see ../slides-grab-design/references/design-gate.md). PDF, PPTX, and Figma exports require a fresh slides-grab design-gate Proceed receipt for the current slide files.

Goal

Convert reviewed slide HTML into PDF or per-slide PNG reliably, and into experimental / unstable PPTX/Figma outputs on a best-effort basis.

Inputs

  • Approved <slides-dir>/slide-*.html
  • Optional output path settings

Outputs

  • Presentation artifact (.pdf, .png per slide, or .pptx)

Workflow

  1. Confirm user approval for conversion and that the Stage 2 design gate passed with verdict Proceed. If any Critical design-gate finding is still unresolved, refuse to export — return to Stage 2, fix the Critical issue, re-run the gate, record Proceed with slides-grab design-gate, and only then convert.
  2. Pick the right primary target:
    • Card-news / Instagram-style decks → slides-grab png --slides-dir <path> --slide-mode card-news --resolution 2160p (see slides-grab-card-news).
    • Widescreen slide decks → slides-grab pdf --slides-dir <path> --output <name>.pdf.
  3. When per-slide raster output is needed (card news, social posts, thumbnails):
    • slides-grab png --slides-dir <path> --output-dir <path>/out-png --resolution 2160p
    • Add --slide-mode card-news for 1:1 cards.
  4. If the user also wants a PDF deck:
    • slides-grab pdf --slides-dir <path> --output <name>.pdf
    • Add --slide-mode card-news when the deck is square.
  5. For decks with Chart.js or other <canvas> charts, confirm slides-grab validate --slides-dir <path> passes without empty-canvas, then build/open viewer.html once before export. Chart.js charts should use disabled animation so PDF/PNG capture sees the final painted state.
  6. If the user wants PPTX (experimental / unstable):
    • Default visual-fidelity export: slides-grab convert --slides-dir <path> --output <name>.pptx --engine raster
    • Editable-text export: slides-grab convert --slides-dir <path> --output <name>-editable.pptx --engine text
    • --resolution can only be used with the raster engine. The text engine requires semantic text tags, rasterizes canvas/SVG visuals, and may reject unsupported HTML/CSS.
  7. If the user wants Figma-importable PPTX (experimental / unstable):
    • slides-grab figma --slides-dir <path> --output <name>-figma.pptx
  8. Report success/failure with actionable errors.

Rules

  • Do not export while any Critical design-gate finding is unresolved (../slides-grab-design/references/design-gate.md). The design gate is a hard precondition for this stage, and slides-grab pdf, slides-grab convert, and slides-grab figma block if the latest receipt is missing or stale.
  • Do not modify slide content during conversion stage unless explicitly requested.
  • If conversion fails, diagnose and fix root causes in source HTML/CSS.
  • For chart-heavy decks, treat a blank exported chart as a source rendering bug first: re-run validation, inspect empty-canvas, and verify the same slide in viewer.html before retrying PDF/PNG/PPTX export.
  • Always tell the user that PPTX and Figma export are experimental / unstable and may require manual cleanup.
  • Use the packaged CLI and bundled references only; do not depend on unpublished agent-specific files.

Reference

For detailed conversion behavior and tools, use:

  • references/export-rules.md
  • references/pptx-skill-reference.md — archived full PPTX workflow guidance
  • references/html2pptx.md — archived converter usage guide
  • references/ooxml.md — archived OOXML reference

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.