Skip to content
SkillMixed1,009 tokens in use

Deck Generator

Generate a full presentation where every slide is an AI-generated image in one consistent visual style, with six presets and an optional Google Slides build.

3,862 stars on the repository MIT Licenseericosiu/ai-marketing-skills · deck-generator
npx skills add ericosiu/ai-marketing-skills -s deck-generator
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing Deck Generator costs

23tokens idle
1,009tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Mixed

Script-ledMixedModel-led

Scripts do part of the work and the model's judgement does the rest.

This describes the skill's structure, how much of it is scripts. It does not say how well it works. Scripts: scripts/generate-deck.py.

Touches

shelldetectednetworkdetectedwrites filesdetectedcredentialsdetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Good
  • Frontmatter8/15
  • Structure22/25
  • Examples15/15
  • Output10/15
  • Size13/15
  • Resources5/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Good
  • Runs shell commands−5

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 47
  • Reaches the network−10

    does this on the machine, and the frontmatter does not say so

    scripts/generate-deck.py, line 22
  • Reads credentials−15

    does this on the machine, and the frontmatter does not say so

    scripts/generate-deck.py, line 37
  • Writes files−8

    does this on the machine, and the frontmatter does not say so

    scripts/generate-deck.py, line 67

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity88
  • Maintenance44
  • Community56
  • Maturity28
  • Momentum40

Deck Generator takes slide content, from your own markdown or JSON or from a topic alone, and produces a deck of images generated with Google’s Imagen 4. You choose one of six style presets (whiteboard, corporate, minimalist, dark-tech, playful or editorial) or describe your own, and the same style prefix is applied to every slide so the deck looks consistent.

A topic-only request is expanded into 10 to 14 slides following standard deck structures. The script saves each slide as a PNG, writes a summary JSON with an estimated cost, and can regenerate chosen slides by number. The skill states a cost of about 4 cents per image and roughly two minutes for 14 slides.

What You Get

  • One PNG per slide in your output folder
  • A summary JSON with slide counts, style, image paths and a cost estimate
  • Six ready style presets and support for a custom style prompt
  • Single-slide regeneration by slide number
  • An optional Google Slides presentation built from the images

Common Use Cases

  • Draft a 14-slide pitch or training deck from an outline in minutes
  • Produce a whiteboard-style explainer deck for a webinar
  • Redo only slides three and seven after a review
  • Create vertical 9:16 slide images for social posts

What Makes It Unique

Every slide is a generated image, and one style prefix is prepended to each slide prompt so a whole deck shares a look. The script is small and transparent, shows its cost estimate, and lets you re-roll single slides without rebuilding the deck.

Under The Hood

It runs one Python script that sends each slide prompt to Google’s Generative Language API with your Gemini API key from the environment, decodes the returned image and writes PNG files plus a summary JSON into an output folder. It waits a second between slides. The optional Google Slides step needs Google credentials from a service account file, and the slide images and prompts leave your machine for those services.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers